|
Ofcas.Lk.Api.Client - Version 3.0
3.0.0.113
|
Realisation of ICoreObjectWithChildren<TChild,TChildInfo>, ICoreObjectWithParent<TParent>, ICoreObjectWithInfo<TOwnInfo>. More...
Public Member Functions | |
| TOwnInfo | Refresh () |
| virtual OperationInfo | CanEdit (string key, object value) |
| virtual TOwnInfo | Edit (string key, object value) |
Public Member Functions inherited from Ofcas.Lk.Api.Client.Core.CoreObjectWithChildren< TChild, TChildInfo > | |
| void | DisposeChild (ICoreObject coreObject) |
| bool | IsParentOf (ICoreObject coreObject) |
| abstract TChildInfo | RefreshChild (TChildInfo childInfo) |
| void | RefreshChildren () |
| virtual TChild | GetChild (TChildInfo childInfo) |
| virtual IList< TChild > | GetChildren (IEnumerable< TChildInfo > childrenInfos=null) |
| virtual OperationInfo | CanCreateChild () |
| virtual TChildInfo | CreateChild () |
| virtual OperationInfo | CanDeleteChild (TChildInfo childInfo) |
| virtual void | DeleteChild (TChildInfo childInfo, bool forceDelete=false) |
| 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) |
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 Id for all children More... | |
Public Member Functions inherited from Ofcas.Lk.Api.Client.Core.Disposable | |
| void | Dispose () |
Protected Member Functions | |
| CoreObjectFullyQualified (IServiceFactory< IApiService > serviceFactory, Guid coreObjectId, TParent parent, TOwnInfo ownInfo) | |
| Creates a new instance of CoreObjectFullyQualified<TParent,TOwnInfo,TChild,TChildInfo> with the given parameters. More... | |
Protected Member Functions inherited from Ofcas.Lk.Api.Client.Core.CoreObjectWithChildren< TChild, TChildInfo > | |
| CoreObjectWithChildren (IServiceFactory< IApiService > serviceFactory, Guid coreObjectId, bool ownsObject=true) | |
| TChildInfo | RefreshChild (Predicate< TChildInfo > predicate, object childInformation) |
| Refreshes all infos and returns the appropriate info. More... | |
| abstract IEnumerable< TChildInfo > | GetChildrenInfos () |
| Gets the children infos. More... | |
Protected Member Functions inherited from Ofcas.Lk.Api.Client.Core.CoreObjectBase | |
| CoreObjectBase (IServiceFactory< IApiService > serviceFactory, Guid coreObjectId, bool ownsObject=true) | |
| T | CallService< T > (Func< IApiService, T > serviceCall, Guid projectGuid=default(Guid), [CallerMemberName] string callerMethod=null) |
| Calls a service function and raises an error if it fails. More... | |
| T | CallServiceWithMessage< T > (Func< IApiService, T > serviceCall, Guid projectGuid=default(Guid), [CallerMemberName] string callerMethod=null) |
| Calls a service function and raises an error if it fails. More... | |
| override void | Dispose (bool disposing) |
Properties | |
| TParent | Parent [get] |
| TOwnInfo | Info [get] |
Properties inherited from Ofcas.Lk.Api.Client.Core.CoreObjectWithChildren< TChild, TChildInfo > | |
| IList< TChildInfo > | ChildrenInfos [get, protected set] |
Properties inherited from Ofcas.Lk.Api.Client.Core.CoreObjectBase | |
| IServiceFactory< IApiService > | ServiceFactory [get] |
| For internal purposes only. More... | |
| Guid | Id [get] |
| The unique identifier of the object instance. More... | |
Properties inherited from Ofcas.Lk.Api.Client.Core.Interfaces.ICoreObject | |
| Guid | CoreObjectId [get] |
| This property is deprecated. Please use ICoreObject.Id instead. More... | |
| Guid | Id [get] |
| The unique identifier of this core object. More... | |
Additional Inherited Members | |
Public Attributes inherited from Ofcas.Lk.Api.Client.Core.CoreObjectBase | |
| Guid | CoreObjectId => Id |
| This property is deprecated. Please use CoreObjectBase.Id instead. More... | |
Protected Attributes inherited from Ofcas.Lk.Api.Client.Core.CoreObjectBase | |
| const string | NotSupportedCauseNotImplemented = "This method is not implemented, therefore not supported." |
| Default message for methods which are not supported because they are not implemented. More... | |
Events inherited from Ofcas.Lk.Api.Client.Core.Disposable | |
| Action< Disposable > | Disposed |
Realisation of ICoreObjectWithChildren<TChild,TChildInfo>, ICoreObjectWithParent<TParent>, ICoreObjectWithInfo<TOwnInfo>.
| TParent | The specifc type of parent (base ICoreObject). |
| TOwnInfo | The specifc type of the own info (base ICoreInfo). |
| TChild | The specific type of the child (base ICoreObject). |
| TChildInfo | The specific type of the child infos (base ICoreInfo). |
| TParent | : | ICoreObject | |
| TOwnInfo | : | ICoreInfo | |
| TChild | : | ICoreObject | |
| TChildInfo | : | ICoreInfo |
|
protected |
Creates a new instance of CoreObjectFullyQualified<TParent,TOwnInfo,TChild,TChildInfo> with the given parameters.
| serviceFactory | The active instance of IApiService. |
| coreObjectId | The unique identifier of this object. |
| parent | The parent of this object. |
| ownInfo | The own info of this object. |
|
virtual |
| NotSupportedException |
Reimplemented in Ofcas.Lk.Api.Client.Core.Project, Ofcas.Lk.Api.Client.Core.Phase, and Ofcas.Lk.Api.Client.Core.Elevation.