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.Returns the timestamp when this project was created.Returns the creator of the project.Returns the ID of the project creator.getEmail()org.ofbiz.core.entity.GenericValuegetId()getKey()Returns the timestamp when this project was lastly updated.Returns the last updater of the project.Returns the ID of the user who lastly updated project.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.Returns the project's reply-to email address, where replies to messages will be received.getUrl()inthashCode()booleantoString()
-
Constructor Details
-
ProjectImpl
public ProjectImpl(org.ofbiz.core.entity.GenericValue projectGv)
-
-
Method Details
-
getId
-
getName
-
getKey
-
getUrl
-
getEmail
-
getReplyToEmail
Description copied from interface:ProjectReturns the project's reply-to email address, where replies to messages will be received. The default return value is null for projects created before this field was added, or if the creator was removed after the project's creation.- Specified by:
getReplyToEmailin interfaceProject- Returns:
Stringthe reply-to address of the project, or null by default.
-
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
-
getCreatedAt
Description copied from interface:ProjectReturns the timestamp when this project was created. By default, returns null for projects created before adding this field.- Specified by:
getCreatedAtin interfaceProject- Returns:
Timestampwhen this project was created, or null by default.
-
getCreatorId
Description copied from interface:ProjectReturns the ID of the project creator. The default return value is null for projects created before this field was added, or if the creator was removed after the project's creation.- Specified by:
getCreatorIdin interfaceProject- Returns:
Longthe project creator's ID, or null by default.
-
getCreatedBy
Description copied from interface:ProjectReturns the creator of the project. The default return value is null for projects created before this field was added, or if the creator was removed after the project's creation.- Specified by:
getCreatedByin interfaceProject- Returns:
ApplicationUserthe creator of the project, or null by default.
-
getLastUpdatedAt
Description copied from interface:ProjectReturns the timestamp when this project was lastly updated. By default, returns null for projects updated before adding this field.- Specified by:
getLastUpdatedAtin interfaceProject- Returns:
Timestampwhen this project was updated, or null by default.
-
getLastUpdaterId
Description copied from interface:ProjectReturns the ID of the user who lastly updated project. The default return value is null for projects updated before this field was added, or if the updater was removed after the project's update.- Specified by:
getLastUpdaterIdin interfaceProject- Returns:
Longthe project updater's ID, or null by default.
-
getLastUpdatedBy
Description copied from interface:ProjectReturns the last updater of the project. The default return value is null for projects updated before this field was added, or if the updater was removed after the project's update.- Specified by:
getLastUpdatedByin interfaceProject- Returns:
ApplicationUserthe updater of the project, or null by default.
-
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
-