Package org.openbravo.service.json
-
Interface Summary Interface Description AdditionalPropertyResolver An extension mechanism that allows to define a custom way for resolving additional properties which cannot be resolved through the data model.AdvancedQueryBuilderHook Allows to modify the queries built by theAdvancedQueryBuilder
by adding custom logic on some key points of the query building.JsonDataService Implements generic data operations which have parameters and json as an input and return results as json strings.JsonDataServiceExtraActions Classes implementing this interface are injected in theDefaultJsonDataService
class. -
Class Summary Class Description AdvancedQueryBuilder Translates an advanced criteria/filter object into a HQL query.AdvancedQueryBuilderTest Test cases for theAdvancedQueryBuilder
classDataEntityQueryService Implements a service which can handle different types of query and paging options.DataToJsonConverter Is responsible for converting Openbravo business objects (BaseOBObject
to a json representation.DefaultJsonDataService Implements generic data operations which have parameters and json as an input and return results as json strings.DefaultJsonDataService.QueryResultWriter JoinDefinition Used to define entity joins for the queries built through theAdvancedQueryBuilder
.JsonConstants Defines constants used for parameters in theJsonRestServlet
class.JsonRestServlet A web service which provides a JSON REST service.JsonToDataConverter Converts json data to Openbravo business object(s).JsonUtils Contains utility methods used in this module.JsonUtilsTest Test cases for theJsonUtils
classJSONWriterToCSV Helper class to write JSON objects to generate a CSV file using the standard preferences. -
Enum Summary Enum Description AdvancedQueryBuilder.TextMatching DataResolvingMode Defines the different ways data should be resolved and converted to json to be usable by the client.DefaultJsonDataService.DataSourceAction -
Exception Summary Exception Description OBStaleObjectException Is thrown when the json converter tries to update a BaseOBObject and the json value for the updated column is different from the value in the BaseOBObject.