public class GetMicrothesaurusAction extends ServiceableAction
| Modifier and Type | Field and Description |
|---|---|
protected ContentTypeExtensionPoint |
_contentTypeEP
The extension point for content types
|
protected AmetysObjectResolver |
_resolver
The Ametys object resolver
|
protected ThesaurusDAO |
_thesaurusDAO
The thesaurus DAO
|
managerEMPTY_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(String microThesaurus)
Gets a microthesaurus to JSON format
|
void |
service(ServiceManager serviceManager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLoggerprotected AmetysObjectResolver _resolver
protected ThesaurusDAO _thesaurusDAO
protected ContentTypeExtensionPoint _contentTypeEP
public GetMicrothesaurusAction()
public void service(ServiceManager serviceManager) throws ServiceException
service in interface Serviceableservice in class ServiceableActionServiceExceptionpublic Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
Exceptionprotected Map<String,Object> microthesaurusToJSON(String microThesaurus)
microThesaurus - The microthesaurus