This repository has been archived by the owner on Oct 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Home
mattkol edited this page May 23, 2017
·
11 revisions
SugarOnRest uses StringTemplate 4 template to generate Java SugarCRM/SuiteCRM module Pojo classes and uses those classes to run SugarCRM REST API requests via UniRest Java.
The module Pojo classes generator is implemented in the included sugarcrm.pojogen project. See sample implementation in the test folder on how the models are generated.
The following Java classes are generated:
Generated SugarCRM module Pojo classes
package com.sugaronrest.modules.*
Generated mapping class - maps SugarCRM table names to SugarCRM module names
package com.sugaronrest.utils (com.sugaronrest.utils.ModuleMapper);
Generated NameOf mapping class
package com.sugaronrest (com.sugaronrest.NameOf);
- Request
- Request Types
- Request Options
- Response
- Error Response
- Read Module By Id
- Read Module Collection By Page
- Read Module Collection
- Create Module
- Create Module Collection
- Update Module
- Update Module Collection
- Delete Module
- Linked Modules 1
- Linked Modules 2
- Linked Modules 3
- Query Options 1
- Query Options 2
- Query Options 3
SugarOnRest
- Home
- Request
- Request Types
- Request Options
- Response
- Error Response
- Read Module By Id
- Read Module Collection By Page
- Read Module Collection
- Create Module
- Create Module Collection
- Update Module
- Update Module Collection
- Delete Module
- Linked Modules 1
- Linked Modules 2
- Linked Modules 3
- Query Options 1
- Query Options 2
- Query Options 3