Beispiel #1
0
        public WBSubjectTagRecordsRoutings(WBTaxonomy subjectTags, String values)
        {
            if (String.IsNullOrEmpty(values))
            {
                IsOK = false;
                WBLogging.Debug("WBSubjectTagRecordsRoutings being created with blank or null values string:" + values);
                return;
            }

            String[] valueArray = values.Split('|');
            if (valueArray.Length == 3)
            {
                SubjectTag               = new WBSubjectTag(subjectTags, WBUtils.PutBackDelimiterCharacters(valueArray[0]));
                PublicDocumentsLibrary   = WBUtils.PutBackDelimiterCharacters(valueArray[1]);
                ExtranetDocumentsLibrary = WBUtils.PutBackDelimiterCharacters(valueArray[2]);
            }
            else
            {
                IsOK = false;
                WBLogging.Debug("WBSubjectTagRecordsRoutings being created with values string with the wrong number of values: " + values);
                return;
            }
        }
Beispiel #2
0
 public WBSubjectTagRecordsRoutings(WBTaxonomy subjectTags, String subjectTagUIControlValue, String publicLibrary, String extranetLibrary)
 {
     SubjectTag               = new WBSubjectTag(subjectTags, subjectTagUIControlValue);
     PublicDocumentsLibrary   = publicLibrary;
     ExtranetDocumentsLibrary = extranetLibrary;
 }
 public TreeViewLocationCollection(WBRecordsManager manager, string mode, string minimumProtectiveZone, WBSubjectTag subjectTag)
     : base()
 {
     Add(new TreeViewLocation(null, manager, mode, minimumProtectiveZone, subjectTag));
 }