Class JPAODataGetHandler

java.lang.Object
com.sap.olingo.jpa.processor.core.api.JPAODataGetHandler
Direct Known Subclasses:
JPAODataCRUDHandler

public class JPAODataGetHandler extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Optional<javax.persistence.EntityManagerFactory>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    Deprecated.
    (Will be removed with 1.0.0, use service context builder, JPAODataServiceContext.with() instead
    Deprecated.
    (Will be removed with 1.0.0, use service context builder, JPAODataServiceContext.with() instead
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    void
    process​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
     
    void
    process​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, JPAODataClaimProvider claims, javax.persistence.EntityManager em)
    Deprecated.
    (Will be removed with 1.0.0, parameter claims and em not longer supported, use Request Context (getJPAODataRequestContext) instead)
    void
    process​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.persistence.EntityManager em)
    Deprecated.
    (Will be removed with 1.0.0, parameter em not longer supported, use Request Context (getJPAODataRequestContext) instead)

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • emf

      public final Optional<javax.persistence.EntityManagerFactory> emf
  • Constructor Details

    • JPAODataGetHandler

      @Deprecated public JPAODataGetHandler(String pUnit) throws org.apache.olingo.commons.api.ex.ODataException
      Deprecated.
      (Will be removed with 1.0.0, use service context builder, JPAODataServiceContext.with() instead
      Parameters:
      pUnit -
      Throws:
      org.apache.olingo.commons.api.ex.ODataException
    • JPAODataGetHandler

      @Deprecated public JPAODataGetHandler(String pUnit, DataSource ds) throws org.apache.olingo.commons.api.ex.ODataException
      Deprecated.
      (Will be removed with 1.0.0, use service context builder, JPAODataServiceContext.with() instead
      Parameters:
      pUnit -
      ds -
      Throws:
      org.apache.olingo.commons.api.ex.ODataException
    • JPAODataGetHandler

      public JPAODataGetHandler(JPAODataCRUDContextAccess serviceContext)
  • Method Details

    • getJPAODataContext

      public JPAODataGetContext getJPAODataContext()
    • getJPAODataRequestContext

      public JPAODataRequestContext getJPAODataRequestContext()
    • process

      public void process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws org.apache.olingo.commons.api.ex.ODataException
      Throws:
      org.apache.olingo.commons.api.ex.ODataException
    • process

      @Deprecated public void process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.persistence.EntityManager em) throws org.apache.olingo.commons.api.ex.ODataException
      Deprecated.
      (Will be removed with 1.0.0, parameter em not longer supported, use Request Context (getJPAODataRequestContext) instead)
      Parameters:
      request -
      response -
      em -
      Throws:
      org.apache.olingo.commons.api.ex.ODataException
    • process

      @Deprecated public void process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, JPAODataClaimProvider claims, javax.persistence.EntityManager em) throws org.apache.olingo.commons.api.ex.ODataException
      Deprecated.
      (Will be removed with 1.0.0, parameter claims and em not longer supported, use Request Context (getJPAODataRequestContext) instead)
      Parameters:
      request -
      response -
      claims -
      em -
      Throws:
      org.apache.olingo.commons.api.ex.ODataException