com.atlassian.bamboo.configuration
Class AbstractPermissionAction
java.lang.Object
com.opensymphony.xwork.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.ww2.actions.build.admin.BuildConfigurationSupport
com.atlassian.bamboo.configuration.AbstractPermissionAction
- All Implemented Interfaces:
- ErrorCollection, BambooSessionAware, BuildConfigurationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, PlanAware, 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.build.admin.BuildConfigurationSupport |
getBuildConfiguration, getBuildConfigurationAsXml, getBuildKey, getNextButton, getPlan, getReturnResult, getSaveNowButton, getSecuredDomainObject, isNextButtonClicked, isSaveNowClicked, savePlan, setBuildConfiguration, setBuildKey, setNextButton, setPlan, setSaveNowButton |
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, getBuildManager, getChainManager, getConcurrentBuildsNumber, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getFlushedErrorMessages, getFormattedActionErrors, getFormattedErrorMessages, getInstanceName, getJsonObject, getPlan, getReturnUrl, getSessionUser, getText, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebSectionsForLocation, hasAdminPermission, hasAnyErrors, hasBuilds, hasGlobalAdminPermission, hasGlobalPermission, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, isCheckboxSetInAction, isEnableJavascript, isEnableSignup, isRestrictedAdminEnabled, isSelectFieldAndNull, renderFreemarkerTemplate, setAdministrationConfigurationManager, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setBuildManager, setChainManager, setCheckBoxFields, setCookieCutter, setDashboardCachingManager, setEnableJavascript, setErrorMessages, setPlanManager, setProjectManager, setReturnUrl, setWebInterfaceManager |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, pause, setActionErrors, setActionMessages, setFieldErrors, validate |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.core.i18n.I18nTextProvider |
getText |
aclService
protected HibernateMutableAclService aclService
aclUpdateHelper
protected BambooAclUpdateHelper aclUpdateHelper
acl
protected org.acegisecurity.acls.MutableAcl acl
grantedPermissions
protected java.util.List grantedPermissions
nonProcessedGrantedPermissions
protected java.util.List nonProcessedGrantedPermissions
grantedUsers
protected java.util.List grantedUsers
grantedGroups
protected java.util.List 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
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 getGrantedPermissions()
setGrantedPermissions
public void setGrantedPermissions(java.util.List grantedPermissions)
getGrantedUsers
public java.util.List getGrantedUsers()
setGrantedUsers
public void setGrantedUsers(java.util.List grantedUsers)
getGrantedGroups
public java.util.List getGrantedGroups()
setGrantedGroups
public void setGrantedGroups(java.util.List 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 © 2010 Atlassian. All Rights Reserved.