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
,EntityResource
Base class for entity resource.
- Author:
- gonural
-
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 jakarta.ws.rs.core.Response
buildEntityOptionsResponse
(String version, String persistenceUnit, String entityName, jakarta.ws.rs.core.HttpHeaders httpHeaders, jakarta.ws.rs.core.UriInfo uriInfo) protected jakarta.ws.rs.core.Response
createInternal
(String version, String persistenceUnit, String type, jakarta.ws.rs.core.HttpHeaders headers, jakarta.ws.rs.core.UriInfo uriInfo, InputStream in) protected jakarta.ws.rs.core.Response
deleteInternal
(String version, String persistenceUnit, String type, String id, jakarta.ws.rs.core.HttpHeaders headers, jakarta.ws.rs.core.UriInfo uriInfo) protected jakarta.ws.rs.core.Response
findAttributeInternal
(String version, String persistenceUnit, String type, String id, String attribute, jakarta.ws.rs.core.HttpHeaders headers, jakarta.ws.rs.core.UriInfo uriInfo) protected jakarta.ws.rs.core.Response
findInternal
(String version, String persistenceUnit, String type, String id, jakarta.ws.rs.core.HttpHeaders headers, jakarta.ws.rs.core.UriInfo uriInfo) protected jakarta.ws.rs.core.Response
removeAttributeInternal
(String version, String persistenceUnit, String type, String id, String attribute, jakarta.ws.rs.core.HttpHeaders headers, jakarta.ws.rs.core.UriInfo uriInfo) protected jakarta.ws.rs.core.Response
setOrAddAttributeInternal
(String version, String persistenceUnit, String type, String id, String attribute, jakarta.ws.rs.core.HttpHeaders headers, jakarta.ws.rs.core.UriInfo uriInfo, InputStream in) protected jakarta.ws.rs.core.Response
updateInternal
(String version, String persistenceUnit, String type, jakarta.ws.rs.core.HttpHeaders headers, jakarta.ws.rs.core.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 jakarta.ws.rs.core.Response createInternal(String version, String persistenceUnit, String type, jakarta.ws.rs.core.HttpHeaders headers, jakarta.ws.rs.core.UriInfo uriInfo, InputStream in) -
updateInternal
protected jakarta.ws.rs.core.Response updateInternal(String version, String persistenceUnit, String type, jakarta.ws.rs.core.HttpHeaders headers, jakarta.ws.rs.core.UriInfo uriInfo, InputStream in) -
setOrAddAttributeInternal
-
removeAttributeInternal
-
deleteInternal
-
buildEntityOptionsResponse
-