public class SortResource extends WrappingResource
wrappedResourceidProperty, securityContext| Constructor and Description |
|---|
SortResource(SecurityContext securityContext,
String sortKey,
String sortOrder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkAndConfigure(String part,
SecurityContext securityContext,
javax.servlet.http.HttpServletRequest request)
Check and configure this instance with the given values.
|
Result |
doGet(PropertyKey sortKey,
boolean sortDescending,
int pageSize,
int page,
String offsetId) |
String |
getResourceSignature() |
String |
getSortKey() |
String |
getSortOrder() |
void |
postProcessResultSet(Result result) |
Resource |
tryCombineWith(Resource next) |
doPost, getEntityClass, getUriPart, isCollectionResource, isPrimitiveArray, wrapResourceapplyDefaultSorting, buildLocationHeader, configureIdProperty, configurePropertyView, createPostTransaction, doDelete, doHead, doOptions, doPut, extractDistanceSearch, extractSearchableAttributes, findPropertyKey, parseInteger, setSecurityContextpublic SortResource(SecurityContext securityContext, String sortKey, String sortOrder)
public boolean checkAndConfigure(String part, SecurityContext securityContext, javax.servlet.http.HttpServletRequest request)
ResourcecheckAndConfigure in class Resourcepart - the uri part that matched this resourcesecurityContext - the security context of the current requestrequest - the current requestpublic Result doGet(PropertyKey sortKey, boolean sortDescending, int pageSize, int page, String offsetId) throws FrameworkException
doGet in class ResourceFrameworkExceptionpublic Resource tryCombineWith(Resource next) throws FrameworkException
tryCombineWith in class WrappingResourceFrameworkExceptionpublic String getSortOrder()
public String getSortKey()
public void postProcessResultSet(Result result)
postProcessResultSet in class Resourcepublic String getResourceSignature()
getResourceSignature in class ResourceCopyright © 2014. All rights reserved.