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)
          Deprecated. since v6.2. All updates should be performed via the relevant manager.
 String getCompleteIconUrl()
          Returns the url for the icon with the context path added if necessary.
 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)
          Deprecated. since v6.2. All updates should be performed via the relevant manager.
 void setIconUrl(String iconURL)
          Deprecated. since v6.2. All updates should be performed via the relevant manager.
 void setName(String name)
          Deprecated. since v6.2. All updates should be performed via the relevant manager.
 void setSequence(Long sequence)
          Deprecated. since v6.2. All updates should be performed via the relevant manager.
 void setTranslation(String translatedName, String translatedDesc, String issueConstantPrefix, Locale locale)
          Deprecated. since v6.2. All updates should be performed via the relevant manager.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getGenericValue

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

getId

String getId()

getName

String getName()

setName

@Deprecated
void setName(String name)
Deprecated. since v6.2. All updates should be performed via the relevant manager.


getDescription

String getDescription()

setDescription

@Deprecated
void setDescription(String description)
Deprecated. since v6.2. All updates should be performed via the relevant manager.


getSequence

Long getSequence()

setSequence

@Deprecated
void setSequence(Long sequence)
Deprecated. since v6.2. All updates should be performed via the relevant manager.


getCompleteIconUrl

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.

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

@Deprecated
void setIconUrl(String iconURL)
Deprecated. since v6.2. All updates should be performed via the relevant manager.


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

@Deprecated
void setTranslation(String translatedName,
                               String translatedDesc,
                               String issueConstantPrefix,
                               Locale locale)
Deprecated. since v6.2. All updates should be performed via the relevant manager.


deleteTranslation

@Deprecated
void deleteTranslation(String issueConstantPrefix,
                                  Locale locale)
Deprecated. since v6.2. All updates should be performed via the relevant manager.


getPropertySet

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


Copyright © 2002-2014 Atlassian. All Rights Reserved.