mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Rename PagingDetails to ScriptPagingDetails in preparation for merging with PagingRequest. (JS object name is unchanged, which is the main use)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28310 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -91,7 +91,7 @@ public class ModelUtil
|
||||
*
|
||||
* @param paging The paging object with total, skip, max etc
|
||||
*/
|
||||
public static Map<String, Object> buildPaging(PagingDetails paging)
|
||||
public static Map<String, Object> buildPaging(ScriptPagingDetails paging)
|
||||
{
|
||||
return buildPaging(
|
||||
paging.getTotalItems(),
|
||||
@@ -102,9 +102,9 @@ public class ModelUtil
|
||||
|
||||
public static <T> List<T> page(Collection<T> objects, int maxItems, int skipCount)
|
||||
{
|
||||
return page(objects, new PagingDetails(maxItems, skipCount));
|
||||
return page(objects, new ScriptPagingDetails(maxItems, skipCount));
|
||||
}
|
||||
public static <T> List<T> page(Collection<T> objects, PagingDetails paging)
|
||||
public static <T> List<T> page(Collection<T> objects, ScriptPagingDetails paging)
|
||||
{
|
||||
int maxItems = paging.getMaxItems();
|
||||
int skipCount = paging.getSkipCount();
|
||||
|
Reference in New Issue
Block a user