public class

IssueConstantImpl

extends AbstractOfBizValueWrapper
implements IssueConstant
java.lang.Object
   ↳ com.atlassian.jira.ofbiz.AbstractOfBizValueWrapper
     ↳ com.atlassian.jira.issue.IssueConstantImpl
Known Direct Subclasses

Summary

[Expand]
Inherited Fields
From class com.atlassian.jira.ofbiz.AbstractOfBizValueWrapper
Public Constructors
IssueConstantImpl(GenericValue genericValue, TranslationManager translationManager, JiraAuthenticationContext authenticationContext, BaseUrl locator)
Public Methods
final int compareTo(Object o)
final void deleteTranslation(String issueConstantPrefix, Locale locale)
String getCompleteIconUrl()
Returns the url for the icon with the context path added if necessary.
final String getDescTranslation(String locale)
Retrieve desc translation in specified locale
final String getDescTranslation()
Retrieve desc translation in current locale
final String getDescTranslation(I18nHelper i18n)
Retrieve desc translation.
final String getDescription()
String getIconUrl()
String getIconUrlHtml()
Returns the HTML-escaped URL for this issue constant.
final String getId()
final String getName()
final String getNameTranslation(String locale)
Retrieve name translation in specified locale
final String getNameTranslation(I18nHelper i18n)
Retrieve name translation.
final String getNameTranslation()
Retrieve name translation in current locale
PropertySet getPropertySet()
final Long getSequence()
final void setDescription(String description)
void setIconUrl(String iconURL)
final void setName(String name)
final void setSequence(Long seq)
final void setTranslation(String translatedName, String translatedDesc, String issueConstantPrefix, Locale locale)
[Expand]
Inherited Methods
From class com.atlassian.jira.ofbiz.AbstractOfBizValueWrapper
From class java.lang.Object
From interface com.atlassian.jira.issue.IssueConstant
From interface com.atlassian.jira.ofbiz.OfBizValueWrapper
From interface java.lang.Comparable

Public Constructors

public IssueConstantImpl (GenericValue genericValue, TranslationManager translationManager, JiraAuthenticationContext authenticationContext, BaseUrl locator)

Public Methods

public final int compareTo (Object o)

public final void deleteTranslation (String issueConstantPrefix, Locale locale)

public String getCompleteIconUrl ()

Returns the url for the icon with the context path added if necessary.

Returns
  • the url for the icon with the context path added if necessary. null will be returned if there is no icon URL.

public final String getDescTranslation (String locale)

Retrieve desc translation in specified locale

public final String getDescTranslation ()

Retrieve desc translation in current locale

public final String getDescTranslation (I18nHelper i18n)

Retrieve desc translation.

If a system defined translation does not exist, the property files for the locale are checked.

Parameters
i18n an I18nHelper to use for the translation.
Returns
  • String translated description

public final String getDescription ()

public String getIconUrl ()

public String getIconUrlHtml ()

Returns the HTML-escaped URL for this issue constant.

Returns
  • a String containing an HTML-escaped icon URL

public final String getId ()

public final String getName ()

public final String getNameTranslation (String locale)

Retrieve name translation in specified locale

public final String getNameTranslation (I18nHelper i18n)

Retrieve name translation.

If a system defined translation does not exist, the property files for the locale are checked.

Parameters
i18n an I18nHelper to use for the translation.
Returns
  • String translated name

public final String getNameTranslation ()

Retrieve name translation in current locale

public PropertySet getPropertySet ()

public final Long getSequence ()

public final void setDescription (String description)

public void setIconUrl (String iconURL)

public final void setName (String name)

public final void setSequence (Long seq)

public final void setTranslation (String translatedName, String translatedDesc, String issueConstantPrefix, Locale locale)