com.atlassian.confluence.it.content.security
Class ContentPermission

java.lang.Object
  extended by com.atlassian.confluence.it.content.security.ContentPermission

public class ContentPermission
extends Object

This class differs from ContentPermissionEntry in that it holds an Entity instead of representing one with a String. There are currently use cases for both objects. (This one makes more sense as a parameter, the other as a result).


Constructor Summary
ContentPermission(ContentPermission contentPermission)
           
ContentPermission(Entity entity, ContentPermissionType permissionType)
           
 
Method Summary
 Entity getEntity()
           
 ContentPermissionType getPermissionType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentPermission

public ContentPermission(ContentPermission contentPermission)

ContentPermission

public ContentPermission(Entity entity,
                         ContentPermissionType permissionType)
Method Detail

getEntity

public Entity getEntity()

getPermissionType

public ContentPermissionType getPermissionType()


Copyright © 2003-2013 Atlassian. All Rights Reserved.