public class BackendDomainsResource extends AbstractBackendCollectionResource<Domain,Directory> implements DomainsResource
AbstractBackendResource.EntityIdResolver, AbstractBackendResource.QueryIdResolver
BaseBackendResource.BackendFailureException, BaseBackendResource.EntityNotFoundException, BaseBackendResource.WebFaultException
CASE_SENSITIVE_CONSTRAINT_PARAMETER, FROM_CONSTRAINT_PARAMETER, LOG
ACCEPTED_STATUS, entityType, ID_SEPARATOR, mappingLocator, modelType, MONITOR_DELAY, subCollections
backend, httpHeaders, messageBundle, sessionHelper, uriInfo
Constructor and Description |
---|
BackendDomainsResource() |
Modifier and Type | Method and Description |
---|---|
protected Domain |
addParents(Domain domain)
Add any parent resource references needed for constructing links.
|
DomainResource |
getDomainSubResource(String id)
Sub-resource locator method, returns individual DomainResource on which the remainder of the URI is dispatched.
|
Domains |
list() |
Domain |
lookupDirectoryByDomain(String domain,
boolean addlinks) |
Domain |
lookupDirectoryById(String id,
boolean addlinks) |
protected javax.ws.rs.core.Response |
performRemove(String id) |
asString, expectBlocking, getBackendCollection, getBackendCollection, getBackendCollection, getEntity, handleAsynchrony, performCreation, remove, resolveCreated
addLinks, 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, urlEncode
doAction, doGetEntity, doNonBlockingAction, expectNonBlocking, getBackendCollection, getConfigurationValue, getEntity, getEntity, getEntity, performAction, performAction, performNonBlockingAction
asCollection, 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, validateParameters
public Domains list()
list
in interface DomainsResource
public DomainResource getDomainSubResource(String id)
DomainsResource
getDomainSubResource
in interface DomainsResource
id
- the domain IDprotected Domain addParents(Domain domain)
AbstractBackendResource
addParents
in class AbstractBackendResource<Domain,Directory>
protected javax.ws.rs.core.Response performRemove(String id)
performRemove
in class AbstractBackendCollectionResource<Domain,Directory>
Copyright © 2012. All Rights Reserved.