Class KeywordsDAO
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.ametys.cms.tag.AbstractTagsDAO
org.ametys.plugins.workspaces.keywords.KeywordsDAO
- All Implemented Interfaces:
Component
,LogEnabled
,Serviceable
DAO for manipulating project's tags
-
Field Summary
Fields inherited from class org.ametys.cms.tag.AbstractTagsDAO
_i18nUtils, _tagProviderExtPt
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractJCRTagsDAO
Get the tag JCR DAOprotected List<TagProvider<? extends Tag>>
Get the list of custom tag providerGet existing tagsGet the tag provider extension point rolevoid
service
(ServiceManager manager) Methods inherited from class org.ametys.cms.tag.AbstractTagsDAO
_getFilteredTagName, _tagsToJSON, _tagToJSON, addTags, checkTags, filterTagsByRegExp, filterTagsFromListByRegExp, getFullPath, getPath, getTag, getTagPaths, getTagsTitle, tagToJSON
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Field Details
-
ROLE
The avalon role
-
-
Constructor Details
-
KeywordsDAO
public KeywordsDAO()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classAbstractTagsDAO
- Throws:
ServiceException
-
getTagProviderEPRole
Description copied from class:AbstractTagsDAO
Get the tag provider extension point role- Specified by:
getTagProviderEPRole
in classAbstractTagsDAO
- Returns:
- the tag provider extension point role
-
getCustomTagProvider
Description copied from class:AbstractTagsDAO
Get the list of custom tag provider- Specified by:
getCustomTagProvider
in classAbstractTagsDAO
- Returns:
- the list of custom tag provider
-
getKeywords
Get existing tags- Returns:
- the tags (id and label)
-
_getTagJCRDAO
Description copied from class:AbstractTagsDAO
Get the tag JCR DAO- Specified by:
_getTagJCRDAO
in classAbstractTagsDAO
- Returns:
- the tag JCR DAO
-