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
public class KeywordsDAO extends AbstractTagsDAO
DAO for manipulating project's tags
-
-
Field Summary
Fields Modifier and Type Field Description static String
ROLE
The avalon role-
Fields inherited from class org.ametys.cms.tag.AbstractTagsDAO
_i18nUtils, _tagProviderExtPt
-
-
Constructor Summary
Constructors Constructor Description KeywordsDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AbstractJCRTagsDAO
_getTagJCRDAO()
Get the tag JCR DAOprotected List<TagProvider<? extends Tag>>
getCustomTagProvider()
Get the list of custom tag providerMap<String,Object>
getKeywords()
Get existing tagsString
getTagProviderEPRole()
Get 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
-
-
-
-
Constructor Detail
-
KeywordsDAO
public KeywordsDAO()
-
-
Method Detail
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classAbstractTagsDAO
- Throws:
ServiceException
-
getTagProviderEPRole
public String 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
protected List<TagProvider<? extends Tag>> 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
public Map<String,Object> getKeywords()
Get existing tags- Returns:
- the tags (id and label)
-
_getTagJCRDAO
protected AbstractJCRTagsDAO _getTagJCRDAO()
Description copied from class:AbstractTagsDAO
Get the tag JCR DAO- Specified by:
_getTagJCRDAO
in classAbstractTagsDAO
- Returns:
- the tag JCR DAO
-
-