|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 Project
public String getName()
getName
in interface Project
public String getKey()
getKey
in interface Project
public String getUrl()
getUrl
in interface Project
public com.atlassian.crowd.embedded.api.User getLead()
getLead
in interface Project
public com.atlassian.crowd.embedded.api.User getLeadUser()
Project
getLeadUser
in interface Project
public String getLeadUserName()
getLeadUserName
in interface Project
public String getDescription()
getDescription
in interface Project
public Long getAssigneeType()
Project
AssigneeTypes.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 Project
public Long getCounter()
getCounter
in interface Project
public Collection<org.ofbiz.core.entity.GenericValue> getComponents()
Project
getComponents
in interface Project
Project.getProjectComponents()
public Collection<ProjectComponent> getProjectComponents()
Project
getProjectComponents
in interface Project
public Collection<Version> getVersions()
getVersions
in interface Project
Version
for this projectpublic Collection<IssueType> getIssueTypes()
getIssueTypes
in interface Project
IssueType
for this projectpublic org.ofbiz.core.entity.GenericValue getProjectCategory()
getProjectCategory
in interface Project
@NotNull public Avatar getAvatar()
Project
Avatar
for this project.
getAvatar
in interface Project
public org.ofbiz.core.entity.GenericValue getGenericValue()
getGenericValue
in interface Project
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |