org.eclipse.persistence.jpa.rs.resources
Class EntityResource
java.lang.Object
org.eclipse.persistence.jpa.rs.resources.common.AbstractResource
org.eclipse.persistence.jpa.rs.resources.common.AbstractEntityResource
org.eclipse.persistence.jpa.rs.resources.EntityResource
public class EntityResource
- extends AbstractEntityResource
- Author:
- gonural
Method Summary |
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 key,
javax.ws.rs.core.UriInfo ui,
javax.ws.rs.core.HttpHeaders hh)
|
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)
|
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)
|
javax.ws.rs.core.Response |
removeAttribute(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)
|
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.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)
|
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 |
EntityResource
public EntityResource()
findAttribute
public 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,
@Context
javax.ws.rs.core.HttpHeaders hh,
@Context
javax.ws.rs.core.UriInfo ui)
find
public javax.ws.rs.core.Response find(java.lang.String version,
java.lang.String persistenceUnit,
java.lang.String type,
java.lang.String key,
@Context
javax.ws.rs.core.HttpHeaders hh,
@Context
javax.ws.rs.core.UriInfo ui)
create
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 JAXBException
- Throws:
JAXBException
update
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)
setOrAddAttribute
public 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,
@Context
javax.ws.rs.core.HttpHeaders hh,
@Context
javax.ws.rs.core.UriInfo ui,
java.io.InputStream in)
removeAttribute
public javax.ws.rs.core.Response removeAttribute(java.lang.String version,
java.lang.String persistenceUnit,
java.lang.String type,
java.lang.String key,
java.lang.String attribute,
@Context
javax.ws.rs.core.HttpHeaders hh,
@Context
javax.ws.rs.core.UriInfo ui)
delete
public javax.ws.rs.core.Response delete(java.lang.String version,
java.lang.String persistenceUnit,
java.lang.String type,
java.lang.String key,
@Context
javax.ws.rs.core.UriInfo ui,
@Context
javax.ws.rs.core.HttpHeaders hh)