com.atlassian.jira.web.action.admin
Class GlobalPermissions

java.lang.Object
  extended bywebwork.action.ActionSupport
      extended bycom.atlassian.jira.action.JiraActionSupport
          extended bycom.atlassian.jira.web.action.JiraWebActionSupport
              extended bycom.atlassian.jira.web.action.ProjectActionSupport
                  extended bycom.atlassian.jira.web.action.AbstractPermissions
                      extended bycom.atlassian.jira.web.action.admin.GlobalPermissions
All Implemented Interfaces:
webwork.action.Action, webwork.action.CommandDriven, ErrorCollection, I18nHelper, webwork.action.IllegalArgumentAware, java.io.Serializable

public class GlobalPermissions
extends AbstractPermissions

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.jira.web.action.AbstractPermissions
 
Fields inherited from class com.atlassian.jira.web.action.ProjectActionSupport
projectManager, savedFilters
 
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
log
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages
 
Fields inherited from interface com.atlassian.jira.util.I18nHelper
DEFAULT_RESOURCE_BUNDLE
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
GlobalPermissions()
           
 
Method Summary
 boolean allowGlobalPerms()
           
protected  void createPermission(int permType, com.opensymphony.user.Group group)
           
 java.util.Collection getPermissionGroups(java.lang.Integer permType)
           
protected  java.lang.String getPermissionRedirect()
           
protected  void removePermission(int permType, com.opensymphony.user.Group group)
           
 
Methods inherited from class com.atlassian.jira.web.action.AbstractPermissions
doExecute, doValidation, getDescription, getGroupName, getGroups, getPermType, getPermTypes, setAction, setGroupName, setPermType
 
Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport
getBrowseableProjects, getBrowseableProjectsInCategory, getSavedFilters, getSelectedProject, isEnterprise, setSelectedProject, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addErrorCollection, getAssignableUsers, getAssignableUsers, getCachedGroups, getColumnViewHtml, getComponentManager, getConstantsManager, getCustomFieldHtml, getCustomFieldXML, getDefaultAssignee, getDefaultResourceBundle, getField, getLocale, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getReturnUrl, getText, getText, getText, getText, getText, getUserFullName, getUserPreferences, getVersionManager, isDefaultAssignee, isDefaultAssignee, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, processDefaultAssignee, processDefaultAssignee, processDefaultAssignee, setReturnUrl
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, execute, getActionName, getApplicationProperties, getDelegator, getLocaleUtils, getResult, getUnescapedText, getWatcherManager, hasAnyErrors, isIndexing
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, addIllegalArgumentException, doDefault, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.util.ErrorCollection
addError, addErrorMessage, addErrorMessages, addErrors, getErrorMessages, getErrors, hasAnyErrors
 
Methods inherited from interface webwork.action.CommandDriven
setCommand
 

Constructor Detail

GlobalPermissions

public GlobalPermissions()
Method Detail

allowGlobalPerms

public boolean allowGlobalPerms()
Specified by:
allowGlobalPerms in class AbstractPermissions

getPermissionRedirect

protected java.lang.String getPermissionRedirect()
                                          throws java.lang.Exception
Specified by:
getPermissionRedirect in class AbstractPermissions
Throws:
java.lang.Exception

createPermission

protected void createPermission(int permType,
                                com.opensymphony.user.Group group)
                         throws CreateException
Specified by:
createPermission in class AbstractPermissions
Throws:
CreateException

removePermission

protected void removePermission(int permType,
                                com.opensymphony.user.Group group)
                         throws RemoveException
Specified by:
removePermission in class AbstractPermissions
Throws:
RemoveException

getPermissionGroups

public java.util.Collection getPermissionGroups(java.lang.Integer permType)
Specified by:
getPermissionGroups in class AbstractPermissions


Copyright © 2002-2005 Atlassian. All Rights Reserved.