public class ProductRestrictionResource
extends <any>
| 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 |
getHMCHistoryEntryResource(String resourceKey)
Generated getter for sub resource of type
HMCHistoryEntryResource for current root resource |
AbstractYResource |
getLinkResource(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
#getResourceValue() |
Response |
putProductRestriction(ProductRestrictionDTO dto)
Generated HTTP method for covering PUT requests.
|
protected ProductRestrictionModel |
readResource(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) |
public ProductRestrictionResource()
public Response deleteProductRestriction()
Responsepublic AbstractYResource getHMCHistoryEntryResource(String resourceKey)
HMCHistoryEntryResource for current root resourcepublic AbstractYResource getLinkResource(String resourceKey)
LinkResource for current root resourcepublic Response getProductRestriction()
Responsepublic ProductRestrictionModel getProductRestrictionModel()
#getResourceValue()public Response putProductRestriction(ProductRestrictionDTO dto)
Responseprotected ProductRestrictionModel readResource(String resourceId) throws Exception
ProductRestrictionModel resource which is addressed by current resource request.Exceptionde.hybris.platform.webservices.AbstractYResource#readResource(String)public void setProductRestrictionModel(ProductRestrictionModel value)
#setResourceValue(ProductRestrictionModel)Copyright © 2017 SAP SE. All Rights Reserved.