|
Ofcas.Lk.Api.Client - Version 3.0
3.0.0.106
|
Realisation of ICoreObjectWithChildren<TChild,TChildInfo>. More...
Public Member Functions | |
| void | DisposeChild (ICoreObject coreObject) |
| bool | IsParentOf (ICoreObject coreObject) |
| abstract TChildInfo | RefreshChild (TChildInfo childInfo) |
| void | RefreshChildren () |
| virtual TChild | GetChild (TChildInfo childInfo) |
| 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) |
| void | RefreshInfos () |
Public Member Functions inherited from Ofcas.Lk.Api.Client.Core.CoreObjectBase | |
| bool | CanDispose () |
| Returns the information about whether the object can be deleted. An object can only be deleted if no children live. More... | |
| IList< Guid > | Children () |
| Returns a list with CoreObjectId for all children More... | |
Public Member Functions inherited from Ofcas.Lk.Api.Client.Core.Disposable | |
| void | Dispose () |
Public Attributes | |
| IList< TChildInfo > | Infos => ChildrenInfos |
| IList< TChildInfo > | ChildrenInfos => new ReadOnlyCollection<TChildInfo>(_infoListContainer.Infos) |
Protected Member Functions | |
| CoreObjectWithChildren (IApiService apiService, Guid coreObjectId) | |
| TChildInfo | RefreshChild (Predicate< TChildInfo > predicate) |
| Refreshes all infos and returns the appropriate info. More... | |
| abstract CoreInfoResponse | GetInfoResponse () |
| Gets the info response from service. More... | |
Protected Member Functions inherited from Ofcas.Lk.Api.Client.Core.CoreObjectBase | |
| CoreObjectBase (IApiService apiService, Guid coreObjectId) | |
| override void | Dispose (bool disposing) |
| T | CallService< T > (Func< IApiService, T > serviceCall, [CallerMemberName] string callerMethod=null) |
| Calls a service function and raises an error if it fails. More... | |
| T | CallServiceWithMessage< T > (Func< IApiService, T > serviceCall, [CallerMemberName] string callerMethod=null) |
| Calls a service function and raises an error if it fails. More... | |
Additional Inherited Members | |
Protected Attributes inherited from Ofcas.Lk.Api.Client.Core.CoreObjectBase | |
| const string | NotSupportedCauseNotImplemented |
| Default message for methods which are not supported because they are not implemented. More... | |
Properties inherited from Ofcas.Lk.Api.Client.Core.CoreObjectBase | |
| IApiService | ApiService [get] |
| The service interface. More... | |
| Guid | CoreObjectId [get] |
| The unique identifier of the object instance. More... | |
Properties inherited from Ofcas.Lk.Api.Client.Core.Interfaces.ICoreObject | |
| Guid | CoreObjectId [get] |
| The unique identifier of this core object. More... | |
Events inherited from Ofcas.Lk.Api.Client.Core.Disposable | |
| Action< Disposable > | Disposed |
Realisation of ICoreObjectWithChildren<TChild,TChildInfo>.
| TChild | The specific type of the child (base ICoreObject). |
| TChildInfo | The specific type of the child infos (base ICoreInfo). |
| TChildInfo | : | ICoreInfo | |
| TChild | : | ICoreObject |
|
virtual |
| NotSupportedException |
|
virtual |
| NotSupportedException |
|
virtual |
| NotSupportedException |
|
virtual |
| NotSupportedException |
|
protectedpure virtual |
Gets the info response from service.
Implemented in Ofcas.Lk.Api.Client.Core.LoginScope, and Ofcas.Lk.Api.Client.Core.DocumentContainer.
|
virtual |
| NotSupportedException |
|
protected |
Refreshes all infos and returns the appropriate info.
| predicate | The predicate for the given info. |