List<Project>
|
convertToProjectObjects(Collection<Long> projectIds)
Converts a collection of projectIds to a list of projects.
|
List<GenericValue>
|
convertToProjects(Collection<Long> projectIds)
|
Project
|
createProject(String name, String key, String description, String lead, String url, Long assigneeType)
Creates the project in the database, and adds default project roles for this project.
|
Project
|
createProject(String name, String key, String description, String leadKey, String url, Long assigneeType, Long avatarId)
Creates the project in the database, and adds default project roles for this project.
|
ProjectCategory
|
createProjectCategory(String name, String description)
Creates a new ProjectCategory with the given name and description.
|
Collection<ProjectCategory>
|
getAllProjectCategories()
Returns all ProjectCategories, ordered by name.
|
Set<String>
|
getAllProjectKeys(Long projectId)
Returns all project keys that are associated with Project .
|
@Deprecated
GenericValue
|
getComponent(Long id)
This method is deprecated.
Use ProjectComponentManager instead. Deprecated in v4.0.
|
@Deprecated
GenericValue
|
getComponent(GenericValue project, String name)
This method is deprecated.
Use ProjectComponentManager instead. Deprecated in v4.0.
|
@Deprecated
Collection<GenericValue>
|
getComponents(GenericValue project)
This method is deprecated.
Use ProjectComponentManager instead. Deprecated in v4.0.
|
long
|
getCurrentCounterForProject(Long id)
Returns the curremt issue counter for the given project.
|
User
|
getDefaultAssignee(Project project, ProjectComponent component)
|
User
|
getDefaultAssignee(Project project, Collection<ProjectComponent> components)
Gets the default assignee for an issue given its project and list of Components.
|
User
|
getDefaultAssignee(GenericValue project, GenericValue component)
|
long
|
getNextId(Project project)
Get the next issue ID from this project (transactional).
|
@Deprecated
GenericValue
|
getProject(Long id)
|
@Deprecated
GenericValue
|
getProject(GenericValue issue)
|
@ExperimentalApi
Project
|
getProjectByCurrentKey(String projectKey)
Returns the Project with the given project key.
|
Project
|
getProjectByCurrentKeyIgnoreCase(String projectKey)
Returns a Project object based on the passed in project key, not taking into account the case
of the project key.
|
@Deprecated
GenericValue
|
getProjectByKey(String key)
|
@Deprecated
GenericValue
|
getProjectByName(String name)
|
Collection<GenericValue>
|
getProjectCategories()
|
GenericValue
|
getProjectCategory(Long id)
|
GenericValue
|
getProjectCategoryByName(String projectCategoryName)
|
GenericValue
|
getProjectCategoryByNameIgnoreCase(String projectCategoryName)
|
ProjectCategory
|
getProjectCategoryForProject(Project project)
Returns a project's category.
|
GenericValue
|
getProjectCategoryFromProject(GenericValue project)
|
ProjectCategory
|
getProjectCategoryObject(Long id)
Returns a single project category by id.
|
ProjectCategory
|
getProjectCategoryObjectByName(String projectCategoryName)
Find a project category by name.
|
ProjectCategory
|
getProjectCategoryObjectByNameIgnoreCase(String projectCategoryName)
Find a project category by name ignoring the case of the category name.
|
long
|
getProjectCount()
Return the total number of Project s.
|
Project
|
getProjectObj(Long id)
Retrieves a single Project by its id.
|
Project
|
getProjectObjByKey(String projectKey)
Returns a Project object based on the passed in project key.
|
Project
|
getProjectObjByKeyIgnoreCase(String projectKey)
Returns a Project object based on the passed in project key, not taking into account the case
of the project key.
|
Project
|
getProjectObjByName(String projectName)
Returns a Project object based on the passed in project name.
|
List<Project>
|
getProjectObjects()
Return all Project s ordered by name.
|
Collection<Project>
|
getProjectObjectsFromProjectCategory(Long projectCategoryId)
Returns a list of projects in a particular category.
|
Collection<Project>
|
getProjectObjectsWithNoCategory()
Returns a list of projects without project category, sorted by project name
|
Collection<GenericValue>
|
getProjects()
|
Collection<GenericValue>
|
getProjectsByLead(User leadUser)
|
Collection<Project>
|
getProjectsFromProjectCategory(ProjectCategory projectCategory)
Returns a list of projects in a particular category.
|
Collection<GenericValue>
|
getProjectsFromProjectCategory(GenericValue projectCategory)
|
List<Project>
|
getProjectsLeadBy(User leadUser)
Returns all the projects that leadUser is the project lead for ordered by the name of the Project.
|
List<Project>
|
getProjectsLeadBy(ApplicationUser leadUser)
Returns all the projects that leadUser is the project lead for ordered by the name of the Project.
|
Collection<GenericValue>
|
getProjectsWithNoCategory()
|
boolean
|
isDefaultAssignee(GenericValue project)
|
boolean
|
isDefaultAssignee(GenericValue project, GenericValue component)
|
void
|
refresh()
Causes a full refresh of the project cache.
|
void
|
removeProject(Project project)
Deletes the provided project from the database.
|
void
|
removeProjectCategory(Long id)
Removes the given ProjectCategory.
|
void
|
removeProjectIssues(Project project)
Removes all issues for a particular project.
|
void
|
setCurrentCounterForProject(Project project, long counter)
Set the project counter.
|
void
|
setProjectCategory(Project project, ProjectCategory category)
Sets a project's category.
|
void
|
setProjectCategory(GenericValue project, GenericValue category)
|
Project
|
updateProject(Project originalProject, String name, String description, String leadKey, String url, Long assigneeType)
Updates the project provided with the new attributes passed in.
|
Project
|
updateProject(Project originalProject, String name, String description, String leadKey, String url, Long assigneeType, Long avatarId, String projectKey)
Updates the project provided with the new attributes passed in.
|
Project
|
updateProject(Project originalProject, String name, String description, String leadKey, String url, Long assigneeType, Long avatarId)
Updates the project provided with the new attributes passed in.
|
void
|
updateProjectCategory(ProjectCategory projectCategory)
Persist an updated project category.
|
void
|
updateProjectCategory(GenericValue projectCat)
|