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