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