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