Uses of Class
org.apache.olingo.odata2.jpa.processor.api.exception.ODataJPARuntimeException
Packages that use ODataJPARuntimeException
Package
Description
OData JPA Processor API Library
OData JPA Processor API Library - Java Persistence Access
OData JPA Processor API Library - Exceptions
OData JPA Processor API Library - Java Persistence Query Language
-
Uses of ODataJPARuntimeException in org.apache.olingo.odata2.jpa.processor.api
Methods in org.apache.olingo.odata2.jpa.processor.api that return ODataJPARuntimeExceptionModifier and TypeMethodDescriptionprotected ODataJPARuntimeExceptionODataJPAQueryExtensionEntityListener.createApplicationError(String message, Locale locale) Methods in org.apache.olingo.odata2.jpa.processor.api that throw ODataJPARuntimeExceptionModifier and TypeMethodDescriptionODataJPAResponseBuilder.build(long jpaEntityCount) The method builds an OData response from a count representing total number of JPA EntitiesODataJPAResponseBuilder.build(DeleteUriInfo deleteUriInfo, Object deletedObject) The method builds an OData response for an OData Delete Request from a deleted JPA EntityODataJPAResponseBuilder.build(GetEntityLinkUriInfo readLinkUriInfo, Object jpaEntity, String contentType) The method builds an OData response for an OData Read Link Request from a read JPA Entity and its related JPA Entities.ODataJPAResponseBuilder.build(GetEntitySetLinksUriInfo queryLinkUriInfo, List<Object> jpaEntity, String contentType) The method builds an OData response for an OData Query Link Request from a queried JPA Entity and its related JPA Entities.ODataJPAResponseBuilder.build(GetEntitySetUriInfo queryUriInfo, List<Object> jpaEntities, String contentType) The method builds an OData response for an OData Query Request from a queried list of JPA Entities.ODataJPAResponseBuilder.build(GetEntityUriInfo readUriInfo, Object jpaEntity, String contentType) The method builds an OData response for an OData Read Request from a read JPA EntityODataJPAResponseBuilder.build(GetFunctionImportUriInfo functionImportUriInfo, Object result) The method builds an OData response for an OData function Import Request from a registered processor method's return parameter.ODataJPAResponseBuilder.build(GetFunctionImportUriInfo functionImportUriInfo, List<Object> resultList, String contentType) The method builds an OData response for an OData function Import Request from a registered processor method's return parameter.The return parameter is a collection of objects.ODataJPAResponseBuilder.build(PostUriInfo postUriInfo, Object createdObject, String contentType) The method builds an OData response for an OData Create Request from a created JPA entity.ODataJPAResponseBuilder.build(PutMergePatchUriInfo putUriInfo, Object updatedObject, String contentType) The method builds an OData response for an OData Update Request from an updated JPA EntityvoidODataJPAQueryExtensionEntityListener.checkAuthorization(DeleteUriInfo deleteView) voidODataJPAQueryExtensionEntityListener.checkAuthorization(PostUriInfo postView) voidODataJPAQueryExtensionEntityListener.checkAuthorization(PutMergePatchUriInfo putView) voidODataJPAQueryExtensionEntityListener.checkEntityGetAuthorization(EdmEntityType entityType) voidODataJPAQueryExtensionEntityListener.checkFilter(EdmEntityType entityType, FilterExpression filter) ODataJPAQueryExtensionEntityListener.execEvent(UriInfo infoView, EdmEntityType entityType, String type, Object data, Map<String, Object> customValues) ODataJPAQueryExtensionEntityListener.getCalcFieldValues(EdmEntityType entityType, Object data) ODataJPAQueryExtensionEntityListener.getDefaultFieldValues(EdmEntityType entityType, Object data) OnJPAWriteContent.getJPABlob(byte[] binaryData) Implement this method to instantiate JPA provider specific implementation of java.sql.Blob instance from an array of bytes.OnJPAWriteContent.getJPAClob(char[] characterData) Implement this method to instantiate JPA provider specific implementation of java.sql.Clob instance from an array of characters.final ODataJPAContextODataJPAServiceFactory.getODataJPAContext()jakarta.persistence.QueryODataJPAQueryExtensionEntityListener.getQuery(DeleteUriInfo uriInfo, jakarta.persistence.EntityManager em) Override this method to build JPA Query for OData request - Delete; SELECT SINGLE with key in WHERE clausejakarta.persistence.QueryODataJPAQueryExtensionEntityListener.getQuery(GetEntityCountUriInfo uriInfo, jakarta.persistence.EntityManager em) Override this method to build JPA Query for OData request - GetEntity Count; SELECT SINGLE with key in WHERE clausejakarta.persistence.QueryODataJPAQueryExtensionEntityListener.getQuery(GetEntitySetCountUriInfo uriInfo, jakarta.persistence.EntityManager em) Override this method to build JPA Query for OData request - GetEntitySet Count; SELECT COUNT(*)jakarta.persistence.QueryODataJPAQueryExtensionEntityListener.getQuery(GetEntitySetUriInfo uriInfo, jakarta.persistence.EntityManager em) Override this method to build JPA Query for OData request - GetEntitySet; SELECT *jakarta.persistence.QueryODataJPAQueryExtensionEntityListener.getQuery(GetEntityUriInfo uriInfo, jakarta.persistence.EntityManager em) Override this method to build JPA Query for OData request - GetEntity; SELECT SINGLE with key in WHERE clausejakarta.persistence.QueryODataJPAQueryExtensionEntityListener.getQuery(PutMergePatchUriInfo uriInfo, jakarta.persistence.EntityManager em) Override this method to build JPA Query for OData request - Update; SELECT SINGLE with key in WHERE clauseabstract jakarta.persistence.QueryODataJPATombstoneEntityListener.getQuery(GetEntitySetUriInfo resultsView, jakarta.persistence.EntityManager em) Implement this method to create aobject.invalid reference
javax.persistence.Queryabstract ODataJPAContextODataJPAServiceFactory.initializeODataJPAContext()Implement this method and initialize OData JPA Context. -
Uses of ODataJPARuntimeException in org.apache.olingo.odata2.jpa.processor.api.access
Methods in org.apache.olingo.odata2.jpa.processor.api.access that throw ODataJPARuntimeExceptionModifier and TypeMethodDescriptionvoidJPAEdmBuilder.build()The Method builds EDM Elements by transforming JPA MetaModel.The method processes EDM JPA Containers which could be accessed using the following views,JPAEdmAssociationSetViewJPAEdmAssociationViewJPAEdmBaseViewJPAEdmComplexPropertyViewJPAEdmComplexTypeViewJPAEdmEntityContainerViewJPAEdmEntitySetViewJPAEdmEntityTypeViewJPAEdmKeyViewJPAEdmModelViewJPAEdmNavigationPropertyViewJPAEdmPropertyViewJPAEdmReferentialConstraintRoleViewJPAEdmReferentialConstraintViewJPAEdmSchemaViewabstract JPAMethodContextJPAMethodContext.JPAMethodContextBuilder.build()Implement this method to build JPAMethodContextstatic final JPAMethodContext.JPAMethodContextBuilderJPAMethodContext.createBuilder(JPQLContextType contextType, Object resultsView) the method instantiates an instance of type JPAMethodContextBuilder.JPAProcessor.process(DeleteUriInfo deleteuriInfo, String contentType) Processes OData request for deleting Entity.longJPAProcessor.process(GetEntityCountUriInfo resultsView) Processes OData request for fetching Entity count.JPAProcessor.process(GetEntityLinkUriInfo uriParserResultView) Processes OData request for executing $links OData command for N:1 relation.longJPAProcessor.process(GetEntitySetCountUriInfo requestView, boolean authorize) Processes OData request for fetching Entity count.<T> List<T> JPAProcessor.process(GetEntitySetLinksUriInfo uriParserResultView) Processes OData request for executing $links OData command for N:1 relation.<T> List<T> JPAProcessor.process(GetEntitySetUriInfo requestView) Processes OData request for querying an Entity Set.The method returns list of Objects of type representing JPA Entity Types.<T> ObjectJPAProcessor.process(GetEntityUriInfo requestView) Processes OData request for reading an Entity.The method returns an Object of type representing JPA Entity Type.JPAProcessor.process(GetFunctionImportUriInfo requestView) Processes OData request for executing custom operations.JPAProcessor.process(PostUriInfo createView, InputStream content, String requestContentType) Processes OData request for creating Entity.voidJPAProcessor.process(PostUriInfo uriParserResultView, InputStream content, String requestContentType, String contentType) Process OData request for creating Links.JPAProcessor.process(PostUriInfo createView, Map<String, Object> content) Processes OData request for creating Entity.JPAProcessor.process(PutMergePatchUriInfo updateView, InputStream content, String requestContentType) Processes OData request for updating Entity.voidJPAProcessor.process(PutMergePatchUriInfo uriParserResultView, InputStream content, String requestContentType, String contentType) Process OData request for updating Links.JPAProcessor.process(PutMergePatchUriInfo updateView, Map<String, Object> content) Processes OData request for updating Entity. -
Uses of ODataJPARuntimeException in org.apache.olingo.odata2.jpa.processor.api.exception
Methods in org.apache.olingo.odata2.jpa.processor.api.exception that return ODataJPARuntimeExceptionModifier and TypeMethodDescriptionstatic ODataJPARuntimeExceptionODataJPARuntimeException.throwException(MessageReference messageReference, Throwable e) The method creates an exception object of type ODataJPARuntimeException with localized error texts. -
Uses of ODataJPARuntimeException in org.apache.olingo.odata2.jpa.processor.api.jpql
Methods in org.apache.olingo.odata2.jpa.processor.api.jpql that throw ODataJPARuntimeExceptionModifier and TypeMethodDescriptionabstract JPQLContextJPQLContext.JPQLContextBuilder.build()The abstract method is implemented by specific JPQL context builders to build JPQL Contexts.abstract JPQLStatementJPQLStatement.JPQLStatementBuilder.build()The abstract method is implemented by specific statement builder for building JPQL Statement.static final JPQLContext.JPQLContextBuilderJPQLContext.createBuilder(JPQLContextType contextType, Object resultsView) the method returns an instance of typeJPQLContext.JPQLContextBuilderbased on the JPQLContextType.static final JPQLContext.JPQLContextBuilderJPQLContext.createBuilder(JPQLContextType contextType, Object resultsView, boolean withPaging) the method returns an instance of typeJPQLContext.JPQLContextBuilderbased on the JPQLContextType.JPQLStatement.createBuilder(JPQLContextView context) The method is used for creating an instance of JPQL Statement Builder for building JPQL statements.