|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.social.alfresco.api.entities.Pagination
public class Pagination
Object describing a collection of entries
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
Pagination()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public Pagination()
| Method Detail |
|---|
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 -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||