|
Ofcas.Lk.Api.Client - Version 3.0
3.0.0.111
|
Phase is the representation of a LogiKal phase. The children are of type Elevation. The children can be received from the InfoList (CoreObject<T>.Infos). More...
Public Member Functions | |
| Phase (IApiService apiService, Guid coreObjectId, Project parent, PhaseInfo coreInfo) | |
| Creates a new phase. More... | |
| override PhaseInfo | Refresh () |
| override Elevation | GetChild (ElevationInfo elevationInfo) |
| Gets a Elevation based on a ElevationInfo. More... | |
| override IEnumerable< Elevation > | GetChildren (IEnumerable< ElevationInfo > childrenInfos=null) |
| Gets Elevations based on an ElevationInfos. More... | |
| Elevation | GetElevation (ElevationInfo elevationInfo) |
| This method is deprecated. Please use GetChild(ElevationInfo) instead. More... | |
| override OperationInfo | CanEdit (string key, object value) |
| Checks whether an phase can be edited or not. More... | |
| override PhaseInfo | Edit (string key, object value) |
| Edits an phase based on a key and a value. More... | |
| override OperationInfo | CanCreateChild () |
| Checks whether an elevation can be created or not. More... | |
| override ElevationInfo | CreateChild () |
| Creates a new elevation with a default name. Call Elevation.Edit with WellKnownEditKeys.Elevation to change values. More... | |
| override OperationInfo | CanDeleteChild (ElevationInfo elevationInfo) |
| Checks whether an elevation can be deleted or not. More... | |
| override void | DeleteChild (ElevationInfo elevationInfo) |
| Deletes an elevation based on an info object. More... | |
| override OperationInfo | CanCopyFrom (ICoreInfo coreInfo, bool deepCheck=true) |
| override ElevationInfo | CopyFrom (ICoreInfo coreInfo) |
| Copies an object into this phase based on an info object. More... | |
| ElevationInfo | RestoreChild (ElevationInfo elevationInfo) |
| Restores an Elevation based on a ElevationInfo. More... | |
| string | GetNextPositionNumber () |
| Retrieves the next available position number of this phase. More... | |
| override ElevationInfo | RefreshChild (ElevationInfo childInfo) |
Protected Member Functions | |
| override void | RefreshChildren (bool clearEvents) |
| ElevationInfo | CopyFrom (ICoreInfo coreInfo, bool verbose) |
| Calls public methods. More... | |
| override IEnumerable< ElevationInfo > | GetChildrenInfos () |
| virtual Elevation | CreateNewInstance (Guid responseNewCoreObjectId, ElevationInfo elevationInfo) |
| bool | IsChild (ElevationInfo elevationInfo) |
| Determines if the provided info is the info a child of this object. More... | |
| bool | ObjectChanged (ISynchronizedEvent synchronizedEvent) |
| bool | ChildrenChanged (ISynchronizedEvent synchronizedEvent) |
Protected Member Functions inherited from Ofcas.Lk.Api.Client.Core.CoreObjectFullyQualified< Project, PhaseInfo, Elevation, ElevationInfo > | |
| CoreObjectFullyQualified (IApiService apiService, Guid coreObjectId, TParent parent, TOwnInfo ownInfo) | |
| Creates a new instance of CoreObjectFullyQualified<TParent,TOwnInfo,TChild,TChildInfo> with the given parameters. More... | |
Properties | |
| ISynchronizationContainer | SynchronizationContainer [get] |
Properties inherited from Ofcas.Lk.Api.Client.Core.CoreObjectFullyQualified< Project, PhaseInfo, Elevation, ElevationInfo > | |
| TParent | Parent [get] |
| TOwnInfo | Info [get] |
Phase is the representation of a LogiKal phase. The children are of type Elevation. The children can be received from the InfoList (CoreObject<T>.Infos).
| Ofcas.Lk.Api.Client.Core.Phase.Phase | ( | IApiService | apiService, |
| Guid | coreObjectId, | ||
| Project | parent, | ||
| PhaseInfo | coreInfo | ||
| ) |
Creates a new phase.
| apiService | The used IApiService. |
| coreObjectId | The core object id for this object. |
| parent | The parent of this object. |
| coreInfo | The info used to create this object. |
| override OperationInfo Ofcas.Lk.Api.Client.Core.Phase.CanCreateChild | ( | ) |
Checks whether an elevation can be created or not.
| override OperationInfo Ofcas.Lk.Api.Client.Core.Phase.CanDeleteChild | ( | ElevationInfo | elevationInfo | ) |
Checks whether an elevation can be deleted or not.
| elevationInfo | The info of the elevation to be deleted. |
|
virtual |
Checks whether an phase can be edited or not.
| key | The key of the value to be edited. See WellKnownEditKeys.Phase for possible edit keys. |
| value | The value to be set. |
Reimplemented from Ofcas.Lk.Api.Client.Core.CoreObjectFullyQualified< Project, PhaseInfo, Elevation, ElevationInfo >.
| override ElevationInfo Ofcas.Lk.Api.Client.Core.Phase.CopyFrom | ( | ICoreInfo | coreInfo | ) |
Copies an object into this phase based on an info object.
| coreInfo | The info of the object to be copied. |
|
protected |
Calls public methods.
| coreInfo | |
| verbose | The flag to show the copydialog. |
| override ElevationInfo Ofcas.Lk.Api.Client.Core.Phase.CreateChild | ( | ) |
Creates a new elevation with a default name. Call Elevation.Edit with WellKnownEditKeys.Elevation to change values.
| override void Ofcas.Lk.Api.Client.Core.Phase.DeleteChild | ( | ElevationInfo | elevationInfo | ) |
Deletes an elevation based on an info object.
| elevationInfo | The info of the elevation to be deleted. |
|
virtual |
Edits an phase based on a key and a value.
| key | The key of the value to be edited. See WellKnownEditKeys.Phase for possible edit keys. |
| value | The value to be set. |
Reimplemented from Ofcas.Lk.Api.Client.Core.CoreObjectFullyQualified< Project, PhaseInfo, Elevation, ElevationInfo >.
| override Elevation Ofcas.Lk.Api.Client.Core.Phase.GetChild | ( | ElevationInfo | elevationInfo | ) |
Gets a Elevation based on a ElevationInfo.
| elevationInfo | The ElevationInfo of the Elevation to be returned. |
| override IEnumerable<Elevation> Ofcas.Lk.Api.Client.Core.Phase.GetChildren | ( | IEnumerable< ElevationInfo > | childrenInfos = null | ) |
Gets Elevations based on an ElevationInfos.
| childrenInfos | The ElevationInfos of the Elevations to be returned. If an empty list is given all Elevations of this Phase will be returned. |
| Elevation Ofcas.Lk.Api.Client.Core.Phase.GetElevation | ( | ElevationInfo | elevationInfo | ) |
This method is deprecated. Please use GetChild(ElevationInfo) instead.
| string Ofcas.Lk.Api.Client.Core.Phase.GetNextPositionNumber | ( | ) |
Retrieves the next available position number of this phase.
|
protected |
Determines if the provided info is the info a child of this object.
| elevationInfo |
| ElevationInfo Ofcas.Lk.Api.Client.Core.Phase.RestoreChild | ( | ElevationInfo | elevationInfo | ) |
Restores an Elevation based on a ElevationInfo.
| elevationInfo | The ElevationInfo of the Elevation to be restored. |