/// <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); }
/// <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); } }
/// <summary> /// Constructor /// </summary> public FWSessionClassFactory(FWSessionInterface ifc) { this.ifc = ifc; }
/// <summary> /// Constructor /// </summary> /// <param name="ifc">Session nterface object</param> public FWEncrPasswords(FWSessionInterface ifc) : base(ifc) { }
/// <summary> /// Constructor /// </summary> /// <param name="ifc">Session nterface object</param> public FWSessionOptions(FWSessionInterface ifc) : base(ifc) { }