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