com.atlassian.jira.project
Interface ProjectManager

All Known Implementing Classes:
AbstractProjectManager, CachingProjectManager, DefaultProjectManager

public interface ProjectManager

Implementations of this interface are responsible for all management of project entities within JIRA.


Method Summary
 org.ofbiz.core.entity.GenericValue getComponent(org.ofbiz.core.entity.GenericValue project, java.lang.String name)
          Get a component from within this project, based on the project and the component name.
 org.ofbiz.core.entity.GenericValue getComponent(java.lang.Long id)
          Get a component from within this project, by it's id.
 java.util.Collection getComponents(org.ofbiz.core.entity.GenericValue project)
           
 java.util.Collection getComponents(java.util.List ids)
          Get a list of components from their IDs
 com.opensymphony.user.User getDefaultAssignee(org.ofbiz.core.entity.GenericValue project, org.ofbiz.core.entity.GenericValue component)
           
 long getNextId(org.ofbiz.core.entity.GenericValue project)
          Get the next ID from this project (transactional)
 org.ofbiz.core.entity.GenericValue getProject(org.ofbiz.core.entity.GenericValue issue)
           
 org.ofbiz.core.entity.GenericValue getProject(java.lang.Long id)
          Retrieve a single project by it's id.
 org.ofbiz.core.entity.GenericValue getProjectByKey(java.lang.String key)
          Retrieve a single project by it's project key.
 org.ofbiz.core.entity.GenericValue getProjectByName(java.lang.String name)
          Retrieve a single project by it's project name.
 java.util.Collection getProjectCategories()
          Get all ProjectCategories.
 org.ofbiz.core.entity.GenericValue getProjectCategory(java.lang.Long id)
           
 org.ofbiz.core.entity.GenericValue getProjectCategoryFromProject(org.ofbiz.core.entity.GenericValue project)
           
 java.util.Collection getProjects()
          Return all projects
 java.util.Collection getProjectsFromProjectCategory(org.ofbiz.core.entity.GenericValue projectCategory)
           
 java.util.Collection getProjectsWithNoCategory()
           
 boolean isDefaultAssignee(org.ofbiz.core.entity.GenericValue project)
           
 boolean isDefaultAssignee(org.ofbiz.core.entity.GenericValue project, org.ofbiz.core.entity.GenericValue component)
           
 void refresh()
           
 void refresh(org.ofbiz.core.entity.GenericValue project)
           
 void setProjectCategory(org.ofbiz.core.entity.GenericValue project, org.ofbiz.core.entity.GenericValue category)
           
 void updateProject(org.ofbiz.core.entity.GenericValue updatedProject)
           
 void updateProjectCategory(org.ofbiz.core.entity.GenericValue projectCat)
           
 

Method Detail

updateProject

void updateProject(org.ofbiz.core.entity.GenericValue updatedProject)
                   throws DataAccessException
Throws:
DataAccessException

getProject

org.ofbiz.core.entity.GenericValue getProject(org.ofbiz.core.entity.GenericValue issue)
                                              throws DataAccessException
Throws:
DataAccessException

getProject

org.ofbiz.core.entity.GenericValue getProject(java.lang.Long id)
                                              throws DataAccessException
Retrieve a single project by it's id.

Throws:
DataAccessException

getProjectByName

org.ofbiz.core.entity.GenericValue getProjectByName(java.lang.String name)
                                                    throws DataAccessException
Retrieve a single project by it's project name.

Throws:
DataAccessException

getProjectByKey

org.ofbiz.core.entity.GenericValue getProjectByKey(java.lang.String key)
                                                   throws DataAccessException
Retrieve a single project by it's project key.

Throws:
DataAccessException

getComponent

org.ofbiz.core.entity.GenericValue getComponent(java.lang.Long id)
                                                throws DataAccessException
Get a component from within this project, by it's id.

Throws:
DataAccessException

getComponent

org.ofbiz.core.entity.GenericValue getComponent(org.ofbiz.core.entity.GenericValue project,
                                                java.lang.String name)
                                                throws DataAccessException
Get a component from within this project, based on the project and the component name.

Throws:
DataAccessException

getComponents

java.util.Collection getComponents(org.ofbiz.core.entity.GenericValue project)
                                   throws DataAccessException
Throws:
DataAccessException

getComponents

java.util.Collection getComponents(java.util.List ids)
                                   throws DataAccessException
Get a list of components from their IDs

Throws:
DataAccessException

getProjects

java.util.Collection getProjects()
                                 throws DataAccessException
Return all projects

Throws:
DataAccessException

getNextId

long getNextId(org.ofbiz.core.entity.GenericValue project)
               throws DataAccessException
Get the next ID from this project (transactional)

Throws:
DataAccessException

refresh

void refresh(org.ofbiz.core.entity.GenericValue project)
             throws DataAccessException
Throws:
DataAccessException

refresh

void refresh()

getProjectCategories

java.util.Collection getProjectCategories()
                                          throws DataAccessException
Get all ProjectCategories.

Throws:
DataAccessException

getProjectCategory

org.ofbiz.core.entity.GenericValue getProjectCategory(java.lang.Long id)
                                                      throws DataAccessException
Throws:
DataAccessException

updateProjectCategory

void updateProjectCategory(org.ofbiz.core.entity.GenericValue projectCat)
                           throws DataAccessException
Throws:
DataAccessException

getProjectsFromProjectCategory

java.util.Collection getProjectsFromProjectCategory(org.ofbiz.core.entity.GenericValue projectCategory)
                                                    throws DataAccessException
Throws:
DataAccessException

getProjectsWithNoCategory

java.util.Collection getProjectsWithNoCategory()
                                               throws DataAccessException
Throws:
DataAccessException

getProjectCategoryFromProject

org.ofbiz.core.entity.GenericValue getProjectCategoryFromProject(org.ofbiz.core.entity.GenericValue project)
                                                                 throws DataAccessException
Throws:
DataAccessException

setProjectCategory

void setProjectCategory(org.ofbiz.core.entity.GenericValue project,
                        org.ofbiz.core.entity.GenericValue category)
                        throws DataAccessException
Throws:
DataAccessException

isDefaultAssignee

boolean isDefaultAssignee(org.ofbiz.core.entity.GenericValue project,
                          org.ofbiz.core.entity.GenericValue component)

getDefaultAssignee

com.opensymphony.user.User getDefaultAssignee(org.ofbiz.core.entity.GenericValue project,
                                              org.ofbiz.core.entity.GenericValue component)

isDefaultAssignee

boolean isDefaultAssignee(org.ofbiz.core.entity.GenericValue project)


Copyright © 2002-2006 Atlassian. All Rights Reserved.