com.atlassian.confluence.security.actions
Interface PermissionsAware

All Known Subinterfaces:
EditPermissionsAware
All Known Implementing Classes:
AbstractEditPermissionAction, AbstractGlobalPermissionsAction, AbstractPermissionsAction, AbstractSpacePermissionsAction, EditGlobalPermissionsAction, EditSpacePermissionDefaultsAction, EditSpacePermissionsAction, ViewGlobalPermissionsAction, ViewSpacePermissionDefaultsAction, ViewSpacePermissionsAction

public interface PermissionsAware

This interface is used by all actions that need to access permissions.


Method Summary
 PermissionRow getAnonymousPermissionRow()
          Retrieves the AnonymousPermissionRow for printing in a UI.
 java.util.Collection<PermissionRow> getGroupPermissionRows()
          Gets the list of current DefaultPermissionsAdministrator.GroupPermissionRows for printing in a UI.
 java.lang.String getGuardPermission()
          Obtains the relevant guard permission for the action
 PermissionsAdministrator getPermissionsAdministrator()
           
 java.util.Map getRequestParams()
          Returns the parameters of the request
 java.util.Collection<PermissionRow> getUserPermissionRows()
          Gets the list of current DefaultPermissionsAdministrator.UserPermissionRows for printing in a UI.
 boolean isSharedMode()
          Deprecated. since 5.0. Shared-mode not supported since 3.0.
 void populateAdministrator()
           
 

Method Detail

getUserPermissionRows

java.util.Collection<PermissionRow> getUserPermissionRows()
Gets the list of current DefaultPermissionsAdministrator.UserPermissionRows for printing in a UI.

Returns:
list of DefaultPermissionsAdministrator.UserPermissionRow

getGroupPermissionRows

java.util.Collection<PermissionRow> getGroupPermissionRows()
Gets the list of current DefaultPermissionsAdministrator.GroupPermissionRows for printing in a UI.

Returns:
list of DefaultPermissionsAdministrator.GroupPermissionRow

getAnonymousPermissionRow

PermissionRow getAnonymousPermissionRow()
Retrieves the AnonymousPermissionRow for printing in a UI.

Returns:
the anonymous permissions.

getGuardPermission

java.lang.String getGuardPermission()
Obtains the relevant guard permission for the action

Returns:
the relevant guard permission for the action

getRequestParams

java.util.Map getRequestParams()
Returns the parameters of the request

Returns:
the parameters of the request

getPermissionsAdministrator

PermissionsAdministrator getPermissionsAdministrator()

populateAdministrator

void populateAdministrator()

isSharedMode

@Deprecated
boolean isSharedMode()
Deprecated. since 5.0. Shared-mode not supported since 3.0.



Copyright © 2003-2014 Atlassian. All Rights Reserved.