org.eclipse.persistence.jpa.rs.resources.common
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
public abstract class AbstractEntityResource
- extends AbstractResource
- Author:
- gonural
Method Summary |
protected 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.net.URI baseURI,
java.io.InputStream in)
|
protected javax.ws.rs.core.Response |
delete(java.lang.String version,
java.lang.String persistenceUnit,
java.lang.String type,
java.lang.String key,
javax.ws.rs.core.UriInfo ui,
javax.ws.rs.core.HttpHeaders hh,
java.net.URI baseURI)
|
protected javax.ws.rs.core.Response |
find(java.lang.String version,
java.lang.String persistenceUnit,
java.lang.String type,
java.lang.String key,
javax.ws.rs.core.HttpHeaders hh,
javax.ws.rs.core.UriInfo ui,
java.net.URI baseURI)
|
protected javax.ws.rs.core.Response |
findAttribute(java.lang.String version,
java.lang.String persistenceUnit,
java.lang.String type,
java.lang.String key,
java.lang.String attribute,
javax.ws.rs.core.HttpHeaders hh,
javax.ws.rs.core.UriInfo ui,
java.net.URI baseURI)
|
protected javax.ws.rs.core.Response |
removeAttributeInternal(java.lang.String version,
java.lang.String persistenceUnit,
java.lang.String type,
java.lang.String key,
java.lang.String attribute,
javax.ws.rs.core.HttpHeaders hh,
javax.ws.rs.core.UriInfo ui)
|
protected javax.ws.rs.core.Response |
setOrAddAttribute(java.lang.String version,
java.lang.String persistenceUnit,
java.lang.String type,
java.lang.String key,
java.lang.String attribute,
javax.ws.rs.core.HttpHeaders hh,
javax.ws.rs.core.UriInfo ui,
java.net.URI baseURI,
java.io.InputStream in)
|
protected 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.net.URI baseURI,
java.io.InputStream in)
|
Methods inherited from class org.eclipse.persistence.jpa.rs.resources.common.AbstractResource |
buildPersistenceContextFactory, createShellJAXBElementList, getMatrixParameters, getPersistenceContext, getPersistenceFactory, getPersistenceFactory, getQueryParameters, getRelationshipPartner, isValidVersion, marshallMetadata, setPersistenceFactory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractEntityResource
public AbstractEntityResource()
findAttribute
protected javax.ws.rs.core.Response findAttribute(java.lang.String version,
java.lang.String persistenceUnit,
java.lang.String type,
java.lang.String key,
java.lang.String attribute,
javax.ws.rs.core.HttpHeaders hh,
javax.ws.rs.core.UriInfo ui,
java.net.URI baseURI)
find
protected javax.ws.rs.core.Response find(java.lang.String version,
java.lang.String persistenceUnit,
java.lang.String type,
java.lang.String key,
javax.ws.rs.core.HttpHeaders hh,
javax.ws.rs.core.UriInfo ui,
java.net.URI baseURI)
create
protected 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.net.URI baseURI,
java.io.InputStream in)
throws JAXBException
- Throws:
JAXBException
update
protected 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.net.URI baseURI,
java.io.InputStream in)
setOrAddAttribute
protected javax.ws.rs.core.Response setOrAddAttribute(java.lang.String version,
java.lang.String persistenceUnit,
java.lang.String type,
java.lang.String key,
java.lang.String attribute,
javax.ws.rs.core.HttpHeaders hh,
javax.ws.rs.core.UriInfo ui,
java.net.URI baseURI,
java.io.InputStream in)
removeAttributeInternal
protected javax.ws.rs.core.Response removeAttributeInternal(java.lang.String version,
java.lang.String persistenceUnit,
java.lang.String type,
java.lang.String key,
java.lang.String attribute,
javax.ws.rs.core.HttpHeaders hh,
javax.ws.rs.core.UriInfo ui)
delete
protected javax.ws.rs.core.Response delete(java.lang.String version,
java.lang.String persistenceUnit,
java.lang.String type,
java.lang.String key,
javax.ws.rs.core.UriInfo ui,
javax.ws.rs.core.HttpHeaders hh,
java.net.URI baseURI)