|
Ofcas.Lk.Api.Client - Version 3.0
3.0.0.111
|
The LoginScope is the the scope to interact with LogiKal. The LoginScope can only be received by valid connection to a service (LoginScopeFactoryBase<T>.Login). It is necessary that a service is running. Currently only memory binding is supported. The children are of type ProjectCenter. The children can be received from the CoreObject<T>.Infos. More...
Public Member Functions | |
| LoginScope (IApiService apiService, Guid coreObjectId, bool ownsObject=true) | |
| override ProjectCenter | GetChild (ProjectCenterInfo projectCenterInfo) |
| Gets a ProjectCenter based on a ProjectCenterInfo. More... | |
| ProjectCenter | GetChild (ProjectCenterInfo projectCenterInfo, ProjectInfo projectInfo) |
| Gets a ProjectCenter based on a ProjectCenterInfo and a ProjectInfo. More... | |
| ProjectCenter | GetProjectCenter (ProjectCenterInfo projectCenterInfo) |
| This method is deprecated. Please use GetChild(ProjectCenterInfo) instead. More... | |
| ProjectCenter | GetProjectCenter (ProjectCenterInfo childInfo, ProjectInfo projectInfo) |
| This method is deprecated. Please use GetChild(ProjectCenterInfo, ProjectInfo) instead. More... | |
| ProgramInformation | GetProgramInformation () |
| IList< LoginRunnableProgram > | GetRunnablePrograms () |
| This method is deprecated. Please use LoginScopeUi.GetRunnablePrograms() instead. More... | |
| IList< ElementType > | GetAvailableElementTypes () |
| This method is deprecated. Please use GetElementTypes instead. More... | |
| IList< ElementType > | GetElementTypes () |
| Returns a list of all available ElementType for the current LoginScope. More... | |
| IList< IElevationProcessingStatus > | GetElevationProcessingStatuses () |
| override ProjectCenterInfo | RefreshChild (ProjectCenterInfo childInfo) |
| IList< ProjectInfo > | GetRecentProjects () |
| Obtains the ProjectInfo of the recently opened projects. More... | |
| IList< ProjectInfo > | GetRecentProjectInfos () |
| This method is deprecated. Please use GetRecentProjects() instead. More... | |
| bool | IsExportNeeded (DatabaseExportType databaseExportType) |
| Checks whether the export is needed or not. More... | |
| Stream | GetExport (ExportSettings exportSettings) |
| This method is deprecated. Please use GetExport(Dictionary<string, object>) instead. More... | |
| Stream | GetExport (Dictionary< string, object > parameters) |
| Gets an export stream for the stated parameters. More... | |
| double | GetGlassPrice (Dictionary< string, object > parameters) |
| Gets a glass price based on the stated parameters. More... | |
| ElementPricelistContainer | GetElementPricelistContainer () |
Public Member Functions inherited from Ofcas.Lk.Api.Client.Core.CoreObjectWithChildren< ProjectCenter, ProjectCenterInfo > | |
| void | DisposeChild (ICoreObject coreObject) |
| bool | IsParentOf (ICoreObject coreObject) |
| abstract TChildInfo | RefreshChild (TChildInfo childInfo) |
| void | RefreshChildren () |
| virtual TChild | GetChild (TChildInfo childInfo) |
| virtual IEnumerable< TChild > | GetChildren (IEnumerable< TChildInfo > childrenInfos=null) |
| virtual OperationInfo | CanCreateChild () |
| virtual TChildInfo | CreateChild () |
| virtual OperationInfo | CanDeleteChild (TChildInfo childInfo) |
| virtual void | DeleteChild (TChildInfo childInfo) |
| virtual OperationInfo | CanMoveFrom (ICoreInfo coreInfo, bool deepCheck=true) |
| virtual TChildInfo | MoveFrom (ICoreInfo coreInfo) |
| virtual OperationInfo | CanCopyFrom (ICoreInfo coreInfo, bool deepCheck=true) |
| virtual TChildInfo | CopyFrom (ICoreInfo coreInfo) |
Protected Member Functions | |
| override IEnumerable< ProjectCenterInfo > | GetChildrenInfos () |
| Gets the children infos. More... | |
| virtual ProjectCenter | CreateNewInstance (Guid coreObjectId, ProjectCenterInfo projectCenterInfo, ProjectDirectoryInfo projectDirectoryInfo) |
| override void | Dispose (bool disposing) |
Protected Member Functions inherited from Ofcas.Lk.Api.Client.Core.CoreObjectWithChildren< ProjectCenter, ProjectCenterInfo > | |
| CoreObjectWithChildren (IApiService apiService, Guid coreObjectId, bool ownsObject=true) | |
| TChildInfo | RefreshChild (Predicate< TChildInfo > predicate, object childInformation) |
| Refreshes all infos and returns the appropriate info. More... | |
| virtual void | RefreshChildren (bool clearEvents) |
Properties | |
| ParameterContainer | Parameters [get] |
| ISynchronizationContainer | SynchronizationContainer [get] |
Additional Inherited Members | |
Public Attributes inherited from Ofcas.Lk.Api.Client.Core.CoreObjectWithChildren< ProjectCenter, ProjectCenterInfo > | |
| IList< TChildInfo > | ChildrenInfos |
The LoginScope is the the scope to interact with LogiKal. The LoginScope can only be received by valid connection to a service (LoginScopeFactoryBase<T>.Login). It is necessary that a service is running. Currently only memory binding is supported. The children are of type ProjectCenter. The children can be received from the CoreObject<T>.Infos.
| IList<ElementType> Ofcas.Lk.Api.Client.Core.LoginScope.GetAvailableElementTypes | ( | ) |
This method is deprecated. Please use GetElementTypes instead.
| override ProjectCenter Ofcas.Lk.Api.Client.Core.LoginScope.GetChild | ( | ProjectCenterInfo | projectCenterInfo | ) |
Gets a ProjectCenter based on a ProjectCenterInfo.
| projectCenterInfo | The ProjectCenterInfo of the ProjectCenter to be returned. |
| ProjectCenter Ofcas.Lk.Api.Client.Core.LoginScope.GetChild | ( | ProjectCenterInfo | projectCenterInfo, |
| ProjectInfo | projectInfo | ||
| ) |
Gets a ProjectCenter based on a ProjectCenterInfo and a ProjectInfo.
| projectCenterInfo | The ProjectCenterInfo of the ProjectCenter to be returned. |
| projectInfo | The ProjectInfo contained in the ProjectCenter to be returned. |
|
protectedvirtual |
Gets the children infos.
Implements Ofcas.Lk.Api.Client.Core.CoreObjectWithChildren< ProjectCenter, ProjectCenterInfo >.
| IList<ElementType> Ofcas.Lk.Api.Client.Core.LoginScope.GetElementTypes | ( | ) |
Returns a list of all available ElementType for the current LoginScope.
| Stream Ofcas.Lk.Api.Client.Core.LoginScope.GetExport | ( | ExportSettings | exportSettings | ) |
This method is deprecated. Please use GetExport(Dictionary<string, object>) instead.
| Stream Ofcas.Lk.Api.Client.Core.LoginScope.GetExport | ( | Dictionary< string, object > | parameters | ) |
Gets an export stream for the stated parameters.
| parameters | The parameters to define the export. See WellKnownParameterKeys.LoginScope.Export for details about the keys. |
| double Ofcas.Lk.Api.Client.Core.LoginScope.GetGlassPrice | ( | Dictionary< string, object > | parameters | ) |
Gets a glass price based on the stated parameters.
| parameters | GLASSNAME: specifies the name of the glass (value-type: string) GLASSTYPE: specifies the type of the glass (value-type: GlassType) WIDTH: specifies the width of the glass (value-type: double) HEIGHT: specifies the height of the glass (value-type: double) THICKNESS: specifies the thickness of the glass (value-type: int) GLASSORIGIN: specifies the origin of the glass (value-type: GlassOrigin) PROJECTGUID (with GlassOrigin.Project): specifies the project origin of the glass (value-type: Guid) SPECIALINSIDE (optional): specifies the special inside (value-type: string) SPECIALOUTSIDE (optional): specifies the special outside (value-type: string) MODELTYPE (optional): specifies the model type of the glass (value-type: int) |
| ProjectCenter Ofcas.Lk.Api.Client.Core.LoginScope.GetProjectCenter | ( | ProjectCenterInfo | projectCenterInfo | ) |
This method is deprecated. Please use GetChild(ProjectCenterInfo) instead.
| ProjectCenter Ofcas.Lk.Api.Client.Core.LoginScope.GetProjectCenter | ( | ProjectCenterInfo | childInfo, |
| ProjectInfo | projectInfo | ||
| ) |
This method is deprecated. Please use GetChild(ProjectCenterInfo, ProjectInfo) instead.
| IList<ProjectInfo> Ofcas.Lk.Api.Client.Core.LoginScope.GetRecentProjectInfos | ( | ) |
This method is deprecated. Please use GetRecentProjects() instead.
| IList<ProjectInfo> Ofcas.Lk.Api.Client.Core.LoginScope.GetRecentProjects | ( | ) |
Obtains the ProjectInfo of the recently opened projects.
| IList<LoginRunnableProgram> Ofcas.Lk.Api.Client.Core.LoginScope.GetRunnablePrograms | ( | ) |
This method is deprecated. Please use LoginScopeUi.GetRunnablePrograms() instead.
| bool Ofcas.Lk.Api.Client.Core.LoginScope.IsExportNeeded | ( | DatabaseExportType | databaseExportType | ) |
Checks whether the export is needed or not.
| databaseExportType | The database export type to be checked. |