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