public class IssueConstantImpl extends AbstractOfBizValueWrapper implements IssueConstant
genericValue
NAME_COMPARATOR
Constructor and Description |
---|
IssueConstantImpl(org.ofbiz.core.entity.GenericValue genericValue,
TranslationManager translationManager,
JiraAuthenticationContext authenticationContext,
BaseUrl locator) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object o) |
void |
deleteTranslation(String issueConstantPrefix,
Locale locale) |
String |
getCompleteIconUrl()
Returns the url for the icon with the context path added if necessary.
|
String |
getDescription() |
String |
getDescTranslation()
Retrieve desc translation in current locale
|
String |
getDescTranslation(I18nHelper i18n)
Retrieve desc translation.
|
String |
getDescTranslation(String locale)
Retrieve desc translation in specified locale
|
String |
getIconUrl() |
String |
getIconUrlHtml()
Returns the HTML-escaped URL for this issue constant.
|
String |
getId() |
String |
getName() |
String |
getNameTranslation()
Retrieve name translation in current locale
|
String |
getNameTranslation(I18nHelper i18n)
Retrieve name translation.
|
String |
getNameTranslation(String locale)
Retrieve name translation in specified locale
|
com.opensymphony.module.propertyset.PropertySet |
getPropertySet() |
Long |
getSequence() |
void |
setDescription(String description) |
void |
setIconUrl(String iconURL) |
void |
setName(String name) |
void |
setSequence(Long seq) |
void |
setTranslation(String translatedName,
String translatedDesc,
String issueConstantPrefix,
Locale locale) |
String |
toString() |
equals, getGenericValue, getLong, getString, getTimestamp, hashCode, store
public IssueConstantImpl(org.ofbiz.core.entity.GenericValue genericValue, TranslationManager translationManager, JiraAuthenticationContext authenticationContext, BaseUrl locator)
public String getId()
getId
in interface IssueConstant
public String getName()
getName
in interface IssueConstant
getName
in interface Named
public void setName(String name)
public String getDescription()
getDescription
in interface IssueConstant
getDescription
in interface NamedWithDescription
public void setDescription(String description)
public Long getSequence()
getSequence
in interface IssueConstant
public void setSequence(Long seq)
public String getCompleteIconUrl()
IssueConstant
getCompleteIconUrl
in interface IssueConstant
public String getIconUrl()
getIconUrl
in interface IssueConstant
public String getIconUrlHtml()
IssueConstant
getIconUrlHtml
in interface IssueConstant
IssueConstant.getIconUrl()
public void setIconUrl(String iconURL)
public String getNameTranslation()
getNameTranslation
in interface IssueConstant
public String getDescTranslation()
getDescTranslation
in interface IssueConstant
public String getNameTranslation(String locale)
getNameTranslation
in interface IssueConstant
public String getDescTranslation(String locale)
getDescTranslation
in interface IssueConstant
public String getNameTranslation(I18nHelper i18n)
If a system defined translation does not exist, the property files for the locale are checked.
getNameTranslation
in interface IssueConstant
i18n
- an I18nHelper to use for the translation.public String getDescTranslation(I18nHelper i18n)
If a system defined translation does not exist, the property files for the locale are checked.
getDescTranslation
in interface IssueConstant
i18n
- an I18nHelper to use for the translation.public void setTranslation(String translatedName, String translatedDesc, String issueConstantPrefix, Locale locale)
public int compareTo(Object o)
compareTo
in interface Comparable
public com.opensymphony.module.propertyset.PropertySet getPropertySet()
Copyright © 2002-2017 Atlassian. All Rights Reserved.