public abstract class AbstractEditPermissionAction extends AbstractPermissionsAction implements EditPermissionsAware
Modifier and Type | Field and Description |
---|---|
protected EditPermissionsAdministrator |
permissionsAdministrator |
protected String |
selectedGroup |
protected String |
selectedUsername |
anonymousPermissionRow, groupPermissionRows, permissionsAdministratorBuilder, userPermissionRows
accessModeService, CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, personService, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
Constructor and Description |
---|
AbstractEditPermissionAction() |
Modifier and Type | Method and Description |
---|---|
protected String |
executeAction(String errorMessageKey) |
List<String> |
getGroupsToAddAsList() |
PermissionsAdministrator |
getPermissionsAdministrator() |
String |
getSelectedGroup() |
String |
getSelectedUsername() |
List<String> |
getUsersToAddAsList() |
void |
setGroupsToAdd(String groupsToAdd) |
void |
setSelectedGroup(String selectedGroup) |
void |
setSelectedUsername(String selectedUsername) |
void |
setUsersToAdd(String usersToAdd) |
void |
validate()
Validate the form
|
bootstrap, getAnonymousPermissionRow, getGroupPermissionRows, getPermissions, getRequestParams, getUnlicensedAuthenticatedPermissionRow, getUserPermissionRows, isAdminUser, isShowGlobalUnlicensedUsersUI, isValidAnonymousPermission, isValidAuthenticatedUsersPermission, setPermissionsAdministratorBuilder
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getAccessMode, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getConfluenceAccessManager, getContext, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocLink, getEventManager, getFriendlyDateFormatter, getFrontendServiceURL, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionManager, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPersonService, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserByName, getUserFullName, getUserHasBrowseUsersPermission, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermitted, isPrintableVersion, isSharedMode, isSkipAccessCheck, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setAccessModeService, setApiDateFormatService, setApiPersonService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSkipAccessCheck, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager
addActionError, addActionMessage, addFieldError, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute
getAnonymousPermissionRow, getGroupPermissionRows, getGuardPermission, getRequestParams, getUnlicensedAuthenticatedPermissionRow, getUserPermissionRows, isSharedMode, populateAdministrator
protected String selectedUsername
protected String selectedGroup
protected EditPermissionsAdministrator permissionsAdministrator
public PermissionsAdministrator getPermissionsAdministrator()
getPermissionsAdministrator
in interface PermissionsAware
public void validate()
EditPermissionsAware
validate
in interface EditPermissionsAware
validate
in interface MessageHolderAware
validate
in interface com.opensymphony.xwork.Validateable
validate
in class com.opensymphony.xwork.ActionSupport
public List<String> getUsersToAddAsList()
getUsersToAddAsList
in interface EditPermissionsAware
public void setUsersToAdd(String usersToAdd)
setUsersToAdd
in interface EditPermissionsAware
public List<String> getGroupsToAddAsList()
getGroupsToAddAsList
in interface EditPermissionsAware
public void setGroupsToAdd(String groupsToAdd)
setGroupsToAdd
in interface EditPermissionsAware
public String getSelectedUsername()
getSelectedUsername
in interface EditPermissionsAware
public void setSelectedUsername(String selectedUsername)
setSelectedUsername
in interface EditPermissionsAware
public String getSelectedGroup()
getSelectedGroup
in interface EditPermissionsAware
public void setSelectedGroup(String selectedGroup)
setSelectedGroup
in interface EditPermissionsAware
Copyright © 2003–2018 Atlassian. All rights reserved.