|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cumulocity.sdk.client.inventory.InventoryApiImpl
public class InventoryApiImpl
| Constructor Summary | |
|---|---|
InventoryApiImpl(RestConnector restConnector,
TemplateUrlParser templateUrlParser,
String platformUrl)
Deprecated. |
|
InventoryApiImpl(RestConnector restConnector,
TemplateUrlParser templateUrlParser,
String platformUrl,
int pageSize)
|
|
| Method Summary | |
|---|---|
ManagedObjectRepresentation |
create(ManagedObjectRepresentation representation)
Creates managed object in the platform. |
ManagedObject |
getManagedObject(GId globalId)
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 |
protected String |
getSelfUri()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated
public InventoryApiImpl(RestConnector restConnector,
TemplateUrlParser templateUrlParser,
String platformUrl)
public InventoryApiImpl(RestConnector restConnector,
TemplateUrlParser templateUrlParser,
String platformUrl,
int pageSize)
| Method Detail |
|---|
public ManagedObjectRepresentation create(ManagedObjectRepresentation representation)
throws SDKException
InventoryApi
create in interface InventoryApirepresentation - the managed object to be created
SDKException - if the managed object could not be created
public ManagedObject getManagedObject(GId globalId)
throws SDKException
InventoryApiget() on the returned resource.
getManagedObject in interface InventoryApiglobalId - id of the managed object to search for
SDKException - if the query failed
public PagedCollectionResource<ManagedObjectCollectionRepresentation> getManagedObjects()
throws SDKException
InventoryApi
getManagedObjects in interface InventoryApiSDKException - if the query failed
public PagedCollectionResource<ManagedObjectCollectionRepresentation> getManagedObjectsByFilter(InventoryFilter filter)
throws SDKException
InventoryApitype and fragmentType is
not supported.
getManagedObjectsByFilter in interface InventoryApifilter - the filter criteria(s)
SDKException - if the query failed
public PagedCollectionResource<ManagedObjectCollectionRepresentation> getManagedObjectsByListOfIds(List<GId> ids)
throws SDKException
InventoryApi
getManagedObjectsByListOfIds in interface InventoryApiids - the list of ids of the managed objects to search for
SDKException - if the query failed
protected String getSelfUri()
throws SDKException
SDKException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||