Class PagedOperationCollectionRepresentation
- java.lang.Object
-
- com.cumulocity.rest.representation.BaseResourceRepresentation
-
- com.cumulocity.rest.representation.AbstractExtensibleRepresentation
-
- com.cumulocity.rest.representation.BaseResourceWithExplainRepresentation
-
- com.cumulocity.rest.representation.BaseCollectionRepresentation<OperationRepresentation>
-
- com.cumulocity.rest.representation.operation.OperationCollectionRepresentation
-
- com.cumulocity.sdk.client.devicecontrol.PagedOperationCollectionRepresentation
-
- All Implemented Interfaces:
ResourceRepresentation
,PagedCollectionRepresentation<OperationRepresentation>
,Iterable<OperationRepresentation>
,org.svenson.DynamicProperties
public class PagedOperationCollectionRepresentation extends OperationCollectionRepresentation implements PagedCollectionRepresentation<OperationRepresentation>
-
-
Constructor Summary
Constructors Constructor Description PagedOperationCollectionRepresentation(OperationCollectionRepresentation collection, PagedCollectionResource<OperationRepresentation,? extends OperationCollectionRepresentation> collectionResource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<OperationRepresentation>
allPages()
Iterable<OperationRepresentation>
elements(int limit)
-
Methods inherited from class com.cumulocity.rest.representation.operation.OperationCollectionRepresentation
getOperations, iterator, setOperations
-
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
-
PagedOperationCollectionRepresentation
public PagedOperationCollectionRepresentation(OperationCollectionRepresentation collection, PagedCollectionResource<OperationRepresentation,? extends OperationCollectionRepresentation> collectionResource)
-
-
Method Detail
-
allPages
public Iterable<OperationRepresentation> allPages()
- Specified by:
allPages
in interfacePagedCollectionRepresentation<OperationRepresentation>
-
elements
public Iterable<OperationRepresentation> elements(int limit)
- Specified by:
elements
in interfacePagedCollectionRepresentation<OperationRepresentation>
-
-