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, 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  String selectedGroup
           
protected  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  String executeAction(String errorMessageKey)
           
 List<String> getGroupsToAddAsList()
           
 PermissionCheckDispatcherResultCache getPermissionCheckDispatcherResultCache()
           
 PermissionsAdministrator getPermissionsAdministrator()
           
 String getSelectedGroup()
           
 String getSelectedUsername()
           
 List<String> getUsersToAddAsList()
           
 void setGroupsToAdd(String groupsToAdd)
           
 void setPermissionCheckDispatcherResultCache(PermissionCheckDispatcherResultCache permissionCheckDispatcherResultCache)
           
 void setSelectedGroup(String selectedGroup)
           
 void setSelectedUsername(String selectedUsername)
           
 void setUsersToAdd(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, getDefaultTimeZone, 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, setTimeZoneManager, 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 String selectedUsername

selectedGroup

protected 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 String executeAction(String errorMessageKey)

getUsersToAddAsList

public List<String> getUsersToAddAsList()
Specified by:
getUsersToAddAsList in interface EditPermissionsAware

setUsersToAdd

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

getGroupsToAddAsList

public List<String> getGroupsToAddAsList()
Specified by:
getGroupsToAddAsList in interface EditPermissionsAware

setGroupsToAdd

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

getSelectedUsername

public String getSelectedUsername()
Specified by:
getSelectedUsername in interface EditPermissionsAware

setSelectedUsername

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

getSelectedGroup

public String getSelectedGroup()
Specified by:
getSelectedGroup in interface EditPermissionsAware

setSelectedGroup

public void setSelectedGroup(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–2015 Atlassian. All rights reserved.