DEFAULT_PAGE_SIZE : collectionRepresentation.getPageStatistics().getPageSize());
}
public BaseCollectionRepresentation getPage(BaseCollectionRepresentation collectionRepresentation, int pageNumber, int pageSize) {
if (collectionRepresentation == null || collectionRepresentation.getSelf() == null) {
throw new SDKException("Unable to determin the Resource URL. ");
}
Map params = new HashMap();
params.put(PAGE_SIZE_KEY, String.valueOf(pageSize < 1 ? DEFAULT_PAGE_SIZE : pageSize));
params.put(PAGE_NUMBER_KEY, String.valueOf(pageNumber));