|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object webwork.action.ActionSupport com.atlassian.jira.action.JiraActionSupport com.atlassian.jira.web.action.JiraWebActionSupport com.atlassian.jira.web.action.admin.scheme.AbstractSchemeToolAction com.atlassian.jira.web.action.admin.scheme.mapper.AbstractGroupToRoleAction com.atlassian.jira.web.action.admin.scheme.mapper.SchemeGroupToRoleTransformerAction
public class SchemeGroupToRoleTransformerAction
This is portion of the GroupToRoleMapping tool that actually transforms the schemes. All the input has been collected once this action is invoked.
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.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 |
---|
public static final String UNMAPPED_PROJECT_ROLE_VALUE
Constructor Detail |
---|
public SchemeGroupToRoleTransformerAction(SchemeManagerFactory schemeManagerFactory, SchemeFactory schemeFactory, SchemeGroupsToRoleTransformerService schemeGroupsToRolesTransformer, ApplicationProperties applicationProperties)
Method Detail |
---|
public String doDefault() throws Exception
doDefault
in class webwork.action.ActionSupport
Exception
protected void doValidation()
doValidation
in class webwork.action.ActionSupport
protected String doExecute() throws Exception
doExecute
in class webwork.action.ActionSupport
Exception
public List getGroupToRoleMappings()
public boolean isAnyGroupGrantedGlobalUsePermission()
public boolean isGroupGrantedGlobalUsePermission(String groupName)
public Iterator getMappingsWithoutGlobalUsePermission()
public Iterator getMappingsWithGlobalUsePermission()
public String getFullNameForUser(String username)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |