public class Pagination extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
COUNT
Pagination query parameter constant
|
static String |
HASMOREITEMS
Pagination query parameter constant
|
static String |
MAXITEMS
Pagination query parameter constant
|
static String |
SKIPCOUNT
Pagination query parameter constant
|
static String |
TOTALITEMS
Pagination query parameter constant
|
| Constructor and Description |
|---|
Pagination() |
| Modifier and Type | Method and Description |
|---|---|
long |
getCount() |
long |
getMaxItems() |
long |
getSkipCount() |
long |
getTotalItems() |
boolean |
isHasMoreItems() |
void |
setCount(int count)
Set the number of objects in the entries array.
|
void |
setHasMoreItems(boolean hasMoreItems)
Set true if there are more entities in the collection beyond those in this response.
|
void |
setMaxItems(long maxItems)
Set the maxItems parameter used to generate this list, or if there was no maxItems parameter the default value, 10.
|
void |
setSkipCount(long skipCount)
Set integer describing how many entities exist in the collection before those included in this list.
|
void |
setTotalItems(long totalItems)
Set integer describing the total number of entities in the collection.
|
public static final String SKIPCOUNT
public static final String MAXITEMS
public static final String COUNT
public static final String HASMOREITEMS
public static final String TOTALITEMS
public long getCount()
public void setCount(int count)
count - public boolean isHasMoreItems()
public void setHasMoreItems(boolean hasMoreItems)
hasMoreItems - public long getTotalItems()
public void setTotalItems(long totalItems)
totalItems - public long getSkipCount()
public void setSkipCount(long skipCount)
skipCount - public long getMaxItems()
public void setMaxItems(long maxItems)
maxItems - Copyright © 2015 Alfresco Software Inc.. All Rights Reserved.