Example #1
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 #2
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="ifc">Session interface object</param>
        /// <param name="userId">Read options for this user ID, should be empty (current user) or UserProfileC.USERID_ALL</param>
        /// <remarks>Initializes the ApplicationKey property with
        /// the client application name given in the constructor
        /// of the connection factory.</remarks>
        public FWUserProfile(FWSessionInterface ifc, String userId)
            : base(ifc)
        {
            String appName = ifc.Conn.internalConnection.SessionOptions[SessionOptionsC.CLIENT_APP_NAME];

            this.applicationKeyValue = appName + ".";

            this.userId = userId;
            if (this.userId == null || this.userId.Length == 0)
            {
                this.userId = Convert.ToString(ifc.Conn.internalConnection.UserId);
            }
        }
Example #3
0
 /// <summary>
 /// Constructor
 /// </summary>
 public FWSessionClassFactory(FWSessionInterface ifc)
 {
     this.ifc = ifc;
 }
Example #4
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="ifc">Session nterface object</param>
 public FWEncrPasswords(FWSessionInterface ifc)
     : base(ifc)
 {
 }
Example #5
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="ifc">Session nterface object</param>
 public FWSessionOptions(FWSessionInterface ifc) : base(ifc)
 {
 }