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