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
|
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(String microThesaurus)
Gets a microthesaurus to JSON format
|
void |
service(ServiceManager serviceManager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
protected AmetysObjectResolver _resolver
protected ThesaurusDAO _thesaurusDAO
protected ContentTypeExtensionPoint _contentTypeEP
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(String microThesaurus)
microThesaurus
- The microthesaurus