public class ConsignmentsResource extends AbstractCollectionResource<java.util.Collection<ConsignmentModel>>
httpHeaders, providers, request, resourceCtx, securityCtx, serviceLocator, uriInfo| Constructor and Description |
|---|
ConsignmentsResource()
Generated constructor - for generic creation.
|
| Modifier and Type | Method and Description |
|---|---|
Response |
getAllConsignments()
Generated HTTP method for covering GET requests.
|
AbstractYResource |
getConsignmentResource(java.lang.String resourceKey)
Generated getter for sub resource of type
ConsignmentResource for current root resource |
java.util.Collection<ConsignmentModel> |
getConsignmentsCollection()
Convenience method which just delegates to
AbstractResource.getResourceValue() |
Response |
postConsignment(ConsignmentDTO dto)
Generated HTTP method for covering POST requests.
|
void |
setConsignmentsCollection(java.util.Collection<ConsignmentModel> value)
Convenience method which just delegates to
#setResourceValue(Collection) |
isRoot, readResource, readResourcesByTypecreateOrUpdatePostResource, 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 ConsignmentsResource()
public Response getAllConsignments()
javax.ws.rs.core.Responsepublic AbstractYResource getConsignmentResource(java.lang.String resourceKey)
ConsignmentResource for current root resourcepublic java.util.Collection<ConsignmentModel> getConsignmentsCollection()
AbstractResource.getResourceValue()public Response postConsignment(ConsignmentDTO dto)
javax.ws.rs.core.Responsepublic void setConsignmentsCollection(java.util.Collection<ConsignmentModel> value)
#setResourceValue(Collection)Copyright © 2018 SAP SE. All Rights Reserved.