Interface PermissionsAware
-
- All Known Subinterfaces:
EditPermissionsAware
- All Known Implementing Classes:
AbstractEditPermissionAction
,AbstractPermissionsAction
,EditGlobalPermissionsAction
,EditSpacePermissionDefaultsAction
,EditSpacePermissionsAction
,ViewGlobalPermissionsAction
,ViewSpacePermissionDefaultsAction
,ViewSpacePermissionsAction
public interface PermissionsAware
This interface is used by all actions that need to access permissions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PermissionRow
getAnonymousPermissionRow()
Retrieves the anonymous permissions row for printing in a UI.Collection<PermissionRow>
getGroupPermissionRows()
Gets the list of currentDefaultPermissionsAdministrator.GroupPermissionRow
s for printing in a UI.String
getGuardPermission()
Obtains the relevant guard permission for the actionPermissionsAdministrator
getPermissionsAdministrator()
Map
getRequestParams()
Returns the parameters of the requestPermissionRow
getUnlicensedAuthenticatedPermissionRow()
Retrieves the unlicensed authenticated user permissions row for printing in a UI.Collection<PermissionRow>
getUserPermissionRows()
Gets the list of currentDefaultPermissionsAdministrator.UserPermissionRow
s for printing in a UI.void
populateAdministrator()
-
-
-
Method Detail
-
getUserPermissionRows
Collection<PermissionRow> getUserPermissionRows()
Gets the list of currentDefaultPermissionsAdministrator.UserPermissionRow
s for printing in a UI.- Returns:
- list of
DefaultPermissionsAdministrator.UserPermissionRow
-
getGroupPermissionRows
Collection<PermissionRow> getGroupPermissionRows()
Gets the list of currentDefaultPermissionsAdministrator.GroupPermissionRow
s for printing in a UI.- Returns:
- list of
DefaultPermissionsAdministrator.GroupPermissionRow
-
getUnlicensedAuthenticatedPermissionRow
PermissionRow getUnlicensedAuthenticatedPermissionRow()
Retrieves the unlicensed authenticated user permissions row for printing in a UI.- Returns:
- the unlicensed authenticated user permissions.
-
getAnonymousPermissionRow
PermissionRow getAnonymousPermissionRow()
Retrieves the anonymous permissions row for printing in a UI.- Returns:
- the anonymous permissions.
-
getGuardPermission
String getGuardPermission()
Obtains the relevant guard permission for the action- Returns:
- the relevant guard permission for the action
-
getRequestParams
Map getRequestParams()
Returns the parameters of the request- Returns:
- the parameters of the request
-
getPermissionsAdministrator
PermissionsAdministrator getPermissionsAdministrator()
-
populateAdministrator
void populateAdministrator()
-
-