|
Ofcas.Lk.Api.Client - Version 3.0
3.0.0.113
|
Project is the representation of a LogiKal project. The children are of type Phase. The children can be received from the InfoList (CoreObjectWithChildren<Phase, PhaseInfo>.ChildrenInfos). More...
Public Member Functions | |
| IList< IProjectInformationType > | GetProjectInformations () |
| Returns all available project informations for the current Project. More... | |
| ProjectInformationContainer | GetProjectInformationContainer (IProjectInformationType projectInformationType) |
| Returns the project information container to the given project information type (IProjectInformationType). The ProjectInformationContainer allows access to the items of the corresponding project information. More... | |
| override Phase | GetChild (PhaseInfo phaseInfo) |
| Gets a Phase based on a PhaseInfo. More... | |
| override IList< Phase > | GetChildren (IEnumerable< PhaseInfo > childrenInfos=null) |
| Gets Phases based on the list of PhaseInfos. More... | |
| Phase | GetPhase (PhaseInfo phaseInfo) |
| This method is deprecated. Please use GetChild(PhaseInfo) instead. More... | |
| override OperationInfo | CanEdit (string key, object value) |
| Checks whether a project can be edited or not. More... | |
| override ProjectInfo | Edit (string key, object value) |
| Edits a project based on a key and a value. More... | |
| PhaseInfo | CreatePhase (string name, string description) |
| This method is obsolete, please use CanCreateChild() and CreateChild() instead and change the name with Edit(). See WellKnownEditKeys.Phase. More... | |
| override OperationInfo | CanCreateChild () |
| Checks whether a phase can be created or not. More... | |
| override PhaseInfo | CreateChild () |
| Creates a new phase with a default name. Call Phase.Edit with WellKnownEditKeys.Phase to change values. More... | |
| IList< ReportCategory > | GetAvailableUserReports () |
| This method is deprecated. Please use GetReports instead. More... | |
| IList< ReportCategory > | GetReports () |
| Return all available reports. More... | |
| override PhaseInfo | RefreshChild (PhaseInfo childInfo) |
| OperationInfo | CanAdd (ICoreInfo coreInfo) |
| Used to check if an ElevationInfo can be added to a project of type ProjectType.FabricationLot. More... | |
| PhaseInfo | Add (ICoreInfo coreInfo) |
| Used to add an ElevationInfo to a project of type ProjectType.FabricationLot. More... | |
| override OperationInfo | CanDeleteChild (PhaseInfo childInfo) |
| override void | DeleteChild (PhaseInfo childInfo, bool forceDelete=false) |
| void | UpdatePartsLists (IEnumerable< ElevationInfo > items) |
| Update the parts list for all given elevations. If an empty list is passed, an update with all elevations of the project is automatically done. More... | |
Public Member Functions inherited from Ofcas.Lk.Api.Client.Core.CoreObjectFullyQualified< ProjectCenter, ProjectInfo, Phase, PhaseInfo > | |
| TOwnInfo | Refresh () |
Public Member Functions inherited from Ofcas.Lk.Api.Client.Core.Interfaces.ICoreObject | |
| bool | CanDispose () |
| Checks whether the ICoreInfo can be disposed. More... | |
Public Attributes | |
| DocumentContainer | Documents => _documentContainerLifetimeManager.GetCoreObject() |
Protected Member Functions | |
| override IEnumerable< PhaseInfo > | GetChildrenInfos () |
| virtual Phase | CreateNewInstance (Guid coreObjectId, PhaseInfo phaseInfo) |
| virtual ProjectInformationContainer | CreateNewInstance (Guid coreObjectId) |
| override void | Dispose (bool disposing) |
Protected Member Functions inherited from Ofcas.Lk.Api.Client.Core.CoreObjectFullyQualified< ProjectCenter, ProjectInfo, Phase, PhaseInfo > | |
| CoreObjectFullyQualified (IServiceFactory< IApiService > serviceFactory, 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< ProjectCenter, ProjectInfo, Phase, PhaseInfo > | |
| TParent | Parent [get] |
| TOwnInfo | Info [get] |
Properties inherited from Ofcas.Lk.Api.Client.Core.Interfaces.ICoreObjectWithDocuments | |
| DocumentContainer | Documents [get] |
| The DocumentContainer of the ICoreObject. More... | |
Properties inherited from Ofcas.Lk.Api.Client.Core.Interfaces.ICoreObjectWithSynchronizations | |
| ISynchronizationContainer | SynchronizationContainer [get] |
| The ISynchronizationContainer of this ICoreObject. More... | |
Properties inherited from Ofcas.Lk.Api.Client.Core.Interfaces.ICoreObject | |
| Guid | CoreObjectId [get] |
| This property is deprecated. Please use ICoreObject.Id instead. More... | |
| Guid | Id [get] |
| The unique identifier of this core object. More... | |
Project is the representation of a LogiKal project. The children are of type Phase. The children can be received from the InfoList (CoreObjectWithChildren<Phase, PhaseInfo>.ChildrenInfos).
Used to add an ElevationInfo to a project of type ProjectType.FabricationLot.
| coreInfo | The ElevationInfo to add. |
| OperationInfo Ofcas.Lk.Api.Client.Core.Project.CanAdd | ( | ICoreInfo | coreInfo | ) |
Used to check if an ElevationInfo can be added to a project of type ProjectType.FabricationLot.
| coreInfo | The ElevationInfo to add. |
| override OperationInfo Ofcas.Lk.Api.Client.Core.Project.CanCreateChild | ( | ) |
Checks whether a phase can be created or not.
|
virtual |
Checks whether a project can be edited or not.
| key | The key of the value to be edited. See WellKnownEditKeys.Project for all available edit keys. |
| value | The value to be set. |
Reimplemented from Ofcas.Lk.Api.Client.Core.CoreObjectFullyQualified< ProjectCenter, ProjectInfo, Phase, PhaseInfo >.
| override PhaseInfo Ofcas.Lk.Api.Client.Core.Project.CreateChild | ( | ) |
Creates a new phase with a default name. Call Phase.Edit with WellKnownEditKeys.Phase to change values.
| PhaseInfo Ofcas.Lk.Api.Client.Core.Project.CreatePhase | ( | string | name, |
| string | description | ||
| ) |
This method is obsolete, please use CanCreateChild() and CreateChild() instead and change the name with Edit(). See WellKnownEditKeys.Phase.
| name | The name of the new elevation |
| description | The description of the new phase |
| ApiException | contains api error message |
|
virtual |
Edits a project based on a key and a value.
| key | The key of the value to be edited. See WellKnownEditKeys.Project for all available edit keys. |
| value | The value to be set. |
Reimplemented from Ofcas.Lk.Api.Client.Core.CoreObjectFullyQualified< ProjectCenter, ProjectInfo, Phase, PhaseInfo >.
| IList<ReportCategory> Ofcas.Lk.Api.Client.Core.Project.GetAvailableUserReports | ( | ) |
This method is deprecated. Please use GetReports instead.
This method is deprecated. Please use GetChild(PhaseInfo) instead.
| ProjectInformationContainer Ofcas.Lk.Api.Client.Core.Project.GetProjectInformationContainer | ( | IProjectInformationType | projectInformationType | ) |
Returns the project information container to the given project information type (IProjectInformationType). The ProjectInformationContainer allows access to the items of the corresponding project information.
| projectInformationType | The type for the project information to get. |
| IList<IProjectInformationType> Ofcas.Lk.Api.Client.Core.Project.GetProjectInformations | ( | ) |
Returns all available project informations for the current Project.
| IList<ReportCategory> Ofcas.Lk.Api.Client.Core.Project.GetReports | ( | ) |
Return all available reports.
| void Ofcas.Lk.Api.Client.Core.Project.UpdatePartsLists | ( | IEnumerable< ElevationInfo > | items | ) |
Update the parts list for all given elevations. If an empty list is passed, an update with all elevations of the project is automatically done.
| items | List of elevations to be used to update |