コード例 #1
0
 public static Dynamic.OrganizationalItem BuildOrganizationalItem(TCM.Folder tcmFolder)
 {
     Dynamic.OrganizationalItem oi = new Dynamic.OrganizationalItem();
     oi.Title         = tcmFolder.Title;
     oi.Id            = tcmFolder.Id.ToString();
     oi.PublicationId = tcmFolder.ContextRepository.Id.ToString();
     return(oi);
 }
コード例 #2
0
 public static Dynamic.OrganizationalItem BuildOrganizationalItem(TCM.Folder tcmFolder)
 {
     Dynamic.OrganizationalItem oi = new Dynamic.OrganizationalItem();
     oi.Title = tcmFolder.Title;
     oi.Id = tcmFolder.Id.ToString();
     oi.PublicationId = tcmFolder.ContextRepository.Id.ToString();
     return oi;
 }
コード例 #3
0
 public static Dynamic.OrganizationalItem BuildOrganizationalItem(TComm.StructureGroup tcmStructureGroup)
 {
     Dynamic.OrganizationalItem oi = new Dynamic.OrganizationalItem();
     oi.Title         = tcmStructureGroup.Title;
     oi.Id            = tcmStructureGroup.Id.ToString();
     oi.PublicationId = tcmStructureGroup.ContextRepository.Id.ToString();
     return(oi);
 }
コード例 #4
0
 public static Dynamic.OrganizationalItem BuildOrganizationalItem(TComm.StructureGroup tcmStructureGroup)
 {
     Dynamic.OrganizationalItem oi = new Dynamic.OrganizationalItem();
     oi.Title = tcmStructureGroup.Title;
     oi.Id = tcmStructureGroup.Id.ToString();
     oi.PublicationId = tcmStructureGroup.ContextRepository.Id.ToString();
     return oi;
 }
		public static Dynamic.OrganizationalItem BuildOrganizationalItem(TComm.StructureGroup tcmStructureGroup) {
         GeneralUtils.TimedLog("start BuildOrganizationalItem");
         Dynamic.OrganizationalItem oi = new Dynamic.OrganizationalItem();
			oi.Title = tcmStructureGroup.Title;
         oi.Id = tcmStructureGroup.Id.ToString();
         oi.PublicationId = tcmStructureGroup.ContextRepository.Id.ToString();
         GeneralUtils.TimedLog("finished BuildOrganizationalItem");
         return oi;
		}
コード例 #6
0
 public static Dynamic.OrganizationalItem BuildOrganizationalItem(TComm.StructureGroup tcmStructureGroup)
 {
     GeneralUtils.TimedLog("start BuildOrganizationalItem");
     Dynamic.OrganizationalItem oi = new Dynamic.OrganizationalItem();
     oi.Title         = tcmStructureGroup.Title;
     oi.Id            = tcmStructureGroup.Id.ToString();
     oi.PublicationId = tcmStructureGroup.ContextRepository.Id.ToString();
     GeneralUtils.TimedLog("finished BuildOrganizationalItem");
     return(oi);
 }
コード例 #7
0
 public static Dynamic.OrganizationalItem BuildOrganizationalItem(TCM.Folder tcmFolder)
 {
     GeneralUtils.TimedLog("start BuildOrganizationalItem");
     Dynamic.OrganizationalItem oi = new Dynamic.OrganizationalItem();
     oi.Title         = tcmFolder.Title;
     oi.Id            = tcmFolder.Id.ToString();
     oi.PublicationId = tcmFolder.ContextRepository.Id.ToString();
     GeneralUtils.TimedLog("finished BuildOrganizationalItem");
     return(oi);
 }
 public static Dynamic.OrganizationalItem BuildOrganizationalItem(TCM.Folder tcmFolder)
 {
    GeneralUtils.TimedLog("start BuildOrganizationalItem");
    Dynamic.OrganizationalItem oi = new Dynamic.OrganizationalItem();
    oi.Title = tcmFolder.Title;
    oi.Id = tcmFolder.Id.ToString();
    oi.PublicationId = tcmFolder.ContextRepository.Id.ToString();
    GeneralUtils.TimedLog("finished BuildOrganizationalItem");
    return oi;
 }