Interface ContentPermissionCalculator
-
- All Known Implementing Classes:
DefaultContentPermissionCalculator
public interface ContentPermissionCalculator
Calculates encoded string of content permission.- Since:
- 7.17
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<ContentPermissionSet>
calculate(ContentEntityObject contentEntityObject)
String
getEncodedContentPermissionSets(Collection<ContentPermissionSet> contentPermissionSets)
String
getEncodedGroupName(String groupname)
String
getEncodedUserKey(ConfluenceUser user)
-
-
-
Method Detail
-
calculate
Collection<ContentPermissionSet> calculate(@Nullable ContentEntityObject contentEntityObject)
- Parameters:
contentEntityObject
- the content entity object that we need to calculate its permissions- Returns:
- a collection of
ContentPermissionSet
-
getEncodedContentPermissionSets
String getEncodedContentPermissionSets(Collection<ContentPermissionSet> contentPermissionSets)
-
getEncodedUserKey
String getEncodedUserKey(ConfluenceUser user)
-
-