com.atlassian.bamboo.configuration
Class AbstractPermissionAction

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.bamboo.ww2.BambooActionSupport
          extended by com.atlassian.bamboo.configuration.AbstractPermissionAction
All Implemented Interfaces:
ErrorCollection, BambooSessionAware, DomainObjectSecurityAware, GlobalReadSecurityAware, ReturnUrlAware, 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 BambooActionSupport

See Also:
Serialized Form

Field Summary
protected  org.acegisecurity.acls.MutableAcl acl
           
protected  HibernateMutableAclService aclService
           
protected  BambooAclUpdateHelper aclUpdateHelper
           
protected  java.lang.String addGroupPrincipal
           
protected  java.lang.String addUserPrincipal
           
protected  java.util.List grantedGroups
           
protected  java.util.List grantedPermissions
           
protected  java.util.List grantedUsers
           
protected  java.lang.String newGroup
           
protected  java.lang.String newUser
           
protected  java.lang.String principalType
           
 
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
buildManager, CONFIRM, cookieCutter, dashboardCachingManager
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
AbstractPermissionAction()
           
 
Method Summary
abstract  org.acegisecurity.acls.MutableAcl getAcl()
           
 java.lang.String getAddGroupPrincipal()
           
 java.lang.String getAddUserPrincipal()
           
 java.util.List getGrantedGroups()
           
 java.util.List getGrantedPermissions()
           
 java.util.List getGrantedUsers()
           
 java.lang.String getNewGroup()
           
 java.lang.String getNewUser()
           
 java.lang.String getPrincipalType()
           
protected  void populatePermissionLists()
           
 void setAcl(org.acegisecurity.acls.MutableAcl acl)
           
 void setAclService(HibernateMutableAclService aclService)
           
 void setAclUpdateHelper(BambooAclUpdateHelper aclUpdateHelper)
           
 void setAddGroupPrincipal(java.lang.String addGroupPrincipal)
           
 void setAddUserPrincipal(java.lang.String addUserPrincipal)
           
 void setGrantedGroups(java.util.List grantedGroups)
           
 void setGrantedPermissions(java.util.List grantedPermissions)
           
 void setGrantedUsers(java.util.List grantedUsers)
           
 void setNewGroup(java.lang.String newGroup)
           
 void setNewUser(java.lang.String newUser)
           
 void setPrincipalType(java.lang.String principalType)
           
protected  void validateSaveAllPermissions(java.util.List<java.lang.String> permissions)
           
 
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, areCheckBoxesEmpty, doDefault, doesLabelKeyHaveMatchingDescription, doExecute, execute, getAdministrationConfiguration, getAsPreformattedText, getBamboo, getBambooLicenseManager, getBambooSession, getBambooUserManager, getBaseUrl, getBootstrapManager, getBreadCrumbs, getBuildManager, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getFlushedErrorMessages, getInstanceName, getReturnUrl, getSecuredDomainObject, getSessionUser, getTotalErrors, getUser, getWebFragmentsContextMap, getWebItemsForSection, getWebResourceManager, getWebSectionsForLocation, hasAnyErrors, hasBuilds, hasGlobalPermission, hasPlanPermission, hasPlanPermission, isEnableSignup, isSelectFieldAndNull, renderFreemarkerTemplate, setAdministrationConfiguration, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildManager, setCookieCutter, setDashboardCachingManager, setErrorMessages, setHtmlUtils, setReturnUrl, setWebInterfaceManager, setWebResourceManager
 
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.bamboo.utils.error.ErrorCollection
getErrorMessages, getErrors, getFieldErrors
 

Field Detail

aclService

protected HibernateMutableAclService aclService

aclUpdateHelper

protected BambooAclUpdateHelper aclUpdateHelper

acl

protected org.acegisecurity.acls.MutableAcl acl

grantedPermissions

protected java.util.List grantedPermissions

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
Constructor Detail

AbstractPermissionAction

public AbstractPermissionAction()
Method Detail

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)


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.