com.atlassian.confluence.pages.actions
Class PagePermissionsActionHelper
java.lang.Object
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
Method Summary |
java.util.List<ContentPermission> |
createPermissions(java.lang.String contentPermissionType,
java.lang.String permissionsGroups,
java.lang.String permissionsUsers)
Returns the view ContentPermission s 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 |
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)
createPermissions
public java.util.List<ContentPermission> createPermissions(java.lang.String contentPermissionType,
java.lang.String permissionsGroups,
java.lang.String permissionsUsers)
- Returns the view
ContentPermission
s 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.