|
AeroGear Android Library 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.aerogear.android.pipeline.paging.PageConfig
public class PageConfig
| Nested Class Summary | |
|---|---|
static class |
PageConfig.MetadataLocations
|
| Constructor Summary | |
|---|---|
PageConfig()
|
|
| Method Summary | |
|---|---|
Integer |
getLimitValue()
LimitValue is the maximum number of results the server should return (default: 10) |
MetadataLocation |
getMetadataLocation()
MetadataLocation indicates whether paging information is received from the response header, the response body (body) or via RFC 5988 (webLinking), which is the default |
String |
getNextIdentifier()
NextIdentifier names the element containing data for the next page (default: next) |
String |
getOffsetValue()
OffsetValue is the offset of the first element that should be included in the returned collection (default: 0) |
PageParameterExtractor |
getPageParameterExtractor()
PageParameterExtractor is the a PageParameterExtractor which
parses the response and provides data to a Pipe for the "next" and
"previous" pages. |
ParameterProvider |
getParameterProvider()
The ParameterProvider for paging. |
String |
getPreviousIdentifier()
PreviousIdentifier names the element containing data for the previous page (default: previous) |
void |
setLimitValue(Integer limitValue)
LimitValue is the maximum number of results the server should return (default: 10) |
void |
setMetadataLocation(MetadataLocation metadataLocation)
MetadataLocation indicates whether paging information is received from the response header, the response body (body) or via RFC 5988 (webLinking), which is the default |
void |
setNextIdentifier(String nextIdentifier)
NextIdentifier names the element containing data for the next page (default: next) |
void |
setOffsetValue(String offsetValue)
OffsetValue is the offset of the first element that should be included in the returned collection (default: 0) |
void |
setPageParameterExtractor(PageParameterExtractor pageParameterExtractor)
PageParameterExtractor is the a PageParameterExtractor which
parses the response and provides data to a Pipe for the "next" and
"previous" pages. |
void |
setParameterProvider(ParameterProvider parameterProvider)
The ParameterProvider for paging. |
void |
setPreviousIdentifier(String previousIdentifier)
PreviousIdentifier names the element containing data for the previous page (default: previous) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PageConfig()
| Method Detail |
|---|
public MetadataLocation getMetadataLocation()
public void setMetadataLocation(MetadataLocation metadataLocation)
metadataLocation - a different metaDataLocationpublic String getNextIdentifier()
public void setNextIdentifier(String nextIdentifier)
public String getPreviousIdentifier()
public void setPreviousIdentifier(String previousIdentifier)
previousIdentifier - public String getOffsetValue()
public void setOffsetValue(String offsetValue)
offsetValue - public Integer getLimitValue()
public void setLimitValue(Integer limitValue)
limitValue - a new Limit valuepublic ParameterProvider getParameterProvider()
ParameterProvider for paging. Defaults to
DefaultParameterProvider
public void setParameterProvider(ParameterProvider parameterProvider)
ParameterProvider for paging. Defaults to
DefaultParameterProvider
parameterProvider - a new providerpublic PageParameterExtractor getPageParameterExtractor()
PageParameterExtractor which
parses the response and provides data to a Pipe for the "next" and
"previous" pages.
The default value depends on the current setting of MetadataLocation.
public void setPageParameterExtractor(PageParameterExtractor pageParameterExtractor)
PageParameterExtractor which
parses the response and provides data to a Pipe for the "next" and
"previous" pages.
The default value depends on the current setting of MetadataLocation.
pageParameterExtractor - an new Extractor
|
AeroGear Android Library 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||