com.atlassian.jira.web.action.admin.scheme.mapper
Class SchemeGroupToRoleTransformerAction

java.lang.Object
  extended by webwork.action.ActionSupport
      extended by com.atlassian.jira.action.JiraActionSupport
          extended by com.atlassian.jira.web.action.JiraWebActionSupport
              extended by com.atlassian.jira.web.action.admin.scheme.AbstractSchemeToolAction
                  extended by com.atlassian.jira.web.action.admin.scheme.mapper.AbstractGroupToRoleAction
                      extended by com.atlassian.jira.web.action.admin.scheme.mapper.SchemeGroupToRoleTransformerAction
All Implemented Interfaces:
ErrorCollection, I18nHelper, AuthorizationSupport, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class SchemeGroupToRoleTransformerAction
extends AbstractGroupToRoleAction

This is portion of the GroupToRoleMapping tool that actually transforms the schemes. All the input has been collected once this action is invoked.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.ErrorCollection
ErrorCollection.Reason
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper
I18nHelper.BeanFactory
 
Field Summary
static String UNMAPPED_PROJECT_ROLE_VALUE
           
 
Fields inherited from class com.atlassian.jira.web.action.admin.scheme.mapper.AbstractGroupToRoleAction
GROUP_TO_ROLE_MAP_SESSION_KEY, SCHEME_TOOL_NAME, TRANSFORM_RESULTS_KEY
 
Fields inherited from class com.atlassian.jira.web.action.admin.scheme.AbstractSchemeToolAction
applicationProperties
 
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
log
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
SchemeGroupToRoleTransformerAction(SchemeManagerFactory schemeManagerFactory, SchemeFactory schemeFactory, SchemeGroupsToRoleTransformerService schemeGroupsToRolesTransformer, ApplicationProperties applicationProperties)
           
 
Method Summary
 String doDefault()
           
protected  String doExecute()
           
protected  void doValidation()
           
 String getFullNameForUser(String username)
           
 List getGroupToRoleMappings()
           
 Iterator getMappingsWithGlobalUsePermission()
           
 Iterator getMappingsWithoutGlobalUsePermission()
           
 boolean isAnyGroupGrantedGlobalUsePermission()
           
 boolean isGroupGrantedGlobalUsePermission(String groupName)
           
 
Methods inherited from class com.atlassian.jira.web.action.admin.scheme.mapper.AbstractGroupToRoleAction
getSchemeTransformResults, getToolName, getUniqueGroupsForSelectedSchemes
 
Methods inherited from class com.atlassian.jira.web.action.admin.scheme.AbstractSchemeToolAction
getSchemeFactory, getSchemeManager, getSchemeManagerFactory, getSchemeObjs, getSelectedSchemeIds, getSelectedSchemeIdsSessionKey, getSelectedSchemeType, isHasSelectedSchemeIds, resetSelectedSchemeIds, setSelectedSchemeIds, setSelectedSchemeType, storeSelectedSchemeIdsInSession
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDmyDateFormatter, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInUser, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirectChecker, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, htmlEncode, insertContextPath, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getRemoteUser, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, getCommandName, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, 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, setErrorMessages
 
Methods inherited from interface webwork.action.CommandDriven
getCommandName, setCommand
 

Field Detail

UNMAPPED_PROJECT_ROLE_VALUE

public static final String UNMAPPED_PROJECT_ROLE_VALUE
See Also:
Constant Field Values
Constructor Detail

SchemeGroupToRoleTransformerAction

public SchemeGroupToRoleTransformerAction(SchemeManagerFactory schemeManagerFactory,
                                          SchemeFactory schemeFactory,
                                          SchemeGroupsToRoleTransformerService schemeGroupsToRolesTransformer,
                                          ApplicationProperties applicationProperties)
Method Detail

doDefault

public String doDefault()
                 throws Exception
Overrides:
doDefault in class webwork.action.ActionSupport
Throws:
Exception

doValidation

protected void doValidation()
Overrides:
doValidation in class webwork.action.ActionSupport

doExecute

protected String doExecute()
                    throws Exception
Overrides:
doExecute in class webwork.action.ActionSupport
Throws:
Exception

getGroupToRoleMappings

public List getGroupToRoleMappings()

isAnyGroupGrantedGlobalUsePermission

public boolean isAnyGroupGrantedGlobalUsePermission()

isGroupGrantedGlobalUsePermission

public boolean isGroupGrantedGlobalUsePermission(String groupName)

getMappingsWithoutGlobalUsePermission

public Iterator getMappingsWithoutGlobalUsePermission()

getMappingsWithGlobalUsePermission

public Iterator getMappingsWithGlobalUsePermission()

getFullNameForUser

public String getFullNameForUser(String username)


Copyright © 2002-2012 Atlassian. All Rights Reserved.