public abstract class AbstractEntityResource extends AbstractResource
APPLICATION_SCHEMA_JSON, APPLICATION_SCHEMA_JSON_TYPE, factory, SERVICE_VERSION_FORMAT
Constructor and Description |
---|
AbstractEntityResource() |
Modifier and Type | Method and Description |
---|---|
protected javax.ws.rs.core.Response |
buildEntityOptionsResponse(java.lang.String version,
java.lang.String persistenceUnit,
java.lang.String entityName,
javax.ws.rs.core.HttpHeaders httpHeaders,
javax.ws.rs.core.UriInfo uriInfo) |
protected javax.ws.rs.core.Response |
createInternal(java.lang.String version,
java.lang.String persistenceUnit,
java.lang.String type,
javax.ws.rs.core.HttpHeaders headers,
javax.ws.rs.core.UriInfo uriInfo,
java.io.InputStream in) |
protected javax.ws.rs.core.Response |
deleteInternal(java.lang.String version,
java.lang.String persistenceUnit,
java.lang.String type,
java.lang.String id,
javax.ws.rs.core.HttpHeaders headers,
javax.ws.rs.core.UriInfo uriInfo) |
protected javax.ws.rs.core.Response |
findAttributeInternal(java.lang.String version,
java.lang.String persistenceUnit,
java.lang.String type,
java.lang.String id,
java.lang.String attribute,
javax.ws.rs.core.HttpHeaders headers,
javax.ws.rs.core.UriInfo uriInfo) |
protected javax.ws.rs.core.Response |
findInternal(java.lang.String version,
java.lang.String persistenceUnit,
java.lang.String type,
java.lang.String id,
javax.ws.rs.core.HttpHeaders headers,
javax.ws.rs.core.UriInfo uriInfo) |
protected javax.ws.rs.core.Response |
removeAttributeInternal(java.lang.String version,
java.lang.String persistenceUnit,
java.lang.String type,
java.lang.String id,
java.lang.String attribute,
javax.ws.rs.core.HttpHeaders headers,
javax.ws.rs.core.UriInfo uriInfo) |
protected javax.ws.rs.core.Response |
setOrAddAttributeInternal(java.lang.String version,
java.lang.String persistenceUnit,
java.lang.String type,
java.lang.String id,
java.lang.String attribute,
javax.ws.rs.core.HttpHeaders headers,
javax.ws.rs.core.UriInfo uriInfo,
java.io.InputStream in) |
protected javax.ws.rs.core.Response |
updateInternal(java.lang.String version,
java.lang.String persistenceUnit,
java.lang.String type,
javax.ws.rs.core.HttpHeaders headers,
javax.ws.rs.core.UriInfo uriInfo,
java.io.InputStream in) |
buildPersistenceContextFactory, getMatrixParameters, getPersistenceContext, getPersistenceFactory, getPersistenceFactory, getQueryParameters, getRelationshipPartner, isValidVersion, marshallMetadata, setPersistenceFactory, setRequestUniqueId
protected javax.ws.rs.core.Response findAttributeInternal(java.lang.String version, java.lang.String persistenceUnit, java.lang.String type, java.lang.String id, java.lang.String attribute, javax.ws.rs.core.HttpHeaders headers, javax.ws.rs.core.UriInfo uriInfo)
protected javax.ws.rs.core.Response findInternal(java.lang.String version, java.lang.String persistenceUnit, java.lang.String type, java.lang.String id, javax.ws.rs.core.HttpHeaders headers, javax.ws.rs.core.UriInfo uriInfo)
protected javax.ws.rs.core.Response createInternal(java.lang.String version, java.lang.String persistenceUnit, java.lang.String type, javax.ws.rs.core.HttpHeaders headers, javax.ws.rs.core.UriInfo uriInfo, java.io.InputStream in)
protected javax.ws.rs.core.Response updateInternal(java.lang.String version, java.lang.String persistenceUnit, java.lang.String type, javax.ws.rs.core.HttpHeaders headers, javax.ws.rs.core.UriInfo uriInfo, java.io.InputStream in)
protected javax.ws.rs.core.Response setOrAddAttributeInternal(java.lang.String version, java.lang.String persistenceUnit, java.lang.String type, java.lang.String id, java.lang.String attribute, javax.ws.rs.core.HttpHeaders headers, javax.ws.rs.core.UriInfo uriInfo, java.io.InputStream in)
protected javax.ws.rs.core.Response removeAttributeInternal(java.lang.String version, java.lang.String persistenceUnit, java.lang.String type, java.lang.String id, java.lang.String attribute, javax.ws.rs.core.HttpHeaders headers, javax.ws.rs.core.UriInfo uriInfo)
protected javax.ws.rs.core.Response deleteInternal(java.lang.String version, java.lang.String persistenceUnit, java.lang.String type, java.lang.String id, javax.ws.rs.core.HttpHeaders headers, javax.ws.rs.core.UriInfo uriInfo)
protected javax.ws.rs.core.Response buildEntityOptionsResponse(java.lang.String version, java.lang.String persistenceUnit, java.lang.String entityName, javax.ws.rs.core.HttpHeaders httpHeaders, javax.ws.rs.core.UriInfo uriInfo)