public class SchemaTypeResource extends Resource
| Modifier and Type | Field and Description |
|---|---|
protected Class |
entityClass |
protected String |
rawType |
protected javax.servlet.http.HttpServletRequest |
request |
protected TypeResource |
typeResource |
idProperty, securityContext| Constructor and Description |
|---|
SchemaTypeResource(SecurityContext securityContext,
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) |
Class |
getEntityClass() |
String |
getRawType() |
String |
getResourceSignature() |
String |
getUriPart() |
boolean |
isCollectionResource() |
Resource |
tryCombineWith(Resource next) |
applyDefaultSorting, buildLocationHeader, configureIdProperty, configurePropertyView, createPostTransaction, doDelete, doHead, doOptions, doPut, extractDistanceSearch, extractSearchableAttributes, findPropertyKey, isPrimitiveArray, parseInteger, postProcessResultSet, setSecurityContextprotected Class entityClass
protected String rawType
protected javax.servlet.http.HttpServletRequest request
protected TypeResource typeResource
public SchemaTypeResource(SecurityContext securityContext, TypeResource typeResource)
public boolean checkAndConfigure(String part, SecurityContext securityContext, javax.servlet.http.HttpServletRequest request) throws FrameworkException
ResourcecheckAndConfigure in class Resourcepart - the uri part that matched this resourcesecurityContext - the security context of the current requestrequest - the current requestFrameworkExceptionpublic Result doGet(PropertyKey sortKey, boolean sortDescending, int pageSize, int page, String offsetId) throws FrameworkException
doGet in class ResourceFrameworkExceptionpublic RestMethodResult doPost(Map<String,Object> propertySet) throws FrameworkException
doPost in class ResourceFrameworkExceptionpublic Resource tryCombineWith(Resource next) throws FrameworkException
tryCombineWith in class ResourceFrameworkExceptionpublic String getUriPart()
getUriPart in class Resourcepublic String getRawType()
public Class getEntityClass()
getEntityClass in class Resourcepublic String getResourceSignature()
getResourceSignature in class Resourcepublic boolean isCollectionResource()
isCollectionResource in class ResourceCopyright © 2014. All rights reserved.