EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.jpa.rs.resources.common
Class AbstractEntityResource

java.lang.Object
  extended by org.eclipse.persistence.jpa.rs.resources.common.AbstractResource
      extended by org.eclipse.persistence.jpa.rs.resources.common.AbstractEntityResource
Direct Known Subclasses:
EntityResource, EntityResource

public abstract class AbstractEntityResource
extends AbstractResource

Author:
gonural

Field Summary
 
Fields inherited from class org.eclipse.persistence.jpa.rs.resources.common.AbstractResource
factory, SERVICE_VERSION_1_0, SERVICE_VERSION_FORMAT
 
Constructor Summary
AbstractEntityResource()
           
 
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
 

Constructor Detail

AbstractEntityResource

public AbstractEntityResource()
Method Detail

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)

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference