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