public class MaterialsResource
extends <any>
| Constructor and Description |
|---|
MaterialsResource()
Generated constructor - for generic creation.
|
| Modifier and Type | Method and Description |
|---|---|
Response |
getAllMaterials()
Generated HTTP method for covering GET requests.
|
AbstractYResource |
getMaterialResource(String resourceKey)
Generated getter for sub resource of type
MaterialResource for current root resource |
Collection<MaterialModel> |
getMaterialsCollection()
Convenience method which just delegates to
#getResourceValue() |
Response |
postMaterial(MaterialDTO dto)
Generated HTTP method for covering POST requests.
|
void |
setMaterialsCollection(Collection<MaterialModel> value)
Convenience method which just delegates to
#setResourceValue(Collection) |
public MaterialsResource()
public Response getAllMaterials()
Responsepublic AbstractYResource getMaterialResource(String resourceKey)
MaterialResource for current root resourcepublic Collection<MaterialModel> getMaterialsCollection()
#getResourceValue()public Response postMaterial(MaterialDTO dto)
Responsepublic void setMaterialsCollection(Collection<MaterialModel> value)
#setResourceValue(Collection)Copyright © 2017 SAP SE. All Rights Reserved.