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, HttpServletVariables, AuthorizationSupport, 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 class com.atlassian.jira.web.action.JiraWebActionSupport
JiraWebActionSupport.MessageType
 
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 ISSUECONSTANT_ISSUETYPE
           
static String ISSUECONSTANT_PRIORITY
           
static String ISSUECONSTANT_RESOLUTION
           
static String ISSUECONSTANT_STATUS
           
static String ISSUECONSTANT_SUBTASK
           
static String ISSUETYPE_CONSTANT_NAME
           
static String LINKNAME_ISSUETYPE
           
static String LINKNAME_PRIORITY
           
static String LINKNAME_RESOLUTION
           
static String LINKNAME_STATUS
           
static String LINKNAME_SUBTASK
           
static String PRIORITY_CONSTANT_NAME
           
static String RESOLUTION_CONSTANT_NAME
           
static String STATUS_CONSTANT_NAME
           
static String SUBTASK_CONSTANT_NAME
           
static 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
 String doDefault()
           
 String doExecute()
           
 void doValidation()
           
 String getActionType()
           
 String getCurrentLocale()
           
 String getDescKey(IssueConstant issueConstant)
           
 Map getInstalledLocales()
           
 String getIssueConstantName()
           
 Collection<IssueConstant> getIssueConstants()
           
 String getIssueConstantTranslationPrefix()
           
 String getIssueConstantType()
           
 String getLinkName()
           
 String getNameKey(IssueConstant issueConstant)
           
 String getRedirectPage()
           
 String getSelectedLocale()
           
 String getSelectedLocaleDisplayName()
          Returns a name for the selected locale in the user's language for display purposes.
 String getTranslatedDesc(IssueConstant issueConstant)
           
 String getTranslatedName(IssueConstant issueConstant)
           
 boolean isTranslatable()
           
 void setIssueConstantType(String issueConstantType)
           
 void setSelectedLocale(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
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addMessageToResponse, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDmyDateFormatter, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getServletContext, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, hasIssuePermission, hasPermission, hasProjectPermission, htmlEncode, insertContextPath, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, urlEncode
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getRemoteUser, getResourceBundle, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUntransformedRawText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, isKeyDefined, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, getCommandName, 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, hasAnyErrors, setErrorMessages
 
Methods inherited from interface webwork.action.CommandDriven
getCommandName, setCommand
 

Field Detail

ISSUECONSTANT_ISSUETYPE

public static final String ISSUECONSTANT_ISSUETYPE
See Also:
Constant Field Values

ISSUECONSTANT_PRIORITY

public static final String ISSUECONSTANT_PRIORITY
See Also:
Constant Field Values

ISSUECONSTANT_RESOLUTION

public static final String ISSUECONSTANT_RESOLUTION
See Also:
Constant Field Values

ISSUECONSTANT_STATUS

public static final String ISSUECONSTANT_STATUS
See Also:
Constant Field Values

ISSUECONSTANT_SUBTASK

public static final String ISSUECONSTANT_SUBTASK
See Also:
Constant Field Values

TRANSLATION_PREFIX

public static final String TRANSLATION_PREFIX
See Also:
Constant Field Values

STATUS_CONSTANT_NAME

public static final String STATUS_CONSTANT_NAME
See Also:
Constant Field Values

ISSUETYPE_CONSTANT_NAME

public static final String ISSUETYPE_CONSTANT_NAME
See Also:
Constant Field Values

RESOLUTION_CONSTANT_NAME

public static final String RESOLUTION_CONSTANT_NAME
See Also:
Constant Field Values

SUBTASK_CONSTANT_NAME

public static final String SUBTASK_CONSTANT_NAME
See Also:
Constant Field Values

PRIORITY_CONSTANT_NAME

public static final String PRIORITY_CONSTANT_NAME
See Also:
Constant Field Values

LINKNAME_ISSUETYPE

public static final String LINKNAME_ISSUETYPE
See Also:
Constant Field Values

LINKNAME_PRIORITY

public static final String LINKNAME_PRIORITY
See Also:
Constant Field Values

LINKNAME_RESOLUTION

public static final String LINKNAME_RESOLUTION
See Also:
Constant Field Values

LINKNAME_STATUS

public static final String LINKNAME_STATUS
See Also:
Constant Field Values

LINKNAME_SUBTASK

public static final 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 String doDefault()
Overrides:
doDefault in class webwork.action.ActionSupport

doValidation

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

doExecute

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

getIssueConstantName

public String getIssueConstantName()

getIssueConstantTranslationPrefix

public String getIssueConstantTranslationPrefix()

getRedirectPage

public String getRedirectPage()

getIssueConstants

public Collection<IssueConstant> getIssueConstants()

getLinkName

public String getLinkName()

getCurrentLocale

public String getCurrentLocale()

getSelectedLocaleDisplayName

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


getNameKey

public String getNameKey(IssueConstant issueConstant)

getDescKey

public String getDescKey(IssueConstant issueConstant)

getTranslatedName

public String getTranslatedName(IssueConstant issueConstant)

getTranslatedDesc

public String getTranslatedDesc(IssueConstant issueConstant)

getInstalledLocales

public Map getInstalledLocales()

getIssueConstantType

public String getIssueConstantType()

setIssueConstantType

public void setIssueConstantType(String issueConstantType)

getSelectedLocale

public String getSelectedLocale()

setSelectedLocale

public void setSelectedLocale(String selectedLocale)

getActionType

public String getActionType()

isTranslatable

public boolean isTranslatable()


Copyright © 2002-2013 Atlassian. All Rights Reserved.