Constructor and Description |
---|
MockProject() |
MockProject(org.ofbiz.core.entity.GenericValue gv) |
MockProject(long id) |
MockProject(Long id) |
MockProject(long id,
String key) |
MockProject(long id,
String key,
String name) |
MockProject(Long id,
String key,
String name) |
MockProject(long id,
String key,
String name,
org.ofbiz.core.entity.GenericValue projectGV) |
MockProject(Long id,
String key,
String name,
org.ofbiz.core.entity.GenericValue projectGV) |
Modifier and Type | Method and Description |
---|---|
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() |
String |
getEmail() |
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 |
getLeadUserKey() |
String |
getLeadUserName() |
String |
getName() |
String |
getOriginalKey() |
org.ofbiz.core.entity.GenericValue |
getProjectCategory() |
ProjectCategory |
getProjectCategoryObject() |
Collection<ProjectComponent> |
getProjectComponents()
Returns the components for this Project.
|
ApplicationUser |
getProjectLead() |
String |
getUrl() |
Collection<Version> |
getVersions() |
int |
hashCode() |
void |
setAssigneeType(Long assigneeType) |
void |
setAvatar(Avatar avatar) |
void |
setComponents(Collection<org.ofbiz.core.entity.GenericValue> components) |
void |
setCounter(Long counter) |
void |
setDescription(String description) |
MockProject |
setEmail(String email) |
void |
setId(Long id) |
MockProject |
setIssueTypes(Collection<IssueType> types) |
MockProject |
setIssueTypes(IssueType... types) |
MockProject |
setIssueTypes(String... types) |
void |
setKey(String key) |
void |
setLead(ApplicationUser lead) |
void |
setLead(com.atlassian.crowd.embedded.api.User lead) |
void |
setName(String name) |
void |
setProjectCategory(ProjectCategory projectCategory) |
void |
setProjectCategoryGV(org.ofbiz.core.entity.GenericValue projectCategoryGV) |
void |
setProjectComponents(Collection<ProjectComponent> projectComponents) |
void |
setUrl(String url) |
void |
setVersions(Collection<Version> versions) |
String |
toString() |
public MockProject(org.ofbiz.core.entity.GenericValue gv)
public MockProject()
public MockProject(long id)
public MockProject(Long id)
public MockProject(long id, String key)
public MockProject(long id, String key, String name, org.ofbiz.core.entity.GenericValue projectGV)
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 void setAssigneeType(Long assigneeType)
public Collection<ProjectComponent> getProjectComponents()
Project
getProjectComponents
in interface Project
public void setProjectComponents(Collection<ProjectComponent> projectComponents)
public Collection<org.ofbiz.core.entity.GenericValue> getComponents()
Project
getComponents
in interface Project
Project.getProjectComponents()
public void setComponents(Collection<org.ofbiz.core.entity.GenericValue> components)
public Long getCounter()
getCounter
in interface Project
public void setCounter(Long counter)
public String getDescription()
getDescription
in interface Project
getDescription
in interface NamedWithDescription
public void setDescription(String description)
public Long getId()
public void setId(Long id)
public String getKey()
public void setKey(String key)
public String getName()
public void setName(String name)
public void setUrl(String url)
public MockProject setEmail(String email)
public String getEmail()
public Collection<Version> getVersions()
getVersions
in interface Project
Version
for this projectpublic Collection<IssueType> getIssueTypes()
getIssueTypes
in interface Project
IssueType
for this projectpublic MockProject setIssueTypes(IssueType... types)
public MockProject setIssueTypes(Collection<IssueType> types)
public MockProject setIssueTypes(String... types)
public org.ofbiz.core.entity.GenericValue getProjectCategory()
getProjectCategory
in interface Project
public ProjectCategory getProjectCategoryObject()
getProjectCategoryObject
in interface Project
public void setProjectCategory(ProjectCategory projectCategory)
public void setProjectCategoryGV(org.ofbiz.core.entity.GenericValue projectCategoryGV)
public void setVersions(Collection<Version> versions)
public org.ofbiz.core.entity.GenericValue getGenericValue()
getGenericValue
in interface Project
public com.atlassian.crowd.embedded.api.User getLead()
public com.atlassian.crowd.embedded.api.User getLeadUser()
Project
getLeadUser
in interface Project
public void setLead(ApplicationUser lead)
public void setLead(com.atlassian.crowd.embedded.api.User lead)
public String getLeadUserName()
getLeadUserName
in interface Project
@Nonnull public Avatar getAvatar()
Project
Avatar
for this project.public ApplicationUser getProjectLead()
getProjectLead
in interface Project
public String getLeadUserKey()
getLeadUserKey
in interface Project
public String getOriginalKey()
getOriginalKey
in interface Project
public void setAvatar(Avatar avatar)
Copyright © 2002-2015 Atlassian. All Rights Reserved.