Ofcas.Lk.Api.V3  3.0.0.98
Ofcas.Lk.Api.Ui.LoginScopeUi Class Reference

The LoginScopeUi is the the scope to interact with LogiKal via user interfaces. The LoginScopeUi can only be obtained by using the ServiceProxy. It is necessary that a service is running. Currently only memory binding is supported. The children are of type ProjectCenterUi. The children can be received from the CoreObject<T>.Infos. More...

Inheritance diagram for Ofcas.Lk.Api.Ui.LoginScopeUi:
Ofcas.Lk.Api.Core.LoginScope

Public Member Functions

 LoginScopeUi (IApiService service, Guid coreObjectId)
 
OperationStatus RunProgram (int programType)
 Runs the login program specified by the provided type. More...
 
new ProjectCenterUi GetProjectCenter (ProjectCenterInfo projectCenterInfo)
 Returns the corresponding project-center based on the given information data. Available project-center types are defined in ProjectType. More...
 

Protected Member Functions

override CoreObjectBase GetProjectCenterObject (Guid newCoreObjectId, ProjectCenterInfo projectCenterInfo, ProjectDirectoryInfo projectDirectoryInfo)
 

Detailed Description

The LoginScopeUi is the the scope to interact with LogiKal via user interfaces. The LoginScopeUi can only be obtained by using the ServiceProxy. It is necessary that a service is running. Currently only memory binding is supported. The children are of type ProjectCenterUi. The children can be received from the CoreObject<T>.Infos.

Member Function Documentation

◆ GetProjectCenter()

new ProjectCenterUi Ofcas.Lk.Api.Ui.LoginScopeUi.GetProjectCenter ( ProjectCenterInfo  projectCenterInfo)

Returns the corresponding project-center based on the given information data. Available project-center types are defined in ProjectType.

Parameters
projectCenterInfoThe project-center information obtained through the CoreObject<T>.Infos function.
Returns
the ProjectCenterUi
Exceptions
ExceptionIf getting project-center failed.

◆ RunProgram()

OperationStatus Ofcas.Lk.Api.Ui.LoginScopeUi.RunProgram ( int  programType)

Runs the login program specified by the provided type.

Parameters
programTypeThe type of program to be run.
Returns
Returns an OperationStatus for the running program.
Exceptions
ApiExceptionOccurs if the method fails.

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