|
Ofcas.Lk.Api.Client - Version 3.0
3.0.0.106
|
Project is the representation of a LogiKal project. The children are of type Phase. The children can be received from the InfoList (CoreObject<T>.Infos). More...
Public Member Functions | |
| 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... | |
| Phase | GetPhase (PhaseInfo phaseInfo) |
| Returns the corresponding phase based on the given information data. More... | |
| PhaseInfo | CreatePhase (string name, string description) |
| Creates a new Phase to the LogiKal projectvia user interface. More... | |
| void | DeletePhase (PhaseInfo phaseInfo) |
| Deletes a phase from this project. More... | |
| IList< ReportCategory > | GetAvailableUserReports () |
| Return all available reports. More... | |
| override PhaseInfo | RefreshChild (PhaseInfo childInfo) |
| override Phase | GetChild (PhaseInfo childInfo) |
| ProjectInfo | SetParameter (string key, object value) |
| Takes the parameter to update the project. More... | |
| 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... | |
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 => _documentContainerManager.GetDocumentContainer() |
Protected Member Functions | |
| override CoreInfoResponse | GetInfoResponse () |
| virtual Phase | CreateNewInstance (Guid coreObjectId, PhaseInfo phaseInfo) |
| override void | Dispose (bool disposing) |
Protected Member Functions inherited from Ofcas.Lk.Api.Client.Core.CoreObjectFullyQualified< ProjectCenter, ProjectInfo, Phase, PhaseInfo > | |
| 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< ProjectCenter, ProjectInfo, Phase, PhaseInfo > | |
| TParent | Parent [get] |
| TOwnInfo | CoreInfo [get, protected set] |
| TOwnInfo | Info [get, protected set] |
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] |
| 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 (CoreObject<T>.Infos).
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. |
|
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 >.
| PhaseInfo Ofcas.Lk.Api.Client.Core.Project.CreatePhase | ( | string | name, |
| string | description | ||
| ) |
| void Ofcas.Lk.Api.Client.Core.Project.DeletePhase | ( | PhaseInfo | phaseInfo | ) |
Deletes a phase from this project.
| phaseInfo | The info of phase to be deleted. |
|
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 | ( | ) |
Return all available reports.
Returns the corresponding phase based on the given information data.
| info | The phase information obtained through the CoreObject<T>.Infos function. |
| ApiException | If getting phase failed. |
| ProjectInfo Ofcas.Lk.Api.Client.Core.Project.SetParameter | ( | string | key, |
| object | value | ||
| ) |
Takes the parameter to update the project.
| key | The parameter key. Available keys are: |
PROJECT_NAME: sets a new project name, value-type: string
| value | The parameter value. |
| ApiException | contains api error message |