Class LimitedPagedRequestImpl
java.lang.Object
com.atlassian.servicedesk.api.util.paging.LimitedPagedRequestImpl
- All Implemented Interfaces:
LimitedPagedRequest
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedLimitedPagedRequestImpl(int start, int limit, int maxLimit) protectedLimitedPagedRequestImpl(PagedRequest request, int maxLimit) -
Method Summary
Modifier and TypeMethodDescriptionstatic LimitedPagedRequestcreate(int maxLimit) static LimitedPagedRequestcreate(int start, int limit, int maxLimit) static LimitedPagedRequestcreate(PagedRequest request, int maxLimit) booleanintgetLimit()intintgetStart()Index of the first item to include in the result set.inthashCode()toString()
-
Constructor Details
-
LimitedPagedRequestImpl
-
LimitedPagedRequestImpl
protected LimitedPagedRequestImpl(int start, int limit, int maxLimit)
-
-
Method Details
-
create
-
create
-
create
-
getStart
public int getStart()Description copied from interface:LimitedPagedRequestIndex of the first item to include in the result set.- Specified by:
getStartin interfaceLimitedPagedRequest
-
getLimit
public int getLimit()- Specified by:
getLimitin interfaceLimitedPagedRequest- Returns:
- the maximum results to fetch to attempt to fulfil the request
-
getMaxLimit
public int getMaxLimit()- Specified by:
getMaxLimitin interfaceLimitedPagedRequest- Returns:
- the maximum limit for this request
-
toString
-
hashCode
public int hashCode() -
equals
-