Class PagedManagedObjectCollectionRepresentation
- java.lang.Object
-
- com.cumulocity.rest.representation.BaseResourceRepresentation
-
- com.cumulocity.rest.representation.AbstractExtensibleRepresentation
-
- com.cumulocity.rest.representation.BaseResourceWithExplainRepresentation
-
- com.cumulocity.rest.representation.BaseCollectionRepresentation<ManagedObjectRepresentation>
-
- com.cumulocity.rest.representation.inventory.ManagedObjectCollectionRepresentation
-
- com.cumulocity.sdk.client.inventory.PagedManagedObjectCollectionRepresentation
-
- All Implemented Interfaces:
ResourceRepresentation
,PagedCollectionRepresentation<ManagedObjectRepresentation>
,Iterable<ManagedObjectRepresentation>
,org.svenson.DynamicProperties
public class PagedManagedObjectCollectionRepresentation extends ManagedObjectCollectionRepresentation implements PagedCollectionRepresentation<ManagedObjectRepresentation>
-
-
Constructor Summary
Constructors Constructor Description PagedManagedObjectCollectionRepresentation(ManagedObjectCollectionRepresentation collection, PagedCollectionResource<ManagedObjectRepresentation,? extends ManagedObjectCollectionRepresentation> collectionResource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<ManagedObjectRepresentation>
allPages()
Iterable<ManagedObjectRepresentation>
elements(int limit)
-
Methods inherited from class com.cumulocity.rest.representation.inventory.ManagedObjectCollectionRepresentation
getManagedObjects, iterator, setManagedObjects
-
Methods inherited from class com.cumulocity.rest.representation.BaseCollectionRepresentation
getNext, getPageStatistics, getPrev, setNext, setPageStatistics, setPrev
-
Methods inherited from class com.cumulocity.rest.representation.BaseResourceWithExplainRepresentation
getQueryPlanner, setQueryPlanner
-
Methods inherited from class com.cumulocity.rest.representation.AbstractExtensibleRepresentation
get, get, getAttrs, getProperty, hasProperty, propertyNames, removeProperty, set, set, set, setAttrs, setProperty
-
Methods inherited from class com.cumulocity.rest.representation.BaseResourceRepresentation
getSelf, getSelfDecoded, setSelf, toJSON, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
PagedManagedObjectCollectionRepresentation
public PagedManagedObjectCollectionRepresentation(ManagedObjectCollectionRepresentation collection, PagedCollectionResource<ManagedObjectRepresentation,? extends ManagedObjectCollectionRepresentation> collectionResource)
-
-
Method Detail
-
allPages
public Iterable<ManagedObjectRepresentation> allPages()
- Specified by:
allPages
in interfacePagedCollectionRepresentation<ManagedObjectRepresentation>
-
elements
public Iterable<ManagedObjectRepresentation> elements(int limit)
- Specified by:
elements
in interfacePagedCollectionRepresentation<ManagedObjectRepresentation>
-
-