com.atlassian.jira.project
Interface ProjectManager

All Known Implementing Classes:
AbstractProjectManager

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

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

getProject

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

getProject

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

Throws:
DataAccessException

getProjectByName

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

Throws:
DataAccessException

getProjectByKey

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

Throws:
DataAccessException

getComponent

public 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

public 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

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

getComponents

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

Throws:
DataAccessException

getProjects

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

Throws:
DataAccessException

getNextId

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

Throws:
DataAccessException

refresh

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

refresh

public void refresh()

getProjectCategories

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

Throws:
DataAccessException

getProjectCategory

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

updateProjectCategory

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

getProjectsFromProjectCategory

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

getProjectsWithNoCategory

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

getProjectCategoryFromProject

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

setProjectCategory

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

isDefaultAssignee

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

getDefaultAssignee

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

isDefaultAssignee

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


Copyright © 2002-2005 Atlassian. All Rights Reserved.