com.atlassian.jira.issue
Interface IssueConstant

All Superinterfaces:
java.lang.Comparable
All Known Subinterfaces:
IssueType, Priority, Resolution, Status
All Known Implementing Classes:
IssueConstantImpl, IssueTypeImpl, PriorityImpl, ResolutionImpl, StatusImpl, TextIssueConstant

public interface IssueConstant
extends java.lang.Comparable

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


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

Method Detail

getGenericValue

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

getId

java.lang.String getId()

getName

java.lang.String getName()

setName

void setName(java.lang.String name)

getDescription

java.lang.String getDescription()

setDescription

void setDescription(java.lang.String description)

getSequence

java.lang.Long getSequence()

setSequence

void setSequence(java.lang.Long sequence)

getIconUrl

java.lang.String getIconUrl()

getIconUrlHtml

java.lang.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(java.lang.String iconURL)

getNameTranslation

java.lang.String getNameTranslation()

getDescTranslation

java.lang.String getDescTranslation()

getNameTranslation

java.lang.String getNameTranslation(java.lang.String locale)

getDescTranslation

java.lang.String getDescTranslation(java.lang.String locale)

getNameTranslation

java.lang.String getNameTranslation(I18nHelper i18n)

getDescTranslation

java.lang.String getDescTranslation(I18nHelper i18n)

setTranslation

void setTranslation(java.lang.String translatedName,
                    java.lang.String translatedDesc,
                    java.lang.String issueConstantPrefix,
                    java.util.Locale locale)

deleteTranslation

void deleteTranslation(java.lang.String issueConstantPrefix,
                       java.util.Locale locale)

getPropertySet

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


Copyright © 2002-2010 Atlassian. All Rights Reserved.