- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 32 of file TagCloud.java.
◆ getIdentifiers()
static List<String> org.turro.tags.TagCloud.getIdentifiers |
( |
IConstructor |
constructor, |
|
|
String |
root |
|
) |
| |
|
static |
Definition at line 60 of file TagCloud.java.
61 TagSet
set = (TagSet) constructor.getSessionAttribute(TAGS_CONTEXT +
"-" + root);
63 return set.getIdentifiers(root);
65 return Collections.EMPTY_LIST;
◆ getIdentifiersAsLong()
static List<Long> org.turro.tags.TagCloud.getIdentifiersAsLong |
( |
IConstructor |
constructor, |
|
|
String |
root |
|
) |
| |
|
static |
Definition at line 68 of file TagCloud.java.
69 return getIdentifiers(constructor, root).stream().map(s -> Long.valueOf(s)).collect(Collectors.toList());
◆ getTags()
Definition at line 36 of file TagCloud.java.
37 TagSet tags = (TagSet) constructor.getSessionAttribute(TAGS_CONTEXT +
"-" + root);
39 tags = Tags.getAvailables(root);
40 constructor.setSessionAttribute(TAGS_CONTEXT +
"-" + root, tags);
◆ hasSelected()
static boolean org.turro.tags.TagCloud.hasSelected |
( |
IConstructor |
constructor, |
|
|
String |
root |
|
) |
| |
|
static |
Definition at line 72 of file TagCloud.java.
73 TagSet
set = (TagSet) constructor.getSessionAttribute(TAGS_CONTEXT +
"-" + root);
75 return !(
set.getSelected().isEmpty());
◆ resetContext()
static void org.turro.tags.TagCloud.resetContext |
( |
IConstructor |
constructor, |
|
|
String |
root |
|
) |
| |
|
static |
Definition at line 56 of file TagCloud.java.
57 constructor.removeSessionAttribute(TAGS_CONTEXT +
"-" + root);
◆ toggleTags()
static void org.turro.tags.TagCloud.toggleTags |
( |
IConstructor |
constructor, |
|
|
String |
root |
|
) |
| |
|
static |
Definition at line 45 of file TagCloud.java.
46 KeyValueMap kvm = MarkerHelper.getObfuscatedParameters();
47 if(kvm !=
null && kvm.containsKey(
"tag")) {
48 TagSet
set = (TagSet) constructor.getSessionAttribute(TAGS_CONTEXT +
"-" + root);
50 set.toggle(kvm.get(
"tag"));
51 set.markSiblingsFromSelection(root);
The documentation for this class was generated from the following file: