com.atlassian.confluence.pages.actions
Class PagePermissionsActionHelper

java.lang.Object
  extended by com.atlassian.confluence.pages.actions.PagePermissionsActionHelper
All Implemented Interfaces:
java.io.Serializable

public class PagePermissionsActionHelper
extends java.lang.Object
implements java.io.Serializable

Provides methods for converting user and group permission strings from web forms into collections of ContentPermission objects.

See Also:
Serialized Form

Constructor Summary
PagePermissionsActionHelper(ConfluenceUser currentAuthenticatedUser, UserAccessor userAccessor)
           
PagePermissionsActionHelper(com.atlassian.user.User currentAuthenticatedUser)
          Deprecated. Since 5.3. Use #PagePermissionsActionHelper(com.atlassian.user.User, com.atlassian.confluence.user.UserAccessor)
 
Method Summary
 java.util.List<ContentPermission> createPermissions(java.lang.String contentPermissionType, java.lang.String permissionsGroups, java.lang.String permissionsUsers)
          Returns the view ContentPermissions of the required type for this helper instance, adding the helper User if they don't have view permission via the list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PagePermissionsActionHelper

@Deprecated
public PagePermissionsActionHelper(com.atlassian.user.User currentAuthenticatedUser)
Deprecated. Since 5.3. Use #PagePermissionsActionHelper(com.atlassian.user.User, com.atlassian.confluence.user.UserAccessor)


PagePermissionsActionHelper

public PagePermissionsActionHelper(ConfluenceUser currentAuthenticatedUser,
                                   UserAccessor userAccessor)
Method Detail

createPermissions

public java.util.List<ContentPermission> createPermissions(java.lang.String contentPermissionType,
                                                           java.lang.String permissionsGroups,
                                                           java.lang.String permissionsUsers)
Returns the view ContentPermissions of the required type for this helper instance, adding the helper User if they don't have view permission via the list.



Copyright © 2003-2014 Atlassian. All Rights Reserved.