|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.project.ProjectImpl
public class ProjectImpl
Represents an immutable Project domain object for JIRA.
| Constructor Summary | |
|---|---|
ProjectImpl(org.ofbiz.core.entity.GenericValue projectGv)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
Long |
getAssigneeType()
Returns the default assignee for issues that get created in this project. |
Avatar |
getAvatar()
Gives the currently-configured Avatar for this project. |
Collection<org.ofbiz.core.entity.GenericValue> |
getComponents()
Returns the components for this Project. |
Long |
getCounter()
|
String |
getDescription()
|
org.ofbiz.core.entity.GenericValue |
getGenericValue()
|
Long |
getId()
|
Collection<IssueType> |
getIssueTypes()
|
String |
getKey()
|
com.atlassian.crowd.embedded.api.User |
getLead()
|
com.atlassian.crowd.embedded.api.User |
getLeadUser()
Returns the Project Lead |
String |
getLeadUserName()
|
String |
getName()
|
org.ofbiz.core.entity.GenericValue |
getProjectCategory()
|
Collection<ProjectComponent> |
getProjectComponents()
Returns the components for this Project. |
String |
getUrl()
|
Collection<Version> |
getVersions()
|
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProjectImpl(org.ofbiz.core.entity.GenericValue projectGv)
| Method Detail |
|---|
public Long getId()
getId in interface Projectpublic String getName()
getName in interface Projectpublic String getKey()
getKey in interface Projectpublic String getUrl()
getUrl in interface Projectpublic com.atlassian.crowd.embedded.api.User getLead()
getLead in interface Projectpublic com.atlassian.crowd.embedded.api.User getLeadUser()
Project
getLeadUser in interface Projectpublic String getLeadUserName()
getLeadUserName in interface Projectpublic String getDescription()
getDescription in interface Projectpublic Long getAssigneeType()
ProjectAssigneeTypes.PROJECT_LEAD or AssigneeTypes.UNASSIGNED.
Can return NULL if the default assignee has not been set for this project and this means the PROJECT LEAD is the default assignee.
TODO: Write upgrade task to ensure default assignee is always set.
getAssigneeType in interface Projectpublic Long getCounter()
getCounter in interface Projectpublic Collection<org.ofbiz.core.entity.GenericValue> getComponents()
Project
getComponents in interface ProjectProject.getProjectComponents()public Collection<ProjectComponent> getProjectComponents()
Project
getProjectComponents in interface Projectpublic Collection<Version> getVersions()
getVersions in interface ProjectVersion for this projectpublic Collection<IssueType> getIssueTypes()
getIssueTypes in interface ProjectIssueType for this projectpublic org.ofbiz.core.entity.GenericValue getProjectCategory()
getProjectCategory in interface Project@NotNull public Avatar getAvatar()
ProjectAvatar for this project.
getAvatar in interface Projectpublic org.ofbiz.core.entity.GenericValue getGenericValue()
getGenericValue in interface Projectpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||