com.atlassian.jira.issue.issuetype
Class IssueTypeImpl

java.lang.Object
  extended by com.atlassian.jira.ofbiz.AbstractOfBizValueWrapper
      extended by com.atlassian.jira.issue.IssueConstantImpl
          extended by com.atlassian.jira.issue.issuetype.IssueTypeImpl
All Implemented Interfaces:
IssueConstant, IssueType, OfBizValueWrapper, Comparable

public class IssueTypeImpl
extends IssueConstantImpl
implements IssueType


Field Summary
static String AVATAR_FIELD
           
 
Fields inherited from class com.atlassian.jira.ofbiz.AbstractOfBizValueWrapper
genericValue
 
Constructor Summary
IssueTypeImpl(org.ofbiz.core.entity.GenericValue genericValue, TranslationManager translationManager, JiraAuthenticationContext authenticationContext, BaseUrl locator, AvatarManager avatarManager)
           
 
Method Summary
 Avatar getAvatar()
          Get avatar assigned to this IssueType.
 Long getAvatarId()
           
 String getType()
           
 boolean isSubTask()
           
 void setAvatarId(Long avatarId)
           
 
Methods inherited from class com.atlassian.jira.issue.IssueConstantImpl
compareTo, deleteTranslation, getCompleteIconUrl, getDescription, getDescTranslation, getDescTranslation, getDescTranslation, getIconUrl, getIconUrlHtml, getId, getName, getNameTranslation, getNameTranslation, getNameTranslation, getPropertySet, getSequence, setDescription, setIconUrl, setName, setSequence, setTranslation
 
Methods inherited from class com.atlassian.jira.ofbiz.AbstractOfBizValueWrapper
equals, getGenericValue, getLong, getString, getTimestamp, hashCode, store
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.issue.IssueConstant
deleteTranslation, getCompleteIconUrl, getDescription, getDescTranslation, getDescTranslation, getDescTranslation, getGenericValue, getIconUrl, getIconUrlHtml, getId, getName, getNameTranslation, getNameTranslation, getNameTranslation, getPropertySet, getSequence, setDescription, setIconUrl, setName, setSequence, setTranslation
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

AVATAR_FIELD

public static final String AVATAR_FIELD
See Also:
Constant Field Values
Constructor Detail

IssueTypeImpl

public IssueTypeImpl(org.ofbiz.core.entity.GenericValue genericValue,
                     TranslationManager translationManager,
                     JiraAuthenticationContext authenticationContext,
                     BaseUrl locator,
                     AvatarManager avatarManager)
Method Detail

isSubTask

public boolean isSubTask()
Specified by:
isSubTask in interface IssueType

getAvatar

public Avatar getAvatar()
Description copied from interface: IssueType
Get avatar assigned to this IssueType. Link to avatar will be automatically assigned to property iconUrl.

When all issue constants will have avatars it should be moved into IssueConstant.

Specified by:
getAvatar in interface IssueType
Returns:
avatar or null if this item has no avatar assigned.

getType

public String getType()

getAvatarId

public Long getAvatarId()

setAvatarId

public void setAvatarId(Long avatarId)


Copyright © 2002-2014 Atlassian. All Rights Reserved.