public class ContentPermissionSearchUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ESCAPE_CHAR |
static org.apache.log4j.Category |
log
Deprecated.
Since 5.5, use private logger
|
Constructor and Description |
---|
ContentPermissionSearchUtils() |
Modifier and Type | Method and Description |
---|---|
static Iterator<Set<String>> |
decodeContentPermissionSets(String encodedContentPermissionSets)
Decodes a string contains multiple "&'-separated
ContentPermissionSet s, which have themselves been encoded
by getEncodedContentPermissionSet(ContentPermissionSet) . |
static String |
getEncodedContentPermissionSet(ContentPermissionSet contentPermissionSet) |
static String |
getEncodedGroupName(String groupname) |
static String |
getEncodedUserKey(ConfluenceUser user) |
@Deprecated public static final org.apache.log4j.Category log
public static final String ESCAPE_CHAR
public static String getEncodedContentPermissionSet(ContentPermissionSet contentPermissionSet)
ContentEntityMetadataExtractor
,
ContentPermissionsFilter
public static String getEncodedUserKey(ConfluenceUser user)
public static Iterator<Set<String>> decodeContentPermissionSets(String encodedContentPermissionSets)
ContentPermissionSet
s, which have themselves been encoded
by getEncodedContentPermissionSet(ContentPermissionSet)
. The returned Iterator is lazy, i.e. it decodes the
string segments as the iterator advances.Iterator
of ContentPermissionSet
s themselves represented by a Set
of encoded ContentPermission
s.Copyright © 2003–2020 Atlassian. All rights reserved.