i
Deyel SDK for Java
By using the Deyel SDK (Software Development Kit) Deyel incorporates the ease of developing advanced and integration rules that interact with the platform objects and developed applications, in an easy and intuitive way.
These rules can be developed in the advanced rules modeler in the case of those that require low code or when they are more complex in a Java IDE, inheriting all its advantages.
Tools to Develop Advanced Rules with SDK
Deyel SDK allows to use Deyel objects in advanced rules, by using one class with the model and another one with the object's service.
Model Class
The model class corresponds to the properties that each object has.
For example, the "Account (CRM_ACCOUNT)" form model class of the CRM application contains the Identifier, Company, Opening, Industry, Source and Status fields, among others. It also contains the getter and setter methods for each of these fields.
The model includes:
•Object constructor.
•Getters and setters for each object attribute.
•Internal classes if necessary. For example, the representation of iteratives for forms.
Service Class
A service class contains the operations to manage the model. For example, the service class of a form allows to perform the create, update, delete, query, and find operations.
The service class includes:
•CRUD (Create, Read, Update, Delete) of the object.
•Searches
•Specific methods to work on the model.
Each object service class has a common method available to initialize all objects.
Operation |
Description |
Parameters |
---|---|---|
getAPIClient() |
Initializes the service to be able to use it. |
Interaction with Application Objects
In order to interact with Deyel objects from a Java IDE, the model and service classes corresponding to each object must be downloaded.
These classes are included when downloading the rule that interacts with such Deyel, objects from the “Download” option available on the top toolbar of the rules modeler.
By using the model and service classes, Deyel SDK allows to use the following objects: