public class EditExtractionNodeManager extends AbstractLogEnabled implements Component, Serviceable
Modifier and Type | Field and Description |
---|---|
private GetQueryFromJSONHelper |
_getQueryFromJSONHelper |
private JSONUtils |
_jsonUtils |
private QueryBuilder |
_queryBuilder |
private AmetysObjectResolver |
_resolver |
private ThesaurusDAO |
_thesaurusDAO |
static String |
ROLE
The Avalon role name
|
Constructor and Description |
---|
EditExtractionNodeManager() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getMicroThesaurii(String thesaurusName)
Retrieves microthesaurii for the given thesaurus
|
Map<String,Object> |
getNodeEditionConfiguration()
Retrieves configuration for extraction node edition
|
List<String> |
getSavedQueryContentTypes(String savedQueryId)
Retrieves content types configured on the given saved query
|
void |
service(ServiceManager serviceManager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
private ThesaurusDAO _thesaurusDAO
private AmetysObjectResolver _resolver
private JSONUtils _jsonUtils
private GetQueryFromJSONHelper _getQueryFromJSONHelper
private QueryBuilder _queryBuilder
public EditExtractionNodeManager()
public void service(ServiceManager serviceManager) throws ServiceException
service
in interface Serviceable
ServiceException
public Map<String,Object> getNodeEditionConfiguration()
public Map<String,Object> getMicroThesaurii(String thesaurusName)
thesaurusName
- name of the thesauruspublic List<String> getSavedQueryContentTypes(String savedQueryId) throws QuerySyntaxException
savedQueryId
- saved query identifierQuerySyntaxException
- if an error occurs while parsing the saved query