NAME_COMPARATOR
ID_COMPARATOR
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,
ProjectTypeKey projectTypeKey) |
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) |
MockProject(Long id,
String key,
String name,
org.ofbiz.core.entity.GenericValue projectGV,
ProjectTypeKey projectTypeKey) |
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, ProjectTypeKey projectTypeKey)
public MockProject(long id, String key, String name, org.ofbiz.core.entity.GenericValue projectGV)
public MockProject(Long id, String key, String name, org.ofbiz.core.entity.GenericValue projectGV)
public MockProject(Long id, String key, String name, org.ofbiz.core.entity.GenericValue projectGV, ProjectTypeKey projectTypeKey)
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 ProjectTypeKey getProjectTypeKey()
Project
getProjectTypeKey
in interface Project
public void setAssigneeType(Long assigneeType)
public Collection<ProjectComponent> getProjectComponents()
Project
This is a synonym for Project.getComponents()
that exists for legacy reasons.
getProjectComponents
in interface Project
Project.getComponents()
public void setProjectComponents(Collection<ProjectComponent> projectComponents)
public Collection<ProjectComponent> getComponents()
Project
getComponents
in interface Project
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 ProjectCategory getProjectCategory()
getProjectCategory
in interface Project
public ProjectCategory getProjectCategoryObject()
Project
This is a synonym for Project.getProjectCategory()
that exists for legacy reasons.
getProjectCategoryObject
in interface Project
Project.getProjectCategory()
public void setProjectCategory(ProjectCategory projectCategory)
public void setVersions(Collection<Version> versions)
public org.ofbiz.core.entity.GenericValue getGenericValue()
getGenericValue
in interface Project
public ApplicationUser getLead()
public void setLead(ApplicationUser 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 boolean isArchived()
isArchived
in interface Project
public ApplicationUser getArchivedBy()
getArchivedBy
in interface Project
public Date getArchivedDate()
getArchivedDate
in interface Project
Date
when this project was archived, or null if it wasn't archived.public void setAvatar(Avatar avatar)
public void setProjectTypeKey(String projectTypeKey)
public void setArchived(boolean archived)
public void setArchivedBy(ApplicationUser archivedBy)
public void setArchivedDate(Date archivedDate)
Copyright © 2002-2022 Atlassian. All Rights Reserved.