EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

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

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

public class AbstractPersistenceUnitResource
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
AbstractPersistenceUnitResource()
           
 
Method Summary
protected  void addMapping(org.eclipse.persistence.internal.jpa.rs.metadata.model.Descriptor descriptor, DatabaseMapping mapping)
           
protected  void addQueries(java.util.List<org.eclipse.persistence.internal.jpa.rs.metadata.model.Query> queryList, PersistenceContext app, java.lang.String javaClassName)
           
protected  org.eclipse.persistence.internal.jpa.rs.metadata.model.Descriptor buildDescriptor(PersistenceContext app, java.lang.String persistenceUnit, ClassDescriptor descriptor, java.lang.String baseUri)
           
protected  javax.ws.rs.core.Response getDescriptorMetadata(java.lang.String version, java.lang.String persistenceUnit, java.lang.String descriptorAlias, javax.ws.rs.core.HttpHeaders hh, java.net.URI baseURI)
           
protected  javax.ws.rs.core.Response getQueriesMetadata(java.lang.String version, java.lang.String persistenceUnit, javax.ws.rs.core.HttpHeaders hh, java.net.URI baseURI)
           
protected  org.eclipse.persistence.internal.jpa.rs.metadata.model.Query getQuery(DatabaseQuery query, PersistenceContext app)
           
protected  javax.ws.rs.core.Response getQueryMetadata(java.lang.String version, java.lang.String persistenceUnit, java.lang.String queryName, javax.ws.rs.core.HttpHeaders hh, java.net.URI baseURI)
           
 javax.ws.rs.core.Response getTypes(java.lang.String version, java.lang.String persistenceUnit, javax.ws.rs.core.HttpHeaders hh, java.net.URI baseURI)
           
 
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

AbstractPersistenceUnitResource

public AbstractPersistenceUnitResource()
Method Detail

getDescriptorMetadata

protected javax.ws.rs.core.Response getDescriptorMetadata(java.lang.String version,
                                                          java.lang.String persistenceUnit,
                                                          java.lang.String descriptorAlias,
                                                          javax.ws.rs.core.HttpHeaders hh,
                                                          java.net.URI baseURI)

getQueriesMetadata

protected javax.ws.rs.core.Response getQueriesMetadata(java.lang.String version,
                                                       java.lang.String persistenceUnit,
                                                       javax.ws.rs.core.HttpHeaders hh,
                                                       java.net.URI baseURI)

getQueryMetadata

protected javax.ws.rs.core.Response getQueryMetadata(java.lang.String version,
                                                     java.lang.String persistenceUnit,
                                                     java.lang.String queryName,
                                                     javax.ws.rs.core.HttpHeaders hh,
                                                     java.net.URI baseURI)

getTypes

public javax.ws.rs.core.Response getTypes(java.lang.String version,
                                          java.lang.String persistenceUnit,
                                          javax.ws.rs.core.HttpHeaders hh,
                                          java.net.URI baseURI)

addMapping

protected void addMapping(org.eclipse.persistence.internal.jpa.rs.metadata.model.Descriptor descriptor,
                          DatabaseMapping mapping)

addQueries

protected void addQueries(java.util.List<org.eclipse.persistence.internal.jpa.rs.metadata.model.Query> queryList,
                          PersistenceContext app,
                          java.lang.String javaClassName)

buildDescriptor

protected org.eclipse.persistence.internal.jpa.rs.metadata.model.Descriptor buildDescriptor(PersistenceContext app,
                                                                                            java.lang.String persistenceUnit,
                                                                                            ClassDescriptor descriptor,
                                                                                            java.lang.String baseUri)

getQuery

protected org.eclipse.persistence.internal.jpa.rs.metadata.model.Query getQuery(DatabaseQuery query,
                                                                                PersistenceContext app)

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference