EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.jpa.rs.resources.unversioned
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.unversioned.EntityResource

Deprecated. Use EntityResource instead.

public class EntityResource
extends AbstractEntityResource


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()
          Deprecated.  
 
Method Summary
 javax.ws.rs.core.Response create(java.lang.String persistenceUnit, java.lang.String type, javax.ws.rs.core.HttpHeaders hh, javax.ws.rs.core.UriInfo uriInfo, java.io.InputStream in)
          Deprecated.  
 javax.ws.rs.core.Response delete(java.lang.String persistenceUnit, java.lang.String type, java.lang.String key, javax.ws.rs.core.UriInfo ui, javax.ws.rs.core.HttpHeaders hh)
          Deprecated.  
 javax.ws.rs.core.Response find(java.lang.String persistenceUnit, java.lang.String type, java.lang.String key, javax.ws.rs.core.HttpHeaders hh, javax.ws.rs.core.UriInfo ui)
          Deprecated.  
 javax.ws.rs.core.Response findAttribute(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)
          Deprecated.  
 javax.ws.rs.core.Response removeAttribute(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)
          Deprecated.  
 javax.ws.rs.core.Response setOrAddAttribute(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)
          Deprecated.  
 javax.ws.rs.core.Response update(java.lang.String persistenceUnit, java.lang.String type, javax.ws.rs.core.HttpHeaders hh, javax.ws.rs.core.UriInfo uriInfo, java.io.InputStream in)
          Deprecated.  
 
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()
Deprecated. 
Method Detail

findAttribute

public javax.ws.rs.core.Response findAttribute(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)
Deprecated. 

find

public javax.ws.rs.core.Response find(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)
Deprecated. 

create

public javax.ws.rs.core.Response create(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
Deprecated. 
Throws:
JAXBException

update

public javax.ws.rs.core.Response update(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)
Deprecated. 

setOrAddAttribute

public javax.ws.rs.core.Response setOrAddAttribute(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)
Deprecated. 

removeAttribute

public javax.ws.rs.core.Response removeAttribute(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)
Deprecated. 

delete

public javax.ws.rs.core.Response delete(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)
Deprecated. 

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference