com.atlassian.confluence.security.actions
Class AbstractEditPermissionAction

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.confluence.core.ConfluenceActionSupport
          extended by com.atlassian.confluence.security.actions.AbstractPermissionsAction
              extended by com.atlassian.confluence.security.actions.AbstractEditPermissionAction
All Implemented Interfaces:
BootstrapAware, WebInterface, EditPermissionsAware, PermissionsAware, MessageHolderAware, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, java.io.Serializable
Direct Known Subclasses:
EditGlobalPermissionsAction, EditSpacePermissionDefaultsAction, EditSpacePermissionsAction

public abstract class AbstractEditPermissionAction
extends AbstractPermissionsAction
implements EditPermissionsAware

See Also:
Serialized Form

Field Summary
protected  EditPermissionsAdministrator permissionsAdministrator
           
protected  java.lang.String selectedGroup
           
protected  java.lang.String selectedUsername
           
 
Fields inherited from class com.atlassian.confluence.security.actions.AbstractPermissionsAction
anonymousPermissionRow, groupPermissionRows, permissionsAdministratorBuilder, userPermissionRows
 
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
AbstractEditPermissionAction()
           
 
Method Summary
protected  java.lang.String executeAction(java.lang.String errorMessageKey)
           
 java.util.List<java.lang.String> getGroupsToAddAsList()
           
 PermissionCheckDispatcherResultCache getPermissionCheckDispatcherResultCache()
           
 PermissionsAdministrator getPermissionsAdministrator()
           
 java.lang.String getSelectedGroup()
           
 java.lang.String getSelectedUsername()
           
 java.util.List<java.lang.String> getUsersToAddAsList()
           
 void setGroupsToAdd(java.lang.String groupsToAdd)
           
 void setPermissionCheckDispatcherResultCache(PermissionCheckDispatcherResultCache permissionCheckDispatcherResultCache)
           
 void setSelectedGroup(java.lang.String selectedGroup)
           
 void setSelectedUsername(java.lang.String selectedUsername)
           
 void setUsersToAdd(java.lang.String usersToAdd)
           
 void validate()
          Validate the form
 
Methods inherited from class com.atlassian.confluence.security.actions.AbstractPermissionsAction
bootstrap, getAnonymousPermissionRow, getGroupPermissionRows, getPermissions, getRequestParams, getUserPermissionRows, isAdminUser, setPermissionsAdministratorBuilder
 
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getContext, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDocLink, getEventManager, getFriendlyDateFormatter, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserByName, getUserFullName, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermissionCheck, isPermitted, isPermittedAsString, isPrintableVersion, isSharedMode, isUserStatusPluginEnabled, isUsingHSQL, setApiDateFormatService, setBootstrapManager, setCancel, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionCheck, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setSettingsManager, setSpacePermissionManager, setSystemInformationService, setUserAccessor, setWebInterfaceManager
 
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
 
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.EditPermissionsAware
execute
 
Methods inherited from interface com.atlassian.confluence.security.actions.PermissionsAware
getAnonymousPermissionRow, getGroupPermissionRows, getGuardPermission, getRequestParams, getUserPermissionRows, isSharedMode, populateAdministrator
 

Field Detail

selectedUsername

protected java.lang.String selectedUsername

selectedGroup

protected java.lang.String selectedGroup

permissionsAdministrator

protected EditPermissionsAdministrator permissionsAdministrator
Constructor Detail

AbstractEditPermissionAction

public AbstractEditPermissionAction()
Method Detail

getPermissionsAdministrator

public PermissionsAdministrator getPermissionsAdministrator()
Specified by:
getPermissionsAdministrator in interface PermissionsAware

validate

public void validate()
Description copied from interface: EditPermissionsAware
Validate the form

Specified by:
validate in interface EditPermissionsAware
Specified by:
validate in interface MessageHolderAware
Specified by:
validate in interface com.opensymphony.xwork.Validateable
Overrides:
validate in class com.opensymphony.xwork.ActionSupport

executeAction

protected java.lang.String executeAction(java.lang.String errorMessageKey)

getUsersToAddAsList

public java.util.List<java.lang.String> getUsersToAddAsList()
Specified by:
getUsersToAddAsList in interface EditPermissionsAware

setUsersToAdd

public void setUsersToAdd(java.lang.String usersToAdd)
Specified by:
setUsersToAdd in interface EditPermissionsAware

getGroupsToAddAsList

public java.util.List<java.lang.String> getGroupsToAddAsList()
Specified by:
getGroupsToAddAsList in interface EditPermissionsAware

setGroupsToAdd

public void setGroupsToAdd(java.lang.String groupsToAdd)
Specified by:
setGroupsToAdd in interface EditPermissionsAware

getSelectedUsername

public java.lang.String getSelectedUsername()
Specified by:
getSelectedUsername in interface EditPermissionsAware

setSelectedUsername

public void setSelectedUsername(java.lang.String selectedUsername)
Specified by:
setSelectedUsername in interface EditPermissionsAware

getSelectedGroup

public java.lang.String getSelectedGroup()
Specified by:
getSelectedGroup in interface EditPermissionsAware

setSelectedGroup

public void setSelectedGroup(java.lang.String selectedGroup)
Specified by:
setSelectedGroup in interface EditPermissionsAware

getPermissionCheckDispatcherResultCache

public PermissionCheckDispatcherResultCache getPermissionCheckDispatcherResultCache()
Specified by:
getPermissionCheckDispatcherResultCache in interface EditPermissionsAware

setPermissionCheckDispatcherResultCache

public void setPermissionCheckDispatcherResultCache(PermissionCheckDispatcherResultCache permissionCheckDispatcherResultCache)
Specified by:
setPermissionCheckDispatcherResultCache in interface EditPermissionsAware


Copyright © 2003-2014 Atlassian. All Rights Reserved.