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