Class AbstractEntityResource
java.lang.Object
org.eclipse.persistence.jpa.rs.resources.common.AbstractResource
org.eclipse.persistence.jpa.rs.resources.common.AbstractEntityResource
- Direct Known Subclasses:
EntityResource
Base class for entity resource.
-
Field Summary
Fields inherited from class org.eclipse.persistence.jpa.rs.resources.common.AbstractResource
APPLICATION_SCHEMA_JSON, APPLICATION_SCHEMA_JSON_TYPE, factory, SERVICE_VERSION_FORMAT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Response
buildEntityOptionsResponse
(String version, String persistenceUnit, String entityName, HttpHeaders httpHeaders, UriInfo uriInfo) protected Response
createInternal
(String version, String persistenceUnit, String type, HttpHeaders headers, UriInfo uriInfo, InputStream in) protected Response
deleteInternal
(String version, String persistenceUnit, String type, String id, HttpHeaders headers, UriInfo uriInfo) protected Response
findAttributeInternal
(String version, String persistenceUnit, String type, String id, String attribute, HttpHeaders headers, UriInfo uriInfo) protected Response
findInternal
(String version, String persistenceUnit, String type, String id, HttpHeaders headers, UriInfo uriInfo) protected Response
removeAttributeInternal
(String version, String persistenceUnit, String type, String id, String attribute, HttpHeaders headers, UriInfo uriInfo) protected Response
setOrAddAttributeInternal
(String version, String persistenceUnit, String type, String id, String attribute, HttpHeaders headers, UriInfo uriInfo, InputStream in) protected Response
updateInternal
(String version, String persistenceUnit, String type, HttpHeaders headers, UriInfo uriInfo, InputStream in) Methods inherited from class org.eclipse.persistence.jpa.rs.resources.common.AbstractResource
buildPersistenceContextFactory, getMatrixParameters, getPersistenceContext, getPersistenceFactory, getPersistenceFactory, getQueryParameters, getRelationshipPartner, isValidVersion, marshallMetadata, setPersistenceFactory, setRequestUniqueId
-
Constructor Details
-
AbstractEntityResource
public AbstractEntityResource()
-
-
Method Details
-
findAttributeInternal
-
findInternal
-
createInternal
protected Response createInternal(String version, String persistenceUnit, String type, HttpHeaders headers, UriInfo uriInfo, InputStream in) -
updateInternal
protected Response updateInternal(String version, String persistenceUnit, String type, HttpHeaders headers, UriInfo uriInfo, InputStream in) -
setOrAddAttributeInternal
protected Response setOrAddAttributeInternal(String version, String persistenceUnit, String type, String id, String attribute, HttpHeaders headers, UriInfo uriInfo, InputStream in) -
removeAttributeInternal
-
deleteInternal
-
buildEntityOptionsResponse
-