com.atlassian.confluence.pages.actions
Class PagePermissionsActionHelper

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

public class PagePermissionsActionHelper
extends Object
implements 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
 List<ContentPermission> createPermissions(String contentPermissionType, String permissionsGroups, 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 List<ContentPermission> createPermissions(String contentPermissionType,
                                                 String permissionsGroups,
                                                 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–2015 Atlassian. All rights reserved.