|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.opensymphony.xwork.ActionSupport com.atlassian.confluence.core.ConfluenceActionSupport com.atlassian.confluence.security.actions.AbstractPermissionsAction
public abstract class AbstractPermissionsAction
Field Summary | |
---|---|
protected PermissionRow |
anonymousPermissionRow
|
protected java.util.Collection<PermissionRow> |
groupPermissionRows
Map of groupnames to DefaultPermissionsAdministrator.GroupPermissionRow s. |
protected PermissionsAdministratorBuilder |
permissionsAdministratorBuilder
|
protected java.util.Collection<PermissionRow> |
userPermissionRows
Map of usernames to DefaultPermissionsAdministrator.UserPermissionRow s. |
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
---|
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager |
Fields inherited from class com.opensymphony.xwork.ActionSupport |
---|
LOG |
Fields inherited from interface com.opensymphony.xwork.Action |
---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary | |
---|---|
AbstractPermissionsAction()
|
Method Summary | |
---|---|
void |
bootstrap()
|
PermissionRow |
getAnonymousPermissionRow()
Retrieves the AnonymousPermissionRow for printing in a UI. |
java.util.Collection<PermissionRow> |
getGroupPermissionRows()
Gets the list of current DefaultPermissionsAdministrator.GroupPermissionRow s for printing in a UI. |
java.util.List<java.lang.String> |
getPermissions()
|
java.util.Map |
getRequestParams()
Returns the parameters of the request |
java.util.Collection<PermissionRow> |
getUserPermissionRows()
Gets the list of current DefaultPermissionsAdministrator.UserPermissionRow s for printing in a UI. |
boolean |
isAdminUser()
|
void |
setPermissionsAdministratorBuilder(PermissionsAdministratorBuilder permissionsAdministratorBuilder)
|
Methods inherited from class com.opensymphony.xwork.ActionSupport |
---|
addActionError, addActionMessage, addFieldError, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.confluence.security.actions.PermissionsAware |
---|
getGuardPermission, getPermissionsAdministrator, isSharedMode, populateAdministrator |
Methods inherited from interface com.atlassian.confluence.validation.MessageHolderAware |
---|
validate |
Field Detail |
---|
protected java.util.Collection<PermissionRow> userPermissionRows
DefaultPermissionsAdministrator.UserPermissionRow
s.
protected java.util.Collection<PermissionRow> groupPermissionRows
DefaultPermissionsAdministrator.GroupPermissionRow
s.
protected PermissionRow anonymousPermissionRow
protected PermissionsAdministratorBuilder permissionsAdministratorBuilder
Constructor Detail |
---|
public AbstractPermissionsAction()
Method Detail |
---|
public void setPermissionsAdministratorBuilder(PermissionsAdministratorBuilder permissionsAdministratorBuilder)
public java.util.Collection<PermissionRow> getUserPermissionRows()
DefaultPermissionsAdministrator.UserPermissionRow
s for printing in a UI.
getUserPermissionRows
in interface PermissionsAware
DefaultPermissionsAdministrator.UserPermissionRow
public java.util.Collection<PermissionRow> getGroupPermissionRows()
DefaultPermissionsAdministrator.GroupPermissionRow
s for printing in a UI.
getGroupPermissionRows
in interface PermissionsAware
DefaultPermissionsAdministrator.GroupPermissionRow
public PermissionRow getAnonymousPermissionRow()
PermissionsAware
getAnonymousPermissionRow
in interface PermissionsAware
public java.util.Map getRequestParams()
PermissionsAware
getRequestParams
in interface PermissionsAware
public void bootstrap()
bootstrap
in interface BootstrapAware
public boolean isAdminUser()
public java.util.List<java.lang.String> getPermissions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |