Class AResourcePage<TResource extends IResource>
- java.lang.Object
-
- de.xima.fc.api.rest.impl.common.models.response.AResourcePage<TResource>
-
- Type Parameters:
TResource
- type of REST API resource.
- All Implemented Interfaces:
IResourcePage<TResource>
,Serializable
- Direct Known Subclasses:
AuthenticatorResourcePage
,FormFileResourcePage
,FormRecordAttachmentResourcePage
,FormRecordChatResourcePage
,FormRecordMessageResourcePage
,FormRecordMessageUploadRequestResourcePage
,FormRecordResourcePage
,FormResourcePage
,UserPortalAuthenticatorResourcePage
,UserPortalFileResourcePage
,UserPortalFormRecordChatResourcePage
,UserPortalFormRecordMessageResourcePage
,UserPortalFormRecordResourcePage
,UserPortalFormResourcePage
,UserPortalResourcePage
,WorkflowTriggerResourcePage
public abstract class AResourcePage<TResource extends IResource> extends Object implements IResourcePage<TResource>
Abstract base model representing a page of resources provided by the PUBLIC REST API.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AResourcePage(List<TResource> results, int page, int pageSize, int totalCount, javax.ws.rs.core.UriInfo uriInfo, Locale locale)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
getLinks()
int
getPage()
int
getPageSize()
int
getResultCount()
List<TResource>
getResults()
int
getTotalCount()
int
getTotalPages()
-
-
-
Method Detail
-
getResults
public List<TResource> getResults()
- Specified by:
getResults
in interfaceIResourcePage<TResource extends IResource>
-
getResultCount
public int getResultCount()
- Specified by:
getResultCount
in interfaceIResourcePage<TResource extends IResource>
-
getPage
public int getPage()
- Specified by:
getPage
in interfaceIResourcePage<TResource extends IResource>
-
getPageSize
public int getPageSize()
- Specified by:
getPageSize
in interfaceIResourcePage<TResource extends IResource>
-
getTotalCount
public int getTotalCount()
- Specified by:
getTotalCount
in interfaceIResourcePage<TResource extends IResource>
-
getTotalPages
public int getTotalPages()
- Specified by:
getTotalPages
in interfaceIResourcePage<TResource extends IResource>
-
-