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