|
Ofcas.Lk.Api.Client - Version 3.0
3.0.0.101
|
ProjectCenterUi is the representation of a LogiKal project-center. The ProjectCenterUi provides methods with user interactions. The children are of type Project. The children can be received from the InfoList (CoreObject<T>.Infos). Each ProjectCenter project center belongs to a fixed directory. To use another project directory, create a new project center using method ProjectCenter.GetProjectCenter. More...
Public Member Functions | |||
| new ProjectUi | GetProject (ProjectInfo projectInfo) | ||
| Returns the corresponding project based on the given information data. More... | |||
| ProjectInfo | CreateLkProject () | ||
| Creates a new project via User Interface (UI). More... | |||
| ProjectInfo | Import (ProjectCenterImportType importType, Stream content) | ||
| Import a Project via User Interface (UI). More... | |||
| ProjectInfo | SelectLkProject () | ||
| Select an existing project via User Interface (UI). More... | |||
Public Member Functions inherited from Ofcas.Lk.Api.Client.Core.ProjectCenter | |||
| Project | GetProject (ProjectInfo projectInfo) | ||
| Returns the corresponding project based on the given information data. More... | |||
| ProjectCenter | GetProjectCenter (ProjectDirectoryInfo projectDirectoryInfo) | ||
| Creates a new ProjectCenter for the given directory. Each ProjectCenter belongs to a fixed directory. More... | |||
| ProjectInfo | CreateLkProject (string projectName) | ||
| Creates a new Project in the LogiKal project structure. The project will be created in the current active directory. More... | |||
| void | DeleteLkProject (ProjectInfo projectInfo) | ||
| Deletes the corresponding logikal project based on the given information data. More... | |||
| ProjectInfo | MoveLkProjectFrom (ProjectInfo projectInfo, string newProjectName) | ||
| Moves a project to this project center based on the given project info and the new project name. More... | |||
| ProjectInfo | CopyProjectFrom (ProjectInfo projectInfo, string newProjectName) | ||
| Copies a project and its elevations. More... | |||
| Elevation | GetElevationFromLkId (Guid lkElevGuid) | ||
| |||
| ElevationInstance | GetElevationInstanceFromLkId (Guid lkElevInstanceGuid) | ||
| |||
| ProjectDirectoryInfo | CreateDirectory (string directoryName) | ||
| Creates a new directory in the current project center. More... | |||
| override Project | GetChild (ProjectInfo childInfo) | ||
Public Member Functions inherited from Ofcas.Lk.Api.Client.Core.CoreObjectFullyQualified< LoginScope, ProjectCenterInfo, Project, ProjectInfo > | |||
| virtual OperationInfo | CanEdit (string key, object value) | ||
| virtual TOwnInfo | Edit (string key, object value) | ||
Protected Member Functions | |
| override Project | CreateNewInstance (Guid coreObjectId, ProjectInfo childInfo) |
Protected Member Functions inherited from Ofcas.Lk.Api.Client.Core.ProjectCenter | |
| override CoreInfoResponse | GetInfoResponse () |
Protected Member Functions inherited from Ofcas.Lk.Api.Client.Core.CoreObjectFullyQualified< LoginScope, ProjectCenterInfo, Project, ProjectInfo > | |
| 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 | |
Public Attributes inherited from Ofcas.Lk.Api.Client.Core.ProjectCenter | |
| ProjectDirectoryInfo | OwnDirectoryInfo => _ownDirectoryInfo |
| Returns the directory info for the project-center More... | |
Properties inherited from Ofcas.Lk.Api.Client.Core.ProjectCenter | |
| IList< ProjectDirectoryInfo > | ProjectDirectoryInfos [get] |
Properties inherited from Ofcas.Lk.Api.Client.Core.CoreObjectFullyQualified< LoginScope, ProjectCenterInfo, Project, ProjectInfo > | |
| TParent | Parent [get] |
| TOwnInfo | CoreInfo [get, protected set] |
ProjectCenterUi is the representation of a LogiKal project-center. The ProjectCenterUi provides methods with user interactions. The children are of type Project. The children can be received from the InfoList (CoreObject<T>.Infos). Each ProjectCenter project center belongs to a fixed directory. To use another project directory, create a new project center using method ProjectCenter.GetProjectCenter.
| ProjectInfo Ofcas.Lk.Api.Client.Ui.ProjectCenterUi.CreateLkProject | ( | ) |
Creates a new project via User Interface (UI).
| Exception | Generating project failed or aborted. |
| new ProjectUi Ofcas.Lk.Api.Client.Ui.ProjectCenterUi.GetProject | ( | ProjectInfo | projectInfo | ) |
Returns the corresponding project based on the given information data.
| projectInfo | The project information obtained through the CoreObject<T>.Infos function. |
| Exception | If getting elevation failed. |
| ProjectInfo Ofcas.Lk.Api.Client.Ui.ProjectCenterUi.Import | ( | ProjectCenterImportType | importType, |
| Stream | content | ||
| ) |
Import a Project via User Interface (UI).
| importType | The type how to import a project (ProjectCenterImportType). The type influenced the content. |
| content | the content depends to the given importType |
| ProjectInfo Ofcas.Lk.Api.Client.Ui.ProjectCenterUi.SelectLkProject | ( | ) |
Select an existing project via User Interface (UI).
| Exception | Selecting project failed or aborted. |