|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ManagedObject
Java Interface to call the Cumulocity Inventory Rest API.
| Method Summary | |
|---|---|
ManagedObjectReferenceRepresentation |
addChildAssets(ManagedObjectReferenceRepresentation refrenceReprsentation)
Adds a child device to the ManagedObject. |
ManagedObjectReferenceRepresentation |
addChildDevice(ManagedObjectReferenceRepresentation refrenceReprsentation)
Adds a child device to the ManagedObject. |
void |
delete()
Deletes the Managed Object from the Cumulocity Server. |
void |
deleteChildAsset(GId assetId)
Deletes the child Asset and its relation to the managed object. |
void |
deleteChildDevice(GId deviceId)
Deletes the child device and its relation to the managed object. |
ManagedObjectRepresentation |
get()
Returns the Managed Object of the Resource. |
ManagedObjectReferenceCollectionRepresentation |
getAllChildAssets()
Deprecated. |
ManagedObjectReferenceCollectionRepresentation |
getAllChildDevices()
Deprecated. |
ManagedObjectReferenceRepresentation |
getChildAsset(GId assetId)
Returns the child Asset with the given id. |
PagedCollectionResource<ManagedObjectReferenceCollectionRepresentation> |
getChildAssets()
Returns all the child Assets for the Managed Object in paged collection form |
ManagedObjectReferenceRepresentation |
getChildDevice(GId deviceId)
Returns the child device with the given id. |
PagedCollectionResource<ManagedObjectReferenceCollectionRepresentation> |
getChildDevices()
Returns all the child Devices for the Managed Object in paged collection form. |
ManagedObjectRepresentation |
update(ManagedObjectRepresentation managedObjectRepresentation)
This update the ManagedObject for the operationCollection. |
| Method Detail |
|---|
ManagedObjectRepresentation get()
throws SDKException
SDKException
void delete()
throws SDKException
SDKException
ManagedObjectRepresentation update(ManagedObjectRepresentation managedObjectRepresentation)
throws SDKException
managedObjectRepresentation -
SDKException
ManagedObjectReferenceRepresentation addChildDevice(ManagedObjectReferenceRepresentation refrenceReprsentation)
throws SDKException
refrenceReprsentation -
SDKException
PagedCollectionResource<ManagedObjectReferenceCollectionRepresentation> getChildDevices()
throws SDKException
SDKException
@Deprecated
ManagedObjectReferenceCollectionRepresentation getAllChildDevices()
throws SDKException
SDKException
ManagedObjectReferenceRepresentation getChildDevice(GId deviceId)
throws SDKException
deviceId -
SDKException
void deleteChildDevice(GId deviceId)
throws SDKException
deviceId -
SDKException
ManagedObjectReferenceRepresentation addChildAssets(ManagedObjectReferenceRepresentation refrenceReprsentation)
throws SDKException
refrenceReprsentation -
SDKException
@Deprecated
ManagedObjectReferenceCollectionRepresentation getAllChildAssets()
throws SDKException
SDKException
PagedCollectionResource<ManagedObjectReferenceCollectionRepresentation> getChildAssets()
throws SDKException
SDKException
ManagedObjectReferenceRepresentation getChildAsset(GId assetId)
throws SDKException
assetId -
SDKException
void deleteChildAsset(GId assetId)
throws SDKException
assetId -
SDKException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||