public class GetTagsAction extends GetTagsAction
_currentUserProvider, _resolver, _rightManager, _tagProviderExtPt
manager
EMPTY_MAP
Constructor and Description |
---|
GetTagsAction() |
Modifier and Type | Method and Description |
---|---|
protected Set<String> |
getProvidersIds(boolean onlyCustomTags)
Get all providers IDs
|
protected boolean |
isUserAuthorized(Tag tag,
List<String> objectTargetIds)
Test if a tag is visible to the current user.
|
protected boolean |
isUserAuthorized(Tag tag,
Page page)
Test if a tag is visible to the current user.
|
_getCurrentUser, act, getProvidersId, isCreationAllowed, isPrivate, isUserAuthorized, providerToJSON, service, tagToJSON
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
public GetTagsAction()
protected boolean isUserAuthorized(Tag tag, List<String> objectTargetIds)
isUserAuthorized
in class GetTagsAction
tag
- the Tag object.objectTargetIds
- the ids of current Ametys objectsprotected boolean isUserAuthorized(Tag tag, Page page)
tag
- the Tag object.page
- the current page (can be null).protected Set<String> getProvidersIds(boolean onlyCustomTags)
getProvidersIds
in class GetTagsAction
onlyCustomTags
- If true, return only JCR providers IDs.