EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.jpa.rs.resources
Class EntityResource

java.lang.Object
  extended by org.eclipse.persistence.jpa.rs.resources.common.AbstractResource
      extended by org.eclipse.persistence.jpa.rs.resources.common.AbstractEntityResource
          extended by org.eclipse.persistence.jpa.rs.resources.EntityResource

public class EntityResource
extends AbstractEntityResource

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
EntityResource()
           
 
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.AbstractEntityResource
create, delete, find, findAttribute, removeAttributeInternal, setOrAddAttribute, update
 
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

EntityResource

public EntityResource()
Method Detail

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)

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference