Ofcas.Lk.Api.Client - Version 3.0  3.0.0.101
Ofcas.Lk.Api.Client.Core.Project Class Reference

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...

Inheritance diagram for Ofcas.Lk.Api.Client.Core.Project:
Ofcas.Lk.Api.Client.Core.CoreObjectFullyQualified< ProjectCenter, ProjectInfo, Phase, PhaseInfo > Ofcas.Lk.Api.Client.Ui.ProjectUi

Public Member Functions

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< ReportCategoryGetAvailableUserReports ()
 Return all available reports. More...
 
override Phase GetChild (PhaseInfo childInfo)
 
ProjectInfo SetParameter (string key, object value)
 Takes the parameter to update the project. More...
 
- Public Member Functions inherited from Ofcas.Lk.Api.Client.Core.CoreObjectFullyQualified< ProjectCenter, ProjectInfo, Phase, PhaseInfo >
virtual OperationInfo CanEdit (string key, object value)
 
virtual TOwnInfo Edit (string key, object value)
 

Protected Member Functions

PhaseInfo GetPhaseInfoFromGuid (Guid phaseGuid)
 
override CoreInfoResponse GetInfoResponse ()
 
virtual Phase CreateNewInstance (Guid coreObjectId, PhaseInfo phaseInfo)
 
- 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...
 

Additional Inherited Members

- Properties inherited from Ofcas.Lk.Api.Client.Core.CoreObjectFullyQualified< ProjectCenter, ProjectInfo, Phase, PhaseInfo >
TParent Parent [get]
 
TOwnInfo CoreInfo [get, protected set]
 

Detailed Description

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).

Member Function Documentation

◆ CreatePhase()

PhaseInfo Ofcas.Lk.Api.Client.Core.Project.CreatePhase ( string  name,
string  description 
)

Creates a new Phase to the LogiKal projectvia user interface.

Parameters
nameThe name of the new elevation
descriptionThe description of the new phase
Returns
The PhaseInfo to the created elevation or NULL if the user rejected the dialog.
Exceptions
ApiExceptioncontains api error message

◆ DeletePhase()

void Ofcas.Lk.Api.Client.Core.Project.DeletePhase ( PhaseInfo  phaseInfo)

Deletes a phase from this project.

Parameters
phaseInfoThe info of phase to be deleted.

◆ GetAvailableUserReports()

IList<ReportCategory> Ofcas.Lk.Api.Client.Core.Project.GetAvailableUserReports ( )

Return all available reports.

Returns
Reports sorted by category (ReportCategory)

◆ GetPhase()

Phase Ofcas.Lk.Api.Client.Core.Project.GetPhase ( PhaseInfo  phaseInfo)

Returns the corresponding phase based on the given information data.

Parameters
infoThe phase information obtained through the CoreObject<T>.Infos function.
Returns
the Elevation
Exceptions
ApiExceptionIf getting phase failed.

◆ SetParameter()

ProjectInfo Ofcas.Lk.Api.Client.Core.Project.SetParameter ( string  key,
object  value 
)

Takes the parameter to update the project.

Parameters
keyThe parameter key. Available keys are:

PROJECT_NAME: sets a new project name, value-type: string

Parameters
valueThe parameter value.
Returns
the updated ProjectInfo
Exceptions
ApiExceptioncontains api error message

The documentation for this class was generated from the following file: