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
Modifier and TypeMethodDescriptionRetrieves the anonymous permissions row for printing in a UI.Gets the list of currentDefaultPermissionsAdministrator.GroupPermissionRow
s for printing in a UI.Obtains the relevant guard permission for the actionReturns the parameters of the requestRetrieves the unlicensed authenticated user permissions row for printing in a UI.Gets the list of currentDefaultPermissionsAdministrator.UserPermissionRow
s for printing in a UI.void
-
Method Details
-
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()
-