public class EntityResource extends AbstractEntityResource
APPLICATION_SCHEMA_JSON, APPLICATION_SCHEMA_JSON_TYPE, factory, SERVICE_VERSION_FORMAT
Constructor and Description |
---|
EntityResource() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
create(java.lang.String version,
java.lang.String persistenceUnit,
java.lang.String type,
javax.ws.rs.core.HttpHeaders hh,
javax.ws.rs.core.UriInfo uriInfo,
java.io.InputStream in) |
javax.ws.rs.core.Response |
delete(java.lang.String version,
java.lang.String persistenceUnit,
java.lang.String type,
java.lang.String id,
javax.ws.rs.core.HttpHeaders hh,
javax.ws.rs.core.UriInfo ui) |
javax.ws.rs.core.Response |
find(java.lang.String version,
java.lang.String persistenceUnit,
java.lang.String type,
java.lang.String id,
javax.ws.rs.core.HttpHeaders hh,
javax.ws.rs.core.UriInfo ui) |
javax.ws.rs.core.Response |
findAttribute(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 hh,
javax.ws.rs.core.UriInfo ui) |
javax.ws.rs.core.Response |
getEntityOptions(java.lang.String version,
java.lang.String persistenceUnit,
java.lang.String entityName,
javax.ws.rs.core.HttpHeaders httpHeaders,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
removeAttribute(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 hh,
javax.ws.rs.core.UriInfo ui) |
javax.ws.rs.core.Response |
setOrAddAttribute(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 hh,
javax.ws.rs.core.UriInfo ui,
java.io.InputStream in) |
javax.ws.rs.core.Response |
update(java.lang.String version,
java.lang.String persistenceUnit,
java.lang.String type,
javax.ws.rs.core.HttpHeaders hh,
javax.ws.rs.core.UriInfo uriInfo,
java.io.InputStream in) |
buildEntityOptionsResponse, createInternal, deleteInternal, findAttributeInternal, findInternal, removeAttributeInternal, setOrAddAttributeInternal, updateInternal
buildPersistenceContextFactory, getMatrixParameters, getPersistenceContext, getPersistenceFactory, getPersistenceFactory, getQueryParameters, getRelationshipPartner, isValidVersion, marshallMetadata, setPersistenceFactory, setRequestUniqueId
public javax.ws.rs.core.Response findAttribute(java.lang.String version, java.lang.String persistenceUnit, java.lang.String type, java.lang.String id, java.lang.String attribute, @Context javax.ws.rs.core.HttpHeaders hh, @Context javax.ws.rs.core.UriInfo ui)
public javax.ws.rs.core.Response find(java.lang.String version, java.lang.String persistenceUnit, java.lang.String type, java.lang.String id, @Context javax.ws.rs.core.HttpHeaders hh, @Context javax.ws.rs.core.UriInfo ui)
public javax.ws.rs.core.Response create(java.lang.String version, java.lang.String persistenceUnit, java.lang.String type, @Context javax.ws.rs.core.HttpHeaders hh, @Context javax.ws.rs.core.UriInfo uriInfo, java.io.InputStream in) throws java.lang.Exception
java.lang.Exception
public javax.ws.rs.core.Response update(java.lang.String version, java.lang.String persistenceUnit, java.lang.String type, @Context javax.ws.rs.core.HttpHeaders hh, @Context javax.ws.rs.core.UriInfo uriInfo, java.io.InputStream in)
public javax.ws.rs.core.Response setOrAddAttribute(java.lang.String version, java.lang.String persistenceUnit, java.lang.String type, java.lang.String id, java.lang.String attribute, @Context javax.ws.rs.core.HttpHeaders hh, @Context javax.ws.rs.core.UriInfo ui, java.io.InputStream in)
public javax.ws.rs.core.Response removeAttribute(java.lang.String version, java.lang.String persistenceUnit, java.lang.String type, java.lang.String id, java.lang.String attribute, @Context javax.ws.rs.core.HttpHeaders hh, @Context javax.ws.rs.core.UriInfo ui)
public javax.ws.rs.core.Response delete(java.lang.String version, java.lang.String persistenceUnit, java.lang.String type, java.lang.String id, @Context javax.ws.rs.core.HttpHeaders hh, @Context javax.ws.rs.core.UriInfo ui)
public javax.ws.rs.core.Response getEntityOptions(java.lang.String version, java.lang.String persistenceUnit, java.lang.String entityName, @Context javax.ws.rs.core.HttpHeaders httpHeaders, @Context javax.ws.rs.core.UriInfo uriInfo)