public class EditExtractionNodeManager extends AbstractLogEnabled implements Component, Serviceable
Modifier and Type | Field and Description |
---|---|
private ContentTypeExtensionPoint |
_contentTypeExtensionPoint |
private GetQueryFromJSONHelper |
_getQueryFromJSONHelper |
private I18nUtils |
_i18nUtils |
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 thesaurusId)
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
private I18nUtils _i18nUtils
private ContentTypeExtensionPoint _contentTypeExtensionPoint
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 thesaurusId)
thesaurusId
- identifier of the thesauruspublic List<String> getSavedQueryContentTypes(String savedQueryId)
savedQueryId
- saved query identifier