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