com.atlassian.jira.web.action.admin.translation
Class ViewTranslations

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.issuetypes.AbstractManageIssueTypeOptionsAction
                  extended by com.atlassian.jira.web.action.admin.translation.ViewTranslations
All Implemented Interfaces:
ErrorCollection, I18nHelper, java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class ViewTranslations
extends AbstractManageIssueTypeOptionsAction

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.jira.web.action.admin.issuetypes.AbstractManageIssueTypeOptionsAction
AbstractManageIssueTypeOptionsAction.FieldConfigPredicate
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper
I18nHelper.BeanFactory
 
Field Summary
static java.lang.String ISSUECONSTANT_ISSUETYPE
           
static java.lang.String ISSUECONSTANT_PRIORITY
           
static java.lang.String ISSUECONSTANT_RESOLUTION
           
static java.lang.String ISSUECONSTANT_STATUS
           
static java.lang.String ISSUECONSTANT_SUBTASK
           
static java.lang.String ISSUETYPE_CONSTANT_NAME
           
static java.lang.String LINKNAME_ISSUETYPE
           
static java.lang.String LINKNAME_PRIORITY
           
static java.lang.String LINKNAME_RESOLUTION
           
static java.lang.String LINKNAME_STATUS
           
static java.lang.String LINKNAME_SUBTASK
           
static java.lang.String PRIORITY_CONSTANT_NAME
           
static java.lang.String RESOLUTION_CONSTANT_NAME
           
static java.lang.String STATUS_CONSTANT_NAME
           
static java.lang.String SUBTASK_CONSTANT_NAME
           
static java.lang.String TRANSLATION_PREFIX
           
 
Fields inherited from class com.atlassian.jira.web.action.admin.issuetypes.AbstractManageIssueTypeOptionsAction
bulkMoveOperation, configScheme, configSchemeManager, fieldId, fieldManager, issueManager, issueTypeSchemeManager, manageableOptionType, optionSetManager, schemeId, searcherManager, searchProvider
 
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
ViewTranslations(FieldConfigSchemeManager configSchemeManager, IssueTypeSchemeManager issueTypeSchemeManager, FieldManager fieldManager, OptionSetManager optionSetManager, IssueTypeManageableOption manageableOptionType, BulkMoveOperation bulkMoveOperation, SearchProvider searchProvider, TranslationManager translationManager, ConstantsManager constantsManager, JiraAuthenticationContext authenticationContext, IssueManager issueManager, LocaleManager localeManager)
           
 
Method Summary
 java.lang.String doDefault()
           
 java.lang.String doExecute()
           
 void doValidation()
           
 java.lang.String getActionType()
           
 java.lang.String getCurrentLocale()
           
 java.lang.String getDescKey(IssueConstant issueConstant)
           
 java.util.Map getInstalledLocales()
           
 java.lang.String getIssueConstantName()
           
 java.util.Collection getIssueConstants()
           
 java.lang.String getIssueConstantTranslationPrefix()
           
 java.lang.String getIssueConstantType()
           
 java.lang.String getLinkName()
           
 java.lang.String getNameKey(IssueConstant issueConstant)
           
 java.lang.String getRedirectPage()
           
 java.lang.String getSelectedLocale()
           
 java.lang.String getSelectedLocaleDisplayName()
          Returns a name for the selected locale in the user's language for display purposes.
 java.lang.String getTranslatedDesc(IssueConstant issueConstant)
           
 java.lang.String getTranslatedName(IssueConstant issueConstant)
           
 void setIssueConstantType(java.lang.String issueConstantType)
           
 void setSelectedLocale(java.lang.String selectedLocale)
           
 
Methods inherited from class com.atlassian.jira.web.action.admin.issuetypes.AbstractManageIssueTypeOptionsAction
getConfigScheme, getConfigurableField, getFieldId, getManageableOption, getQuery, getRedirect, getSchemeId, migrateIssues, setConfigScheme, setFieldId, setSchemeId
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addErrorCollection, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, forceRedirect, getApplicationProperties, getAssignableUsers, getAssignableUsers, getCachedGroups, getComponentManager, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getJiraServiceContext, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRandomHint, getRedirect, getRemoteUser, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getText, getTimeFormat, getUriValidator, getUserFullName, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, htmlEncode, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, returnComplete, returnComplete, returnCompleteWithInlineRedirect, setConglomerateCookieValue, setInline, setReturnUrl, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getDefaultResourceBundle, getDelegator, getKeysForPrefix, getLocale, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText0, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isProfessionalOrEnterprise, isStandard, 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

