com.atlassian.bamboo.configuration
Class AbstractPermissionAction
java.lang.Object
com.opensymphony.xwork.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.ww2.actions.PlanActionSupport
com.atlassian.bamboo.ww2.actions.build.admin.BuildConfigurationSupport
com.atlassian.bamboo.configuration.AbstractPermissionAction
- All Implemented Interfaces:
- ErrorCollection, BambooSessionAware, BuildConfigurationAware, NavigationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, PlanAware, ProjectAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, com.uwyn.rife.continuations.ContinuableObject, java.io.Serializable, java.lang.Cloneable
- Direct Known Subclasses:
- BulkEditBuildPermissions, ConfigureBuildPermissions, ConfigureGlobalPermissions
public abstract class AbstractPermissionAction
- extends BuildConfigurationSupport
- See Also:
- Serialized Form
Fields inherited from class com.opensymphony.xwork.ActionSupport |
LOG |
Fields inherited from interface com.opensymphony.xwork.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Methods inherited from class com.atlassian.bamboo.ww2.actions.PlanActionSupport |
buildWebPanelContext, getBuildKey, getBuildNumber, getCurrentlyBuildingPlans, getErrorAccessor, getPlan, getPlanKey, getPlanResultKey, getProject, getResultsSummaryManager, getTypedPlanResultKey, planNotFound, setBuildKey, setBuildNumber, setErrorAccessor, setPlan, setPlanExecutionManager, setPlanKey, setPlanResultKey, setResultsSummaryManager |
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, execute, getAdministrationConfiguration, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUserManager, getBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedErrorMessages, getInstanceName, getJobEquiv, getJsonObject, getNavigationContext, getNavigationUrl, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getReturnUrl, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, getTextWithArgs, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebPanelContext, getWebSectionsForLocation, hasAdminPermission, hasAnyErrors, hasBuilds, hasGlobalAdminPermission, hasGlobalPermission, hasKey, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, isCheckboxSetInAction, isEnableJavascript, isEnableSignup, isRestrictedAdminEnabled, isSelectFieldAndNull, renderFreemarkerTemplate, setAdministrationConfigurationManager, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDashboardCachingManager, setEnableJavascript, setErrorMessages, setI18nBeanFactory, setJobEquiv, setNavigationContext, setPlanManager, setPluginAccessor, setProjectManager, setReturnUrl, setWebInterfaceManager |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, pause, setActionErrors, setActionMessages, setFieldErrors, validate |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
aclService
protected HibernateMutableAclService aclService
aclUpdateHelper
protected BambooAclUpdateHelper aclUpdateHelper
acl
protected org.acegisecurity.acls.MutableAcl acl
grantedPermissions
protected java.util.List<java.lang.String> grantedPermissions
nonProcessedGrantedPermissions
protected java.util.List<java.lang.String> nonProcessedGrantedPermissions
grantedUsers
protected java.util.List<java.lang.String> grantedUsers
grantedGroups
protected java.util.List<java.lang.String> grantedGroups
newUser
protected java.lang.String newUser
newGroup
protected java.lang.String newGroup
addUserPrincipal
protected java.lang.String addUserPrincipal
addGroupPrincipal
protected java.lang.String addGroupPrincipal
principalType
protected java.lang.String principalType
AbstractPermissionAction
public AbstractPermissionAction()
populatePermissionLists
protected void populatePermissionLists()
validateSaveAllPermissions
protected void validateSaveAllPermissions(java.util.List<java.lang.String> permissions)
getAcl
@Nullable
public abstract org.acegisecurity.acls.MutableAcl getAcl()
setAclService
public void setAclService(HibernateMutableAclService aclService)
setAclUpdateHelper
public void setAclUpdateHelper(BambooAclUpdateHelper aclUpdateHelper)
setAcl
public void setAcl(org.acegisecurity.acls.MutableAcl acl)
getGrantedPermissions
public java.util.List<java.lang.String> getGrantedPermissions()
setGrantedPermissions
public void setGrantedPermissions(java.util.List<java.lang.String> grantedPermissions)
getGrantedUsers
public java.util.List<java.lang.String> getGrantedUsers()
setGrantedUsers
public void setGrantedUsers(java.util.List<java.lang.String> grantedUsers)
getGrantedGroups
public java.util.List<java.lang.String> getGrantedGroups()
setGrantedGroups
public void setGrantedGroups(java.util.List<java.lang.String> grantedGroups)
getNewUser
public java.lang.String getNewUser()
setNewUser
public void setNewUser(java.lang.String newUser)
getNewGroup
public java.lang.String getNewGroup()
setNewGroup
public void setNewGroup(java.lang.String newGroup)
getAddUserPrincipal
public java.lang.String getAddUserPrincipal()
setAddUserPrincipal
public void setAddUserPrincipal(java.lang.String addUserPrincipal)
getAddGroupPrincipal
public java.lang.String getAddGroupPrincipal()
setAddGroupPrincipal
public void setAddGroupPrincipal(java.lang.String addGroupPrincipal)
getPrincipalType
public java.lang.String getPrincipalType()
setPrincipalType
public void setPrincipalType(java.lang.String principalType)
hasEditPermissionForUserName
public boolean hasEditPermissionForUserName(java.lang.String userName)
hasEditPermissionForUser
public boolean hasEditPermissionForUser(BambooUser user)
hasEditPermissionForGroup
public boolean hasEditPermissionForGroup(java.lang.String groupName)
Copyright © 2011 Atlassian. All Rights Reserved.