public class CountryResource
extends <any>
| Constructor and Description |
|---|
CountryResource()
Generated constructor - for generic creation.
|
| Modifier and Type | Method and Description |
|---|---|
Response |
deleteCountry()
Generated HTTP method for covering DELETE requests.
|
Response |
getCountry()
Generated HTTP method for covering GET requests.
|
CountryModel |
getCountryModel()
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 |
AbstractYResource |
getRegionResource(String resourceKey)
Generated getter for sub resource of type
RegionResource for current root resource |
Response |
putCountry(CountryDTO dto)
Generated HTTP method for covering PUT requests.
|
protected CountryModel |
readResource(String resourceId)
Gets the
CountryModel resource which is addressed by current resource request. |
void |
setCountryModel(CountryModel value)
Convenience method which just delegates to
#setResourceValue(CountryModel) |
public CountryResource()
public Response deleteCountry()
Responsepublic Response getCountry()
Responsepublic CountryModel getCountryModel()
#getResourceValue()public AbstractYResource getHMCHistoryEntryResource(String resourceKey)
HMCHistoryEntryResource for current root resourcepublic AbstractYResource getLinkResource(String resourceKey)
LinkResource for current root resourcepublic AbstractYResource getRegionResource(String resourceKey)
RegionResource for current root resourcepublic Response putCountry(CountryDTO dto)
Responseprotected CountryModel readResource(String resourceId) throws Exception
CountryModel resource which is addressed by current resource request.Exceptionde.hybris.platform.webservices.AbstractYResource#readResource(String)public void setCountryModel(CountryModel value)
#setResourceValue(CountryModel)Copyright © 2017 SAP SE. All Rights Reserved.