Пример #1
0
 public override void Initialize()
 {
     base.Initialize();
     this._Roles     = new WFRoles();
     this._Processes = new WFProcesses();
     this._CoOrgan   = new OrgUnit();
 }
Пример #2
0
 public override void Initialize()
 {
     base.Initialize();
     this._CoUI           = new UserInterface();
     this._CoDocumentType = new DocumentType();
     this._CoOrgan        = new OrgUnit();
     this._Picture        = new Icon();
 }
Пример #3
0
 public override void Initialize()
 {
     base.Initialize();
     this._DefinitionDate = "";
     this._ExpireDate     = "";
     this._CoOrgUnit      = new OrgUnit();
     this._Workers        = new Workers();
     this._IsExpired      = SbnBoolean.OutOfValue;
 }
Пример #4
0
 public override void Initialize()
 {
     base.Initialize();
     this._OuterOrganTaskID = 0;
     this._CoWorkflow       = new Workflow();
     this._IsWFMandatory    = SbnBoolean.OutOfValue;
     this._OuterSenderOrgan = new OrgUnit();
     this._Activities       = new Activities();
 }
Пример #5
0
 public override void Initialize()
 {
     base.Initialize();
     this._StartAccountDate = "";
     this._EndAccountDate   = "";
     this._CoWorker         = new Worker();
     this._CoDocument       = new Document();
     this._CoOrgUnit        = new OrgUnit();
     this._CoDocumentType   = new DocumentType();
 }
Пример #6
0
 public override void Initialize()
 {
     base.Initialize();
     this._BusinessDocumentCode = 0;
     this._AttributeValues      = new DocumentPropValues();
     this._DocumentType         = new DocumentType();
     this._Activities           = new Activities();
     this._OwnerOrgan           = new OrgUnit();
     this._CreatorPerson        = new WFPerson();
 }
Пример #7
0
 public override void Initialize()
 {
     base.Initialize();
     this._DomainType     = SbnOwnershipDomain.OutOfValue;
     this._RegisterAcc    = SbnBoolean.OutOfValue;
     this._UpdateAcc      = SbnBoolean.OutOfValue;
     this._RemoveAcc      = SbnBoolean.OutOfValue;
     this._ViewAcc        = SbnBoolean.OutOfValue;
     this._CoDocumentType = new DocumentType();
     this._CoWorker       = new Worker();
     this._CoOrgUnit      = new OrgUnit();
 }
Пример #8
0
        public override void Initialize()
        {
            base.Initialize();
            this._UnitPath         = "";
            this._ExpireDate       = "";
            this._BuildingLocation = new OrgUnitBuildingLocation();
            this._ChildUnits       = new OrgUnits();
            this._ParentUnit       = new OrgUnit();
            this._Positions        = new OrgPositions();
            this._IsExpire         = SbnBoolean.OutOfValue;
            this._IsInternal       = SbnBoolean.OutOfValue;
            this._IsDargah         = SbnBoolean.OutOfValue;

            this._MergedUnit = new OrgUnit();
        }
Пример #9
0
        public override SbnObject Clone(string sNodeName)
        {
            OrgUnit retObject = new OrgUnit();

            retObject.ID       = this.ID;
            retObject.UnitPath = this._UnitPath;
            if (this._ExpireDate != null)
            {
                retObject.ExpireDate = (string)this._ExpireDate.Clone();
            }
            if (!object.ReferenceEquals(this.BuildingLocation, null))
            {
                retObject.BuildingLocation = (OrgUnitBuildingLocation)this.BuildingLocation.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.ChildUnits, null))
            {
                retObject.ChildUnits = (OrgUnits)this.ChildUnits.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.ParentUnit, null))
            {
                retObject.ParentUnit = (OrgUnit)this.ParentUnit.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.Positions, null))
            {
                retObject.Positions = (OrgPositions)this.Positions.Clone(sNodeName);
            }
            retObject.IsExpire   = this.IsExpire;
            retObject.IsInternal = this.IsInternal;
            retObject.IsDargah   = this.IsDargah;

            if (!object.ReferenceEquals(this.MergedUnit, null))
            {
                retObject.MergedUnit = (OrgUnit)this.MergedUnit.Clone(sNodeName);
            }
            return(retObject);
        }