ISSUECONSTANT_ISSUETYPE

public static final java.lang.String ISSUECONSTANT_ISSUETYPE
See Also:
Constant Field Values

ISSUECONSTANT_PRIORITY

public static final java.lang.String ISSUECONSTANT_PRIORITY
See Also:
Constant Field Values

ISSUECONSTANT_RESOLUTION

public static final java.lang.String ISSUECONSTANT_RESOLUTION
See Also:
Constant Field Values

ISSUECONSTANT_STATUS

public static final java.lang.String ISSUECONSTANT_STATUS
See Also:
Constant Field Values

ISSUECONSTANT_SUBTASK

public static final java.lang.String ISSUECONSTANT_SUBTASK
See Also:
Constant Field Values

TRANSLATION_PREFIX

public static final java.lang.String TRANSLATION_PREFIX
See Also:
Constant Field Values

STATUS_CONSTANT_NAME

public static final java.lang.String STATUS_CONSTANT_NAME
See Also:
Constant Field Values

ISSUETYPE_CONSTANT_NAME

public static final java.lang.String ISSUETYPE_CONSTANT_NAME
See Also:
Constant Field Values

RESOLUTION_CONSTANT_NAME

public static final java.lang.String RESOLUTION_CONSTANT_NAME
See Also:
Constant Field Values

SUBTASK_CONSTANT_NAME

public static final java.lang.String SUBTASK_CONSTANT_NAME
See Also:
Constant Field Values

PRIORITY_CONSTANT_NAME

public static final java.lang.String PRIORITY_CONSTANT_NAME
See Also:
Constant Field Values

LINKNAME_ISSUETYPE

public static final java.lang.String LINKNAME_ISSUETYPE
See Also:
Constant Field Values

LINKNAME_PRIORITY

public static final java.lang.String LINKNAME_PRIORITY
See Also:
Constant Field Values

LINKNAME_RESOLUTION

public static final java.lang.String LINKNAME_RESOLUTION
See Also:
Constant Field Values

LINKNAME_STATUS

public static final java.lang.String LINKNAME_STATUS
See Also:
Constant Field Values

LINKNAME_SUBTASK

public static final java.lang.String LINKNAME_SUBTASK
See Also:
Constant Field Values
Constructor Detail

ViewTranslations

public ViewTranslations(FieldConfigSchemeManager configSchemeManager,
                        IssueTypeSchemeManager issueTypeSchemeManager,
                        FieldManager fieldManager,
                        OptionSetManager optionSetManager,
                        IssueTypeManageableOption manageableOptionType,
                        BulkMoveOperation bulkMoveOperation,
                        SearchProvider searchProvider,
                        TranslationManager translationManager,
                        ConstantsManager constantsManager,
                        JiraAuthenticationContext authenticationContext,
                        IssueManager issueManager,
                        LocaleManager localeManager)
Method Detail

doDefault

public java.lang.String doDefault()
Overrides:
doDefault in class webwork.action.ActionSupport

doValidation

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

doExecute

public java.lang.String doExecute()
Overrides:
doExecute in class webwork.action.ActionSupport

getIssueConstantName

public java.lang.String getIssueConstantName()

getIssueConstantTranslationPrefix

public java.lang.String getIssueConstantTranslationPrefix()

getRedirectPage

public java.lang.String getRedirectPage()

getIssueConstants

public java.util.Collection getIssueConstants()

getLinkName

public java.lang.String getLinkName()

getCurrentLocale

public java.lang.String getCurrentLocale()

getSelectedLocaleDisplayName

public java.lang.String getSelectedLocaleDisplayName()
Returns a name for the selected locale in the user's language for display purposes.


getNameKey

public java.lang.String getNameKey(IssueConstant issueConstant)

getDescKey

public java.lang.String getDescKey(IssueConstant issueConstant)

getTranslatedName

public java.lang.String getTranslatedName(IssueConstant issueConstant)

getTranslatedDesc

public java.lang.String getTranslatedDesc(IssueConstant issueConstant)

getInstalledLocales

public java.util.Map getInstalledLocales()

getIssueConstantType

public java.lang.String getIssueConstantType()

setIssueConstantType

public void setIssueConstantType(java.lang.String issueConstantType)

getSelectedLocale

public java.lang.String getSelectedLocale()

setSelectedLocale

public void setSelectedLocale(java.lang.String selectedLocale)

getActionType

public java.lang.String getActionType()


Copyright © 2002-2010 Atlassian. All Rights Reserved.