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