public class CarrierResource extends AbstractYResource<CarrierModel>
httpHeaders, providers, request, resourceCtx, securityCtx, serviceLocator, uriInfo| Constructor and Description |
|---|
CarrierResource()
Generated constructor - for generic creation.
|
| Modifier and Type | Method and Description |
|---|---|
Response |
deleteCarrier()
Generated HTTP method for covering DELETE requests.
|
Response |
getCarrier()
Generated HTTP method for covering GET requests.
|
CarrierModel |
getCarrierModel()
Convenience method which just delegates to
AbstractResource.getResourceValue() |
AbstractYResource |
getLinkResource(java.lang.String resourceKey)
Generated getter for sub resource of type
LinkResource for current root resource |
Response |
putCarrier(CarrierDTO dto)
Generated HTTP method for covering PUT requests.
|
protected CarrierModel |
readResource(java.lang.String resourceId)
Gets the
CarrierModel resource which is addressed by current resource request. |
void |
setCarrierModel(CarrierModel value)
Convenience method which just delegates to
#setResourceValue(CarrierModel) |
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 CarrierResource()
public Response deleteCarrier()
javax.ws.rs.core.Responsepublic Response getCarrier()
javax.ws.rs.core.Responsepublic CarrierModel getCarrierModel()
AbstractResource.getResourceValue()public AbstractYResource getLinkResource(java.lang.String resourceKey)
LinkResource for current root resourcepublic Response putCarrier(CarrierDTO dto)
javax.ws.rs.core.Responseprotected CarrierModel readResource(java.lang.String resourceId) throws java.lang.Exception
CarrierModel resource which is addressed by current resource request.readResource in class AbstractResource<CarrierModel>java.lang.ExceptionAbstractResource.readResource(String)public void setCarrierModel(CarrierModel value)
#setResourceValue(CarrierModel)Copyright © 2018 SAP SE. All Rights Reserved.