public class IssueConstantImpl extends AbstractOfBizValueWrapper implements IssueConstant
genericValueNAME_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, storepublic IssueConstantImpl(org.ofbiz.core.entity.GenericValue genericValue,
TranslationManager translationManager,
JiraAuthenticationContext authenticationContext,
BaseUrl locator)
public String getId()
getId in interface IssueConstantpublic String getName()
getName in interface IssueConstantgetName in interface Namedpublic void setName(String name)
public String getDescription()
getDescription in interface IssueConstantgetDescription in interface NamedWithDescriptionpublic void setDescription(String description)
public Long getSequence()
getSequence in interface IssueConstantpublic void setSequence(Long seq)
public String getCompleteIconUrl()
IssueConstantgetCompleteIconUrl in interface IssueConstantpublic String getIconUrl()
getIconUrl in interface IssueConstantpublic String getIconUrlHtml()
IssueConstantgetIconUrlHtml in interface IssueConstantIssueConstant.getIconUrl()public void setIconUrl(String iconURL)
public String getNameTranslation()
getNameTranslation in interface IssueConstantpublic String getDescTranslation()
getDescTranslation in interface IssueConstantpublic String getNameTranslation(String locale)
getNameTranslation in interface IssueConstantpublic String getDescTranslation(String locale)
getDescTranslation in interface IssueConstantpublic String getNameTranslation(I18nHelper i18n)
If a system defined translation does not exist, the property files for the locale are checked.
getNameTranslation in interface IssueConstanti18n - 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 IssueConstanti18n - 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 Comparablepublic com.opensymphony.module.propertyset.PropertySet getPropertySet()
Copyright © 2002-2017 Atlassian. All Rights Reserved.