public class StaticRelationshipResource extends SortableResource
wrappedResourceidProperty, securityContext| Constructor and Description |
|---|
StaticRelationshipResource(SecurityContext securityContext,
TypedIdResource typedIdResource,
TypeResource typeResource) |
| 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) |
RestMethodResult |
doPost(Map<String,Object> propertySet) |
RestMethodResult |
doPut(Map<String,Object> propertySet) |
Class |
getEntityClass() |
String |
getResourceSignature() |
TypeResource |
getTypeConstraint() |
TypedIdResource |
getTypedIdConstraint() |
String |
getUriPart() |
boolean |
isCollectionResource() |
Resource |
tryCombineWith(Resource next) |
isPrimitiveArray, wrapResourceapplyDefaultSorting, buildLocationHeader, configureIdProperty, configurePropertyView, createPostTransaction, doDelete, doHead, doOptions, extractDistanceSearch, extractSearchableAttributes, findPropertyKey, parseInteger, postProcessResultSet, setSecurityContextpublic StaticRelationshipResource(SecurityContext securityContext, TypedIdResource typedIdResource, TypeResource typeResource)
public Result doGet(PropertyKey sortKey, boolean sortDescending, int pageSize, int page, String offsetId) throws FrameworkException
doGet in class ResourceFrameworkExceptionpublic RestMethodResult doPut(Map<String,Object> propertySet) throws FrameworkException
doPut in class ResourceFrameworkExceptionpublic RestMethodResult doPost(Map<String,Object> propertySet) throws FrameworkException
doPost in class WrappingResourceFrameworkExceptionpublic 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 Resource tryCombineWith(Resource next) throws FrameworkException
tryCombineWith in class SortableResourceFrameworkExceptionpublic Class getEntityClass()
getEntityClass in class WrappingResourcepublic String getUriPart()
getUriPart in class WrappingResourcepublic TypedIdResource getTypedIdConstraint()
public TypeResource getTypeConstraint()
public boolean isCollectionResource()
isCollectionResource in class WrappingResourcepublic String getResourceSignature()
getResourceSignature in class ResourceCopyright © 2014. All rights reserved.