Package com.atlassian.jira.project
Class ProjectImpl
java.lang.Object
com.atlassian.jira.project.ProjectImpl
- All Implemented Interfaces:
WithId,WithKey,Project,Named,NamedWithDescription
Represents an immutable Project domain object for JIRA.
-
Field Summary
Fields inherited from interface com.atlassian.jira.util.Named
NAME_COMPARATORFields inherited from interface com.atlassian.jira.entity.WithId
ID_COMPARATOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the default assignee for issues that get created in this project.Gives the currently-configuredAvatarfor this project.Returns the components for this Project.getEmail()org.ofbiz.core.entity.GenericValuegetId()getKey()getLead()getName()Returns the Project Category for this Project.Returns the components for this Project.Returns the key of the project type for this project.getUrl()inthashCode()booleantoString()
-
Constructor Details
-
ProjectImpl
public ProjectImpl(org.ofbiz.core.entity.GenericValue projectGv)
-
-
Method Details
-
getId
-
getName
-
getKey
-
getUrl
-
getEmail
-
getProjectLead
- Specified by:
getProjectLeadin interfaceProject- Returns:
- the Project Lead
-
getLead
-
getLeadUserName
- Specified by:
getLeadUserNamein interfaceProject- Returns:
- the user name of the project lead
-
getLeadUserKey
- Specified by:
getLeadUserKeyin interfaceProject- Returns:
- the Project Lead's userkey
-
getOriginalKey
- Specified by:
getOriginalKeyin interfaceProject- Returns:
- the project key with which Project was originally created
-
isArchived
public boolean isArchived()- Specified by:
isArchivedin interfaceProject- Returns:
- true if this project is archived.
-
getArchivedBy
- Specified by:
getArchivedByin interfaceProject- Returns:
- the user who archived this project, or null if it wasn't archived.
-
getArchivedDate
- Specified by:
getArchivedDatein interfaceProject- Returns:
Datewhen this project was archived, or null if it wasn't archived.
-
getDescription
- Specified by:
getDescriptionin interfaceNamedWithDescription- Specified by:
getDescriptionin interfaceProject- Returns:
- the project description
-
getAssigneeType
Description copied from interface:ProjectReturns the default assignee for issues that get created in this project. ReturnsAssigneeTypes.PROJECT_LEADorAssigneeTypes.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.
- Specified by:
getAssigneeTypein interfaceProject- Returns:
- the default assignee. NB: Can return NULL
-
getProjectTypeKey
Description copied from interface:ProjectReturns the key of the project type for this project.- Specified by:
getProjectTypeKeyin interfaceProject- Returns:
- The key of the project type for this project.
-
getComponents
Description copied from interface:ProjectReturns the components for this Project.- Specified by:
getComponentsin interfaceProject- Returns:
- the components for this Project.
-
getProjectComponents
Description copied from interface:ProjectReturns the components for this Project.This is a synonym for
Project.getComponents()that exists for legacy reasons.- Specified by:
getProjectComponentsin interfaceProject- Returns:
- the components for this Project.
- See Also:
-
getVersions
- Specified by:
getVersionsin interfaceProject- Returns:
- a Collection of
Versionfor this project
-
getIssueTypes
- Specified by:
getIssueTypesin interfaceProject- Returns:
- a Collection of
IssueTypefor this project
-
getProjectCategory
- Specified by:
getProjectCategoryin interfaceProject- Returns:
- the project category information for this project.
-
getProjectCategoryObject
Description copied from interface:ProjectReturns the Project Category for this Project.This is a synonym for
Project.getProjectCategory()that exists for legacy reasons.- Specified by:
getProjectCategoryObjectin interfaceProject- Returns:
- the project category information for this project.
- See Also:
-
getAvatar
Description copied from interface:ProjectGives the currently-configuredAvatarfor this project. -
getGenericValue
public org.ofbiz.core.entity.GenericValue getGenericValue()- Specified by:
getGenericValuein interfaceProject- Returns:
- the GenericValue backing this project object
-
equals
-
hashCode
public int hashCode() -
toString
-