public class MaterialResource extends AbstractYResource<MaterialModel>
httpHeaders, providers, request, resourceCtx, securityCtx, serviceLocator, uriInfo| Constructor and Description |
|---|
MaterialResource()
Generated constructor - for generic creation.
|
| Modifier and Type | Method and Description |
|---|---|
Response |
deleteMaterial()
Generated HTTP method for covering DELETE requests.
|
AbstractYResource |
getLinkResource(java.lang.String resourceKey)
Generated getter for sub resource of type
LinkResource for current root resource |
Response |
getMaterial()
Generated HTTP method for covering GET requests.
|
MaterialModel |
getMaterialModel()
Convenience method which just delegates to
AbstractResource.getResourceValue() |
Response |
putMaterial(MaterialDTO dto)
Generated HTTP method for covering PUT requests.
|
protected MaterialModel |
readResource(java.lang.String resourceId)
Gets the
MaterialModel resource which is addressed by current resource request. |
void |
setMaterialModel(MaterialModel value)
Convenience method which just delegates to
#setResourceValue(MaterialModel) |
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 MaterialResource()
public Response deleteMaterial()
javax.ws.rs.core.Responsepublic AbstractYResource getLinkResource(java.lang.String resourceKey)
LinkResource for current root resourcepublic Response getMaterial()
javax.ws.rs.core.Responsepublic MaterialModel getMaterialModel()
AbstractResource.getResourceValue()public Response putMaterial(MaterialDTO dto)
javax.ws.rs.core.Responseprotected MaterialModel readResource(java.lang.String resourceId) throws java.lang.Exception
MaterialModel resource which is addressed by current resource request.readResource in class AbstractResource<MaterialModel>java.lang.ExceptionAbstractResource.readResource(String)public void setMaterialModel(MaterialModel value)
#setResourceValue(MaterialModel)Copyright © 2018 SAP SE. All Rights Reserved.