public class DomainResource extends AbstractYResource<DomainModel>
httpHeaders, providers, request, resourceCtx, securityCtx, serviceLocator, uriInfo| Constructor and Description |
|---|
DomainResource()
Generated constructor - for generic creation.
|
| Modifier and Type | Method and Description |
|---|---|
Response |
deleteDomain()
Generated HTTP method for covering DELETE requests.
|
AbstractYResource |
getComponentResource(java.lang.String resourceKey)
Generated getter for sub resource of type
ComponentResource for current root resource |
Response |
getDomain()
Generated HTTP method for covering GET requests.
|
DomainModel |
getDomainModel()
Convenience method which just delegates to
AbstractResource.getResourceValue() |
AbstractYResource |
getLinkResource(java.lang.String resourceKey)
Generated getter for sub resource of type
LinkResource for current root resource |
Response |
putDomain(DomainDTO dto)
Generated HTTP method for covering PUT requests.
|
protected DomainModel |
readResource(java.lang.String resourceId)
Gets the
DomainModel resource which is addressed by current resource request. |
void |
setDomainModel(DomainModel value)
Convenience method which just delegates to
#setResourceValue(DomainModel) |
createOrUpdatePostResource, createOrUpdateResource, deleteResource, getNotsavedModelForCreate, getObjectGraph, getResourceType, getUniqueMember, isAccessGranted, passUniqueMember, prepareJaloSession, processDtoId, readResourceInternal, setObjectGraph, setUniqueMember, setUserIntoJaloSessionafterDelete, afterPost, afterPut, beforeDelete, beforePost, beforePut, createDeleteResponse, createGetResponse, createPostResource, createPostResponse, createPutResponse, createPutResponse, createResource, getEventActionFactory, getPagingStrategy, getParentResource, getPostCommandHandler, getPutCommandHandler, getRequest, getResourceId, getResourceValue, getResponse, getSecurityContext, getSecurityStrategy, getServiceLocator, getUriInfo, isAccessGrantedExternal, notifyAfterDelete, notifyAfterGet, notifyAfterPost, notifyAfterPut, notifyBeforeDelete, notifyBeforeGet, notifyBeforePost, notifyBeforePut, processException, readPostResource, setCachingStrategy, setDeleteMethod, setEventActionFactory, setGetMethod, setPagingStrategy, setParentResource, setPostCommandHandler, setPostMethod, setPutCommandHandler, setPutMethod, setRequestProcessChain, setResourceId, setResourceValue, setSecurityStrategy, setServiceLocatorpublic DomainResource()
public Response deleteDomain()
javax.ws.rs.core.Responsepublic AbstractYResource getComponentResource(java.lang.String resourceKey)
ComponentResource for current root resourcepublic Response getDomain()
javax.ws.rs.core.Responsepublic DomainModel getDomainModel()
AbstractResource.getResourceValue()public AbstractYResource getLinkResource(java.lang.String resourceKey)
LinkResource for current root resourcepublic Response putDomain(DomainDTO dto)
javax.ws.rs.core.Responseprotected DomainModel readResource(java.lang.String resourceId) throws java.lang.Exception
DomainModel resource which is addressed by current resource request.readResource in class AbstractResource<DomainModel>java.lang.ExceptionAbstractResource.readResource(String)public void setDomainModel(DomainModel value)
#setResourceValue(DomainModel)Copyright © 2018 SAP SE. All Rights Reserved.