public class AddPermissionAction extends BambooActionSupport
BambooActionSupport.JSONStatus
Modifier and Type | Field and Description |
---|---|
protected org.acegisecurity.acls.MutableAcl |
acl |
protected HibernateMutableAclService |
aclService |
protected BambooAclUpdateHelper |
aclUpdateHelper |
protected long |
entityId |
protected String |
newGroup |
protected String |
newUser |
protected String |
principalType |
protected com.atlassian.user.UserManager |
userManager |
ACCESS_DENIED, administrationConfigurationAccessor, administrationConfigurationManager, administrationConfigurationPersister, AGGREGATE_URL_PATTERN, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, cachedPlanManager, CONFIRM, cookieCutter, dashboardCachingManager, environmentService, featureManager, PAGE_NOT_FOUND, PLAN_KEY_CONTEXT, planExecutionManager, planManager, pluginAccessor, projectManager, webInterfaceManager
Constructor and Description |
---|
AddPermissionAction() |
Modifier and Type | Method and Description |
---|---|
String |
doCreatePrincipal() |
org.acegisecurity.acls.MutableAcl |
getAcl() |
long |
getEntityId() |
String |
getNewGroup() |
String |
getNewUser() |
String |
getPrincipalType() |
protected boolean |
hasParameters() |
void |
setAcl(org.acegisecurity.acls.MutableAcl acl) |
void |
setAclService(HibernateMutableAclService aclService) |
void |
setAclUpdateHelper(BambooAclUpdateHelper aclUpdateHelper) |
void |
setEntityId(long entityId) |
void |
setNewGroup(String newGroup) |
void |
setNewUser(String newUser) |
void |
setPrincipalType(String principalType) |
void |
setUserManager(com.atlassian.user.UserManager userManager) |
protected void |
updateAcl(org.acegisecurity.acls.MutableAcl acl) |
addActionError, addActionWarning, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addFieldErrors, addHelpPanel, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, buildWebPanelContext, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, doInput, execute, forceRelativeReturnUrl, getActionWarnings, getAdministrationConfiguration, getAvailableCategoryJson, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUrl, getBambooUserManager, getBaseUrl, getBestBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDeploymentProject, getDescriptionFromLabelKey, getElasticConfig, getFeatureManager, getFieldErrorAccessTracker, getFieldErrors, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedActionWarnings, getHelpPanels, getInstanceName, getJobEquiv, getJsonObject, getNavigationContext, getNavigationUrl, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getReturnUrl, getSecuredDomainObject, getServerLifecycleState, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextProvider, getTexts, getTexts, getTextWithArgs, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebPanelContext, getWebSectionsForLocation, hasActionWarnings, hasAdminPermission, hasAnyErrors, hasBuilds, hasEntityPermission, hasGlobalAdminPermission, hasGlobalPermission, hasGlobalPermission, hasKey, hasLinkedDeployments, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, input, isCheckboxSetInAction, isEc2ConfigurationWarningRequired, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, isViewContactDetailsEnabled, renderFreemarkerTemplate, setAdministrationConfigurationAccessor, setAdministrationConfigurationManager, setAdministrationConfigurationPersister, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setCachedPlanManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDashboardCachingManager, setDecorator, setEnableJavascript, setEnvironmentService, setErrorMessages, setFeatureManager, setI18nBeanFactory, setJobEquiv, setJsonator, setNavigationContext, setPlanExecutionManager, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager, toJson, toJson
addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFormatted, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getErrorMessages, getErrors
protected HibernateMutableAclService aclService
protected BambooAclUpdateHelper aclUpdateHelper
protected com.atlassian.user.UserManager userManager
protected org.acegisecurity.acls.MutableAcl acl
protected String newUser
protected String newGroup
protected String principalType
protected long entityId
@Nullable public org.acegisecurity.acls.MutableAcl getAcl()
protected boolean hasParameters()
protected void updateAcl(org.acegisecurity.acls.MutableAcl acl)
public void setAclService(HibernateMutableAclService aclService)
public void setAclUpdateHelper(BambooAclUpdateHelper aclUpdateHelper)
public void setAcl(org.acegisecurity.acls.MutableAcl acl)
public String getNewUser()
public void setNewUser(String newUser)
public String getNewGroup()
public void setNewGroup(String newGroup)
public long getEntityId()
public void setEntityId(long entityId)
public String getPrincipalType()
public void setPrincipalType(String principalType)
public void setUserManager(com.atlassian.user.UserManager userManager)
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.