Example #1
0
 public FWKeyword(FWMasterDataInterface ifc, Keyword kw, FWKeyword kwParent)
     : base(ifc)
 {
     this.parentValue     = kwParent;
     this.keywordValue    = kw;
     this.keywordZValue   = KeywordC.mbEdit;
     this.readAllChildren = false;
 }
Example #2
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="ifc">Content interface object, not used yet - just for the sake of symmetry</param>
        /// <param name="colorData">ColorData object from IndexServer API. Used for the calculation of the Color value.</param>
        public FWColor(FWMasterDataInterface ifc, ColorData colorData)
            : base(ifc)
        {
            this.coreVal = colorData;
            int col = colorData.RGB;

            this.colorVal = Color.FromArgb(((col & 0xff) << 16) | (col & 0xff00) | ((col >> 16) & 0xff));
        }
Example #3
0
        /// <summary>
        /// Construcor
        /// </summary>
        /// <param name="ifc">Master data interface object</param>
        /// <param name="subList">List of either only users or groups.</param>
        protected FWUserNamesCache(FWMasterDataInterface ifc, FWResultCacheList <UserName> subList)
            : base(ifc)
        {
            this.ifc         = ifc;
            this.resultCache = subList;

            // never update this cache
            this.lifetimeSeconds = int.MaxValue;
            this.bestBefore      = long.MaxValue;
        }
Example #4
0
        /// <summary>
        /// Constructor. Normally, the constructor is called from FWConnFactory.
        /// </summary>
        /// <param name="innerConn">Inner connection</param>
        public FWConnection(IXConnection innerConn)
        {
            internalConnection     = innerConn;
            contentInterfaceVal    = new Content.FWContentInterface();
            sessionInterfaceVal    = new Session.FWSessionInterface(this, internalConnection.ConnProperties);
            workflowInterfaceVal   = new Workflow.FWWorkflowInterface(this, internalConnection.ConnProperties);
            masterDataInterfaceVal = new MasterData.FWMasterDataInterface(this, internalConnection.ConnProperties);

            arcSord = internalConnection.Ix.checkoutSord("1", EditInfoC.mbSordLean, LockC.NO).sord;
            contentInterfaceVal.Init(this, arcSord.name, internalConnection.ConnProperties);
        }
Example #5
0
 public FWCounter(FWMasterDataInterface ifc, CounterInfo coreVal)
     : base(ifc)
 {
     this.coreVal = coreVal;
 }
Example #6
0
 /// <summary>
 /// Construcor
 /// </summary>
 /// <param name="ifc">Master data interface object</param>
 /// <param name="lifetimeSeconds">Object lifetime in seconds</param>
 public FWUserNamesCache(FWMasterDataInterface ifc, int lifetimeSeconds)
     : base(ifc)
 {
     this.ifc             = ifc;
     this.lifetimeSeconds = lifetimeSeconds;
 }
Example #7
0
 public FWColors(FWMasterDataInterface ifc)
     : base(ifc)
 {
 }
Example #8
0
 internal FWMasterDataMap(FWMasterDataInterface ifc)
     : base(ifc)
 {
 }
Example #9
0
 /// <summary>
 /// Construcor
 /// </summary>
 /// <param name="ifc">Master data interface object</param>
 /// <param name="subList">List of either only users or groups.</param>
 protected FWDocMasks(FWMasterDataInterface ifc, FWResultCacheList <FWDocMask> subList)
     : base(ifc)
 {
     this.resultCache = subList;
 }
Example #10
0
 /// <summary>
 /// Construcor
 /// </summary>
 /// <param name="ifc">Master data interface object</param>
 public FWDocMasks(FWMasterDataInterface ifc)
     : base(ifc)
 {
 }
Example #11
0
 public FWKeywords(FWMasterDataInterface ifc)
     : base(ifc)
 {
 }
Example #12
0
 /// <summary>
 /// Constructor
 /// </summary>
 public FWMasterDataClassFactory(FWMasterDataInterface ifc)
 {
     this.ifc = ifc;
 }