public class MaterialResource
extends <any>
| Constructor and Description |
|---|
MaterialResource()
Generated constructor - for generic creation.
|
| Modifier and Type | Method and Description |
|---|---|
Response |
deleteMaterial()
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 |
getMaterial()
Generated HTTP method for covering GET requests.
|
MaterialModel |
getMaterialModel()
Convenience method which just delegates to
#getResourceValue() |
Response |
putMaterial(MaterialDTO dto)
Generated HTTP method for covering PUT requests.
|
protected MaterialModel |
readResource(String resourceId)
Gets the
MaterialModel resource which is addressed by current resource request. |
void |
setMaterialModel(MaterialModel value)
Convenience method which just delegates to
#setResourceValue(MaterialModel) |
public MaterialResource()
public Response deleteMaterial()
Responsepublic AbstractYResource getHMCHistoryEntryResource(String resourceKey)
HMCHistoryEntryResource for current root resourcepublic AbstractYResource getLinkResource(String resourceKey)
LinkResource for current root resourcepublic Response getMaterial()
Responsepublic MaterialModel getMaterialModel()
#getResourceValue()public Response putMaterial(MaterialDTO dto)
Responseprotected MaterialModel readResource(String resourceId) throws Exception
MaterialModel resource which is addressed by current resource request.Exceptionde.hybris.platform.webservices.AbstractYResource#readResource(String)public void setMaterialModel(MaterialModel value)
#setResourceValue(MaterialModel)Copyright © 2017 SAP SE. All Rights Reserved.