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...
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).
◆ Add()
◆ CanAdd()
Used to check if an ElevationInfo can be added to a project of type ProjectType.FabricationLot.
- Parameters
-
- Returns
- Returns a OperationInfo.
◆ CanCreateChild()
| override OperationInfo Ofcas.Lk.Api.Client.Core.Project.CanCreateChild |
( |
| ) |
|
Checks whether a phase can be created or not.
- Returns
- An OperationInfo indicating if the operation can be called.
◆ CanEdit()
| override OperationInfo Ofcas.Lk.Api.Client.Core.Project.CanEdit |
( |
string |
key, |
|
|
object |
value |
|
) |
| |
|
virtual |
◆ CreateChild()
| 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.
- Returns
- Returns an info object of the created phase.
◆ CreatePhase()
| 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.
- Parameters
-
| name | The name of the new elevation |
| description | The description of the new phase |
- Returns
- The PhaseInfo to the created elevation or NULL if the user rejected the dialog.
- Exceptions
-
| ApiException | contains api error message |
◆ Edit()
| override ProjectInfo Ofcas.Lk.Api.Client.Core.Project.Edit |
( |
string |
key, |
|
|
object |
value |
|
) |
| |
|
virtual |
◆ GetAvailableUserReports()
| IList<ReportCategory> Ofcas.Lk.Api.Client.Core.Project.GetAvailableUserReports |
( |
| ) |
|
This method is deprecated. Please use GetReports instead.
◆ GetChild()
| override Phase Ofcas.Lk.Api.Client.Core.Project.GetChild |
( |
PhaseInfo |
phaseInfo | ) |
|
◆ GetChildren()
| override IEnumerable<Phase> Ofcas.Lk.Api.Client.Core.Project.GetChildren |
( |
IEnumerable< PhaseInfo > |
childrenInfos = null | ) |
|
◆ GetPhase()
| Phase Ofcas.Lk.Api.Client.Core.Project.GetPhase |
( |
PhaseInfo |
phaseInfo | ) |
|
◆ GetProjectInformationContainer()
| 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.
- Parameters
-
| projectInformationType | The type for the project information to get. |
- Returns
- The ProjectInformationContainer object. The lifetime of this object must be administrated outside and can only be used, if the Project instance exists.
◆ GetProjectInformations()
| IList<IProjectInformationType> Ofcas.Lk.Api.Client.Core.Project.GetProjectInformations |
( |
| ) |
|
Returns all available project informations for the current Project.
- Returns
- Available project informations. These items can be used to get access to the project informations over ProjectInformationContainer
◆ GetReports()
Return all available reports.
- Returns
- Reports sorted by category (ReportCategory)
◆ UpdatePartsLists()
| 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.
- Parameters
-
| items | List of elevations to be used to update |
The documentation for this class was generated from the following file: