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