org.wso2.carbon.registry.rest.api
Class PaginationCalculation<E>

java.lang.Object
  extended by org.wso2.carbon.registry.rest.api.RegistryRestSuper
      extended by org.wso2.carbon.registry.rest.api.PaginationCalculation<E>
Direct Known Subclasses:
Associations, Comments, Properties, Revisions, Tag, Tags

public abstract class PaginationCalculation<E>
extends RegistryRestSuper


Constructor Summary
PaginationCalculation()
           
 
Method Summary
protected abstract  javax.ws.rs.core.Response getPaginatedResults(E[] e, int start, int size, String sortBy, String sortOrder)
           
 
Methods inherited from class org.wso2.carbon.registry.rest.api.RegistryRestSuper
getBegin, getEnd, getPageSize, getResourcePath, getTenantID, getUserRegistry, getUserRegistry, setBegin, setEnd, setPageSize, setUserRegistry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaginationCalculation

public PaginationCalculation()
Method Detail

getPaginatedResults

protected abstract javax.ws.rs.core.Response getPaginatedResults(E[] e,
                                                                 int start,
                                                                 int size,
                                                                 String sortBy,
                                                                 String sortOrder)


Copyright © 2015 WSO2. All rights reserved.