Package org.apache.syncope.common.lib.to
Class PagedConnObjectResult
- java.lang.Object
-
- org.apache.syncope.common.lib.to.PagedConnObjectResult
-
- All Implemented Interfaces:
Serializable
,BaseBean
public class PagedConnObjectResult extends Object implements BaseBean
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PagedConnObjectResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
URI
getNext()
String
getPagedResultsCookie()
Returns the opaque cookie which should be used with the next paged results search request.int
getRemainingPagedResults()
Returns an estimate of the total number of remaining results to be returned in subsequent paged results search requests.List<ConnObject>
getResult()
int
hashCode()
boolean
isAllResultsReturned()
Returns a flag indicating whether all the results other match a search query were returned.void
setAllResultsReturned(boolean allResultsReturned)
void
setNext(URI next)
void
setPagedResultsCookie(String pagedResultsCookie)
void
setRemainingPagedResults(int remainingPagedResults)
-
-
-
Method Detail
-
getNext
public URI getNext()
-
setNext
public void setNext(URI next)
-
getPagedResultsCookie
public String getPagedResultsCookie()
Returns the opaque cookie which should be used with the next paged results search request.- Returns:
- The opaque cookie which should be used with the next paged results search request, or
null
if paged results were not requested, or if there are not more pages to be returned.
-
setPagedResultsCookie
public void setPagedResultsCookie(String pagedResultsCookie)
- Parameters:
pagedResultsCookie
- The opaque cookie which should be used with the next paged results search request, ornull
if paged results were not requested, or if there are not more pages to be returned.
-
getRemainingPagedResults
public int getRemainingPagedResults()
Returns an estimate of the total number of remaining results to be returned in subsequent paged results search requests.- Returns:
- An estimate of the total number of remaining results to be returned in subsequent paged results search
requests, or
-1
if paged results were not requested, or if the total number of remaining results is unknown.
-
setRemainingPagedResults
public void setRemainingPagedResults(int remainingPagedResults)
- Parameters:
remainingPagedResults
- An estimate of the total number of remaining results to be returned in subsequent paged results search requests, or-1
if paged results were not requested, or if the total number of remaining results is unknown.
-
isAllResultsReturned
public boolean isAllResultsReturned()
Returns a flag indicating whether all the results other match a search query were returned.- Returns:
- true if the search returned all the results other match the query, false if the returned result is not complete, e.g. if the server returned only part of the results due to server limits, errors, etc.
-
setAllResultsReturned
public void setAllResultsReturned(boolean allResultsReturned)
- Parameters:
allResultsReturned
- Set to true if the search returned all the results other match the query. Set to false if the returned result is not complete, e.g. if the server returned only part of the results due to server limits, errors, etc.
-
getResult
public List<ConnObject> getResult()
-
-