Class ContentPermission
- java.lang.Object
-
- com.atlassian.confluence.it.content.security.ContentPermission
-
public class ContentPermission extends Object
This class differs fromContentPermissionEntry
in that it holds anEntity
instead of representing one with aString
. There are currently use cases for both objects. (This one makes more sense as a parameter, the other as a result).
-
-
Constructor Summary
Constructors Constructor Description ContentPermission(ContentPermission contentPermission)
ContentPermission(Entity entity, ContentPermissionType permissionType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Entity
getEntity()
ContentPermissionType
getPermissionType()
-
-
-
Constructor Detail
-
ContentPermission
public ContentPermission(ContentPermission contentPermission)
-
ContentPermission
public ContentPermission(Entity entity, ContentPermissionType permissionType)
-
-
Method Detail
-
getEntity
public Entity getEntity()
-
getPermissionType
public ContentPermissionType getPermissionType()
-
-