Package com.cumulocity.sdk.client.audit
Class PagedAuditCollectionRepresentation
- java.lang.Object
-
- com.cumulocity.rest.representation.BaseResourceRepresentation
-
- com.cumulocity.rest.representation.AbstractExtensibleRepresentation
-
- com.cumulocity.rest.representation.BaseResourceWithExplainRepresentation
-
- com.cumulocity.rest.representation.BaseCollectionRepresentation<AuditRecordRepresentation>
-
- com.cumulocity.rest.representation.audit.AuditRecordCollectionRepresentation
-
- com.cumulocity.sdk.client.audit.PagedAuditCollectionRepresentation
-
- All Implemented Interfaces:
ResourceRepresentation
,PagedCollectionRepresentation<AuditRecordRepresentation>
,Iterable<AuditRecordRepresentation>
,org.svenson.DynamicProperties
public class PagedAuditCollectionRepresentation extends AuditRecordCollectionRepresentation implements PagedCollectionRepresentation<AuditRecordRepresentation>
-
-
Constructor Summary
Constructors Constructor Description PagedAuditCollectionRepresentation(AuditRecordCollectionRepresentation collection, PagedCollectionResource<AuditRecordRepresentation,? extends AuditRecordCollectionRepresentation> collectionResource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<AuditRecordRepresentation>
allPages()
Iterable<AuditRecordRepresentation>
elements(int limit)
-
Methods inherited from class com.cumulocity.rest.representation.audit.AuditRecordCollectionRepresentation
canEqual, equals, getAuditRecords, hashCode, iterator, setAuditRecords
-
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, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
PagedAuditCollectionRepresentation
public PagedAuditCollectionRepresentation(AuditRecordCollectionRepresentation collection, PagedCollectionResource<AuditRecordRepresentation,? extends AuditRecordCollectionRepresentation> collectionResource)
-
-
Method Detail
-
allPages
public Iterable<AuditRecordRepresentation> allPages()
- Specified by:
allPages
in interfacePagedCollectionRepresentation<AuditRecordRepresentation>
-
elements
public Iterable<AuditRecordRepresentation> elements(int limit)
- Specified by:
elements
in interfacePagedCollectionRepresentation<AuditRecordRepresentation>
-
-