public override SbnObject Clone(string sNodeName) { WFRole retObject = new WFRole(this); retObject.Title = this._Title; if (!object.ReferenceEquals(this.Restrictions, null)) { retObject.Restrictions = (WFRoleRestrictions)this.Restrictions.Clone(sNodeName); } if (!object.ReferenceEquals(this.Accessrights, null)) { retObject.Accessrights = (WFRoleAccessrights)this.Accessrights.Clone(sNodeName); } if (!object.ReferenceEquals(this.CoWorkflow, null)) { retObject.CoWorkflow = (Workflow)this.CoWorkflow.Clone(sNodeName); } if (!object.ReferenceEquals(this.CoWorkers, null)) { retObject.CoWorkers = (Workers)this.CoWorkers.Clone(sNodeName); } if (!object.ReferenceEquals(this.CoPlaces, null)) { retObject.CoPlaces = (WFPlaces)this.CoPlaces.Clone(sNodeName); } return(retObject); }
public override void Initialize() { base.Initialize(); this._CoRole = new WFRole(); this._CoAccessright = new Accessright(); this._CoWC = new WorkContext(); this._CoUI = new UserInterface(); this._CoFolder = new Folder(); }
public override void Initialize() { base.Initialize(); this._AssignedValue = ""; this._PrintAcc = SbnBoolean.OutOfValue; this._ViewAcc = SbnBoolean.OutOfValue; this._RemoveAcc = SbnBoolean.OutOfValue; this._UpdateAcc = SbnBoolean.OutOfValue; this._RegisterAcc = SbnBoolean.OutOfValue; this._CoDocumentType = new DocumentType(); this._CoRole = new WFRole(); this._CoProperty = new DocumentProperty(); }