public class GetMicrothesaurusAction extends ServiceableAction
Modifier and Type | Field and Description |
---|---|
protected AmetysObjectResolver |
_resolver
The Ametys object resolver
|
protected ThesaurusDAO |
_thesaurusDAO
The thesaurus DAO
|
manager
EMPTY_MAP
Constructor and Description |
---|
GetMicrothesaurusAction() |
Modifier and Type | Method and Description |
---|---|
Map |
act(Redirector redirector,
SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters) |
protected Map<String,Object> |
microthesaurusToJSON(MicroThesaurus microThesaurus)
Gets a microthesaurus to JSON format
|
void |
service(ServiceManager serviceManager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
protected AmetysObjectResolver _resolver
protected ThesaurusDAO _thesaurusDAO
public GetMicrothesaurusAction()
public void service(ServiceManager serviceManager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableAction
ServiceException
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
Exception
protected Map<String,Object> microthesaurusToJSON(MicroThesaurus microThesaurus)
microThesaurus
- The microthesaurus