public class BackendPermitsResource extends AbstractBackendCollectionResource<Permit,ActionGroup> implements PermitsResource
| Modifier and Type | Class and Description |
|---|---|
protected class |
BackendPermitsResource.PermitIdResolver |
AbstractBackendResource.EntityIdResolver, AbstractBackendResource.QueryIdResolverBaseBackendResource.BackendFailureException, BaseBackendResource.EntityNotFoundException, BaseBackendResource.WebFaultException| Modifier and Type | Field and Description |
|---|---|
protected Guid |
roleId |
CASE_SENSITIVE_CONSTRAINT_PARAMETER, FROM_CONSTRAINT_PARAMETER, LOGACCEPTED_STATUS, entityType, ID_SEPARATOR, mappingLocator, modelType, MONITOR_DELAY, subCollectionsbackend, httpHeaders, messageBundle, sessionHelper, uriInfo| Constructor and Description |
|---|
BackendPermitsResource(Guid roleId) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
add(Permit permit)
Adds a Permit to the set aggregated by parent Role.
|
Permit |
addParents(Permit permit)
Add any parent resource references needed for constructing links.
|
PermitResource |
getPermitSubResource(String id)
Sub-resource locator method, returns individual PermitResource on which
the remainder of the URI is dispatched.
|
Permits |
list() |
ActionGroup |
lookupId(String id) |
protected Permits |
mapCollection(List<ActionGroup> entities) |
javax.ws.rs.core.Response |
performRemove(String id) |
asString, expectBlocking, getBackendCollection, getBackendCollection, getBackendCollection, getEntity, handleAsynchrony, performCreation, remove, resolveCreatedaddLinks, addLinks, addLinks, addLinks, addOrUpdateLink, asCollection, asGuidOr404, asString, awaitCompletion, delay, entityNotFound, getAsynchronousStatus, getMapper, getMappingLocator, getQueryParams, incomplete, inject, injectSearchLinks, linkSubCollections, linkSubResource, map, map, map, map, newModel, notFound, notFound, populate, removeIfExist, setMappingLocator, urlEncodedoAction, doGetEntity, doNonBlockingAction, expectNonBlocking, getBackendCollection, getConfigurationValue, getEntity, getEntity, getEntity, performAction, performAction, performNonBlockingActionasCollection, asGuid, asGuid, combine, fault, getBackend, getCurrent, getEffectiveLocale, getHttpHeaders, getMessageBundle, getSessionHelper, getUriInfo, handleError, handleError, instantiate, localize, localize, localize, sessionize, sessionize, setBackend, setHttpHeaders, setMessageBundle, setSessionHelper, setUriInfo, validateEnum, validateParameters, validateParametersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitremoveprotected Guid roleId
public BackendPermitsResource(Guid roleId)
public Permits list()
list in interface PermitsResourcepublic javax.ws.rs.core.Response add(Permit permit)
PermitsResourceadd in interface PermitsResourcepermit - the Permit to addpublic javax.ws.rs.core.Response performRemove(String id)
performRemove in class AbstractBackendCollectionResource<Permit,ActionGroup>public PermitResource getPermitSubResource(String id)
PermitsResourcegetPermitSubResource in interface PermitsResourceid - the Permit IDpublic ActionGroup lookupId(String id)
protected Permits mapCollection(List<ActionGroup> entities)
public Permit addParents(Permit permit)
AbstractBackendResourceaddParents in class AbstractBackendResource<Permit,ActionGroup>Copyright © 2012. All Rights Reserved.