com.atlassian.jira.issue
Interface IssueConstant

All Superinterfaces:
Comparable
All Known Subinterfaces:
IssueType, Priority, Resolution, Status
All Known Implementing Classes:
IssueConstantImpl, IssueTypeImpl, MockIssueConstant, MockIssueType, MockStatus, PriorityImpl, ResolutionImpl, StatusImpl, TextIssueConstant

@PublicApi
public interface IssueConstant
extends Comparable

Abstraction to represent any of the various constants like Resolution, Status etc.


Method Summary
 void deleteTranslation(String issueConstantPrefix, Locale locale)
           
 String getDescription()
           
 String getDescTranslation()
           
 String getDescTranslation(I18nHelper i18n)
           
 String getDescTranslation(String locale)
           
 org.ofbiz.core.entity.GenericValue getGenericValue()
           
 String getIconUrl()
           
 String getIconUrlHtml()
          Returns the HTML-escaped URL for this issue constant.
 String getId()
           
 String getName()
           
 String getNameTranslation()
           
 String getNameTranslation(I18nHelper i18n)
           
 String getNameTranslation(String locale)
           
 com.opensymphony.module.propertyset.PropertySet getPropertySet()
           
 Long getSequence()
           
 void setDescription(String description)
           
 void setIconUrl(String iconURL)
           
 void setName(String name)
           
 void setSequence(Long sequence)
           
 void setTranslation(String translatedName, String translatedDesc, String issueConstantPrefix, Locale locale)
           
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getGenericValue

org.ofbiz.core.entity.GenericValue getGenericValue()

getId

String getId()

getName

String getName()

setName

void setName(String name)

getDescription

String getDescription()

setDescription

void setDescription(String description)

getSequence

Long getSequence()

setSequence

void setSequence(Long sequence)

getIconUrl

String getIconUrl()

getIconUrlHtml

String getIconUrlHtml()
Returns the HTML-escaped URL for this issue constant.

Returns:
a String containing an HTML-escaped icon URL
See Also:
getIconUrl()

setIconUrl

void setIconUrl(String iconURL)

getNameTranslation

String getNameTranslation()

getDescTranslation

String getDescTranslation()

getNameTranslation

String getNameTranslation(String locale)

getDescTranslation

String getDescTranslation(String locale)

getNameTranslation

String getNameTranslation(I18nHelper i18n)

getDescTranslation

String getDescTranslation(I18nHelper i18n)

setTranslation

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

deleteTranslation

void deleteTranslation(String issueConstantPrefix,
                       Locale locale)

getPropertySet

com.opensymphony.module.propertyset.PropertySet getPropertySet()


Copyright © 2002-2012 Atlassian. All Rights Reserved.