public class ItemResource
extends <any>
| Constructor and Description |
|---|
ItemResource()
Generated constructor - for generic creation.
|
| Modifier and Type | Method and Description |
|---|---|
Response |
deleteItem()
Generated HTTP method for covering DELETE requests.
|
AbstractYResource |
getHMCHistoryEntryResource(String resourceKey)
Generated getter for sub resource of type
HMCHistoryEntryResource for current root resource |
Response |
getItem()
Generated HTTP method for covering GET requests.
|
ItemModel |
getItemModel()
Convenience method which just delegates to
#getResourceValue() |
AbstractYResource |
getLinkResource(String resourceKey)
Generated getter for sub resource of type
LinkResource for current root resource |
Response |
putItem(ItemDTO dto)
Generated HTTP method for covering PUT requests.
|
protected ItemModel |
readResource(String resourceId)
Gets the
ItemModel resource which is addressed by current resource request. |
void |
setItemModel(ItemModel value)
Convenience method which just delegates to
#setResourceValue(ItemModel) |
public Response deleteItem()
Responsepublic AbstractYResource getHMCHistoryEntryResource(String resourceKey)
HMCHistoryEntryResource for current root resourcepublic Response getItem()
Responsepublic ItemModel getItemModel()
#getResourceValue()public AbstractYResource getLinkResource(String resourceKey)
LinkResource for current root resourcepublic Response putItem(ItemDTO dto)
Responseprotected ItemModel readResource(String resourceId) throws Exception
ItemModel resource which is addressed by current resource request.Exceptionde.hybris.platform.webservices.AbstractYResource#readResource(String)public void setItemModel(ItemModel value)
#setResourceValue(ItemModel)Copyright © 2017 SAP SE. All Rights Reserved.