コード例 #1
0
        private string CreateDocumentSet(DocumentSetBEO documentSet)
        {
            string imagesetid;

            try
            {
                documentSet.DocumentSetTypeId = Constants.ImageType;
                documentSet.ParentId          = ProfileBEO.DatasetDetails.CollectionId;
                imagesetid = DataSetBO.CreateDocumentSet(documentSet);
            }
            catch (Exception ex)
            {
                Tracer.Error("DcbSlicer: Failed to create image set. {0}", ex);
                imagesetid = String.Empty;
            }
            return(imagesetid);
        }
コード例 #2
0
        private string CreateImageSet()
        {
            var documentSetBEO = new DocumentSetBEO();

            documentSetBEO.DocumentSetId          = Guid.NewGuid().ToString();
            documentSetBEO.DocumentSetDescription = DcbOpticonJobBEO.DcbSourcePath;
            documentSetBEO.DatasetId         = DcbOpticonJobBEO.DatasetFolderId;
            documentSetBEO.DocumentSetName   = DcbOpticonJobBEO.ImageSetName;
            documentSetBEO.DocumentSetTypeId = ImageType;

            var createdByGuid = String.Empty;

            if (null != ProfileBEO && null != ProfileBEO.CreatedBy)
            {
                createdByGuid = ProfileBEO.CreatedBy;
            }

            documentSetBEO.CreatedBy = createdByGuid;
            return(CreateDocumentSet(documentSetBEO));
        }
コード例 #3
0
 private string CreateDocumentSet(DocumentSetBEO documentSet)
 {
     string imagesetid;
     try
     {
         documentSet.DocumentSetTypeId = Constants.ImageType;
         documentSet.ParentId = ProfileBEO.DatasetDetails.CollectionId;
         imagesetid = DataSetBO.CreateDocumentSet(documentSet);
     }
     catch (Exception ex)
     {
         Tracer.Error("DcbSlicer: Failed to create image set. {0}", ex);
         imagesetid = String.Empty;
     }
     return imagesetid;
 }
コード例 #4
0
        private string CreateImageSet()
        {
            var documentSetBEO = new DocumentSetBEO();
            documentSetBEO.DocumentSetId = Guid.NewGuid().ToString();
            documentSetBEO.DocumentSetDescription = DcbOpticonJobBEO.DcbSourcePath;
            documentSetBEO.DatasetId = DcbOpticonJobBEO.DatasetFolderId;
            documentSetBEO.DocumentSetName = DcbOpticonJobBEO.ImageSetName;
            documentSetBEO.DocumentSetTypeId = ImageType;

            var createdByGuid = String.Empty;
            if (null != ProfileBEO && null != ProfileBEO.CreatedBy)
            {
                createdByGuid = ProfileBEO.CreatedBy;
            }

            documentSetBEO.CreatedBy = createdByGuid;
            return CreateDocumentSet(documentSetBEO);
        }