public class GroupCacheKey extends Object implements Serializable, Comparable<GroupCacheKey>
| Constructor and Description |
|---|
GroupCacheKey(Object key,
Set<String> groups) |
GroupCacheKey(Set<String> groups)
This contructor will generate a key based on the combination
of the group names.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(GroupCacheKey otherKey) |
boolean |
containsGroup(Object group) |
boolean |
equals(Object o) |
String[] |
getGroupArray() |
Set<String> |
getGroups() |
static String |
getGroupSeparator() |
Object |
getKey() |
static String |
getKeyGroupSeparator() |
int |
hashCode() |
static void |
setGroupSeparator(String groupSeparator) |
static void |
setKeyGroupSeparator(String keyGroupSeparator) |
String |
toString() |
public GroupCacheKey(Set<String> groups)
groups - public String[] getGroupArray()
public boolean containsGroup(Object group)
public int compareTo(GroupCacheKey otherKey)
compareTo in interface Comparable<GroupCacheKey>public static String getKeyGroupSeparator()
public static void setKeyGroupSeparator(String keyGroupSeparator)
public static String getGroupSeparator()
public static void setGroupSeparator(String groupSeparator)
public Object getKey()
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.