public class OrgUnitResource extends AbstractYResource<OrgUnitModel>
httpHeaders, providers, request, resourceCtx, securityCtx, serviceLocator, uriInfo| Constructor and Description |
|---|
OrgUnitResource()
Generated constructor - for generic creation.
|
| Modifier and Type | Method and Description |
|---|---|
Response |
deleteOrgUnit()
Generated HTTP method for covering DELETE requests.
|
AbstractYResource |
getLinkResource(java.lang.String resourceKey)
Generated getter for sub resource of type
LinkResource for current root resource |
Response |
getOrgUnit()
Generated HTTP method for covering GET requests.
|
OrgUnitModel |
getOrgUnitModel()
Convenience method which just delegates to
AbstractResource.getResourceValue() |
AbstractYResource |
getSearchRestrictionResource(java.lang.String resourceKey)
Generated getter for sub resource of type
SearchRestrictionResource for current root resource |
Response |
putOrgUnit(OrgUnitDTO dto)
Generated HTTP method for covering PUT requests.
|
protected OrgUnitModel |
readResource(java.lang.String resourceId)
Gets the
OrgUnitModel resource which is addressed by current resource request. |
void |
setOrgUnitModel(OrgUnitModel value)
Convenience method which just delegates to
#setResourceValue(OrgUnitModel) |
createOrUpdatePostResource, createOrUpdateResource, deleteResource, getNotsavedModelForCreate, getObjectGraph, getResourceType, getUniqueMember, isAccessGranted, passUniqueMember, prepareJaloSession, processDtoId, readResourceInternal, setObjectGraph, setUniqueMember, setUserIntoJaloSessionafterDelete, afterPost, afterPut, beforeDelete, beforePost, beforePut, createDeleteResponse, createGetResponse, createPostResource, createPostResponse, createPutResponse, createPutResponse, createResource, getEventActionFactory, getPagingStrategy, getParentResource, getPostCommandHandler, getPutCommandHandler, getRequest, getResourceId, getResourceValue, getResponse, getSecurityContext, getSecurityStrategy, getServiceLocator, getUriInfo, isAccessGrantedExternal, notifyAfterDelete, notifyAfterGet, notifyAfterPost, notifyAfterPut, notifyBeforeDelete, notifyBeforeGet, notifyBeforePost, notifyBeforePut, processException, readPostResource, setCachingStrategy, setDeleteMethod, setEventActionFactory, setGetMethod, setPagingStrategy, setParentResource, setPostCommandHandler, setPostMethod, setPutCommandHandler, setPutMethod, setRequestProcessChain, setResourceId, setResourceValue, setSecurityStrategy, setServiceLocatorpublic OrgUnitResource()
public Response deleteOrgUnit()
javax.ws.rs.core.Responsepublic AbstractYResource getLinkResource(java.lang.String resourceKey)
LinkResource for current root resourcepublic Response getOrgUnit()
javax.ws.rs.core.Responsepublic OrgUnitModel getOrgUnitModel()
AbstractResource.getResourceValue()public AbstractYResource getSearchRestrictionResource(java.lang.String resourceKey)
SearchRestrictionResource for current root resourcepublic Response putOrgUnit(OrgUnitDTO dto)
javax.ws.rs.core.Responseprotected OrgUnitModel readResource(java.lang.String resourceId) throws java.lang.Exception
OrgUnitModel resource which is addressed by current resource request.readResource in class AbstractResource<OrgUnitModel>java.lang.ExceptionAbstractResource.readResource(String)public void setOrgUnitModel(OrgUnitModel value)
#setResourceValue(OrgUnitModel)Copyright © 2018 SAP SE. All Rights Reserved.