| Constructor and Description |
|---|
Response()
Creates and returns a new
Response. |
| Modifier and Type | Method and Description |
|---|---|
<T extends Model> |
getEntries()
Returns a
List of all entry objects (e.g. people, activities)
parsed from the provider's response; if the raw response contained no
entry objects, an empty list is returned. |
<T extends Model> |
getEntry()
Returns a single entry object (e.g. person, activity) parsed from the
response or null if the response contained no entry objects.
|
Long |
getItemsPerPage() |
Long |
getStartIndex()
Returns the value of the "startIndex" field contained within the
provider's response or null if no such property was returned.
|
String |
getStatusLink()
Returns the value of the "statusLink" field contained within the
provider's response or null if no such property was returned.
|
Long |
getTotalResults()
Returns the value of the "totalResults" field contained within the
provider's response or null if no such property was returned.
|
Boolean |
isFiltered()
Returns the value of the "isFiltered" field contained within the
provider's response or null if no such property was returned.
|
void |
setIsFiltered(Object isFiltered)
Parses the passed Object as a Boolean if necessary, then sets this as the
value of the isFiltered field; this method is required by the response
parser and should not be called by clients directly.
|
void |
setItemsPerPage(Object itemsPerPage)
Parses the passed Object as a Long if necessary, then sets this as the
value of the itemsPerPage field; this method is required by the response
parser and should not be called by clients directly.
|
void |
setStartIndex(Object startIndex)
Parses the passed Object as a Long if necessary, then sets this as the
value of the startIndex field; this method is required by the response
parser and should not be called by clients directly.
|
void |
setStatusLink(Object statusLink)
Casts the passed Object as a String and sets this as the value of the
statusLink field; this method is required by the response parser and
should not be called by clients directly.
|
void |
setTotalResults(Object totalResults)
Parses the passed Object as a Long if necessary, then sets this as the
value of the totalResults field; this method is required by the response
parser and should not be called by clients directly.
|
public Response()
Response.public Long getStartIndex()
public Long getTotalResults()
public Long getItemsPerPage()
public String getStatusLink()
public Boolean isFiltered()
public <T extends Model> List<T> getEntries()
List of all entry objects (e.g. people, activities)
parsed from the provider's response; if the raw response contained no
entry objects, an empty list is returned. The List type depends on the
Service used to create the request; e.g. a List of Persons is returned
if the executed Request was generated by a PeopleService method.public <T extends Model> T getEntry()
Request was generated by a PeopleService method.public void setStartIndex(Object startIndex)
startIndex - String or Number object to parse as a Long and storepublic void setTotalResults(Object totalResults)
totalResults - String or Number object to parse as a Long and storepublic void setItemsPerPage(Object itemsPerPage)
itemsPerPage - String or Number object to parse as a Long and storepublic void setStatusLink(Object statusLink)
statusLink - String object to storepublic void setIsFiltered(Object isFiltered)
isFiltered - String or Boolean object to parse as a Boolean and storeCopyright © 2012. All Rights Reserved.