|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InventoryApi
API for creating, and retrieving managed objects resources from the platform. Delete and update functionality is implemented on the returned managed object.
Method Summary | |
---|---|
ManagedObjectRepresentation |
create(ManagedObjectRepresentation managedObject)
Creates managed object in the platform. |
ManagedObject |
getManagedObject(GId gid)
Gets managed object resource by id. |
PagedCollectionResource<ManagedObjectCollectionRepresentation> |
getManagedObjects()
Gets the all the managed object in the platform |
PagedCollectionResource<ManagedObjectCollectionRepresentation> |
getManagedObjectsByFilter(InventoryFilter filter)
Gets the managed objects from the platform based on specified filter. |
PagedCollectionResource<ManagedObjectCollectionRepresentation> |
getManagedObjectsByListOfIds(List<GId> ids)
Gets the managed objects from the platform based on the given ids |
Method Detail |
---|
ManagedObject getManagedObject(GId gid) throws SDKException
get()
on the returned resource.
gid
- id of the managed object to search for
SDKException
- if the query failedManagedObjectRepresentation create(ManagedObjectRepresentation managedObject) throws SDKException
managedObject
- the managed object to be created
SDKException
- if the managed object could not be createdPagedCollectionResource<ManagedObjectCollectionRepresentation> getManagedObjects() throws SDKException
SDKException
- if the query failedPagedCollectionResource<ManagedObjectCollectionRepresentation> getManagedObjectsByFilter(InventoryFilter filter) throws SDKException
type
and fragmentType
is
not supported.
filter
- the filter criteria(s)
SDKException
- if the query failed
IllegalArgumentException
- if both type
and fragmentType
are specified in the filterPagedCollectionResource<ManagedObjectCollectionRepresentation> getManagedObjectsByListOfIds(List<GId> ids) throws SDKException
ids
- the list of ids of the managed objects to search for
SDKException
- if the query failed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |