idempiere_rest library

Classes

Client
Class that abstracts the clients returned in LoginResponse
ContextBuilder
Class that abstracts the Context QueryOption in get requests, using builder pattern See (https://wiki.idempiere.org/en/REST_Web_Services#Query_Option_.24context)
ExpandBuilder
Class that abstracts the Expand QueryOption in get requests, using builder pattern See (https://wiki.idempiere.org/en/REST_Web_Services#Query_Option_.24expand)
FilterBuilder
Class that abstracts the Filter QueryOption in get requests, using builder pattern See (https://wiki.idempiere.org/en/REST_Web_Services#Query_Option_.24filter)
IdempiereClient
The main class to do all requests to idempiere-rest API developed following the singleton pattern, once logged in, can be called in every part of the applications. Once instanciated, setBaseUrl must be the first method called. After that, login or oneStepLogin can be called, to retrieve the token. This class holds all Session information.
LoginResponse
Class that abstracts the IdempiereClient.login response
ModelBase
Abstract class used in IdempiereClient request This class must be extended in every model used for json serialization/deserealization
Organization
Class that abstracts the response of IdempiereClient.getOrganizations
ProcessSummary
Class that abstracts the response of IdempiereClient.runProcess
Role
Class that abstracts the response of IdempiereClient.getRoles
Warehouse
Class that abstracts the response of IdempiereClient.getWarehouses

Enums

Operators
Enum that represents available operators in $filter QueryOption

Exceptions / Errors

APIException
An exception used to indicate that a request was unsuccessful.