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