com.atlassian.jira.project
Class AbstractProjectManager

java.lang.Object
  |
  +--com.atlassian.jira.project.AbstractProjectManager
All Implemented Interfaces:
ProjectManager
Direct Known Subclasses:
CachingProjectManager, DefaultProjectManager

public abstract class AbstractProjectManager
extends java.lang.Object
implements ProjectManager


Constructor Summary
AbstractProjectManager()
           
 
Method Summary
abstract  void decreaseVersionSequence(org.ofbiz.core.entity.GenericValue version)
          .
abstract  org.ofbiz.core.entity.GenericValue getComponent(org.ofbiz.core.entity.GenericValue project, java.lang.String name)
           
abstract  org.ofbiz.core.entity.GenericValue getComponent(java.lang.Long id)
           
abstract  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
 org.ofbiz.core.entity.GenericValue getProject(org.ofbiz.core.entity.GenericValue issue)
           
abstract  org.ofbiz.core.entity.GenericValue getProject(java.lang.Long id)
           
abstract  org.ofbiz.core.entity.GenericValue getProjectByKey(java.lang.String key)
           
abstract  org.ofbiz.core.entity.GenericValue getProjectByName(java.lang.String name)
           
abstract  java.util.Collection getProjectCategories()
          Get all ProjectCategories.
abstract  org.ofbiz.core.entity.GenericValue getProjectCategory(java.lang.Long id)
           
abstract  org.ofbiz.core.entity.GenericValue getProjectCategoryFromProject(org.ofbiz.core.entity.GenericValue project)
           
abstract  java.util.Collection getProjects()
          Return all projects
abstract  java.util.Collection getProjectsFromProjectCategory(org.ofbiz.core.entity.GenericValue projectCategory)
           
abstract  org.ofbiz.core.entity.GenericValue getVersion(org.ofbiz.core.entity.GenericValue project, java.lang.String name)
           
abstract  org.ofbiz.core.entity.GenericValue getVersion(java.lang.Long id)
           
abstract  java.util.Collection getVersions(org.ofbiz.core.entity.GenericValue project)
           
 java.util.Collection getVersions(java.util.List ids)
          Get a list of versions from their IDs
abstract  java.util.Collection getVersionsReleased(org.ofbiz.core.entity.GenericValue project, boolean includeArchived)
           
 java.util.Collection getVersionsReleasedDesc(org.ofbiz.core.entity.GenericValue project, boolean includeArchived)
           
abstract  java.util.Collection getVersionsUnreleased(org.ofbiz.core.entity.GenericValue project, boolean includeArchived)
           
abstract  void increaseVersionSequence(org.ofbiz.core.entity.GenericValue version)
          Move a version to have a lower sequence number - ie make it earlier
abstract  void moveToEndVersionSequence(org.ofbiz.core.entity.GenericValue version)
          .
abstract  void moveToStartVersionSequence(org.ofbiz.core.entity.GenericValue version)
          Move a version to the start of the version list
abstract  void setProjectCategory(org.ofbiz.core.entity.GenericValue project, org.ofbiz.core.entity.GenericValue category)
           
abstract  void updateProject(org.ofbiz.core.entity.GenericValue updatedProject)
           
abstract  void updateProjectCategory(org.ofbiz.core.entity.GenericValue projectCat)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.project.ProjectManager
getNextId, getVersionsArchived, getVersionsReleased, getVersionsReleasedDesc, getVersionsUnarchived, getVersionsUnreleased, refresh, refresh, releaseVersions
 

Constructor Detail

AbstractProjectManager

public AbstractProjectManager()
Method Detail

updateProject

public abstract void updateProject(org.ofbiz.core.entity.GenericValue updatedProject)
                            throws org.ofbiz.core.entity.GenericEntityException
Specified by:
updateProject in interface ProjectManager
org.ofbiz.core.entity.GenericEntityException

getProject

public org.ofbiz.core.entity.GenericValue getProject(org.ofbiz.core.entity.GenericValue issue)
                                              throws org.ofbiz.core.entity.GenericEntityException
Specified by:
getProject in interface ProjectManager
org.ofbiz.core.entity.GenericEntityException

getProject

public abstract org.ofbiz.core.entity.GenericValue getProject(java.lang.Long id)
                                                       throws org.ofbiz.core.entity.GenericEntityException
Specified by:
getProject in interface ProjectManager
org.ofbiz.core.entity.GenericEntityException

getProjectByName

public abstract org.ofbiz.core.entity.GenericValue getProjectByName(java.lang.String name)
                                                             throws org.ofbiz.core.entity.GenericEntityException
Specified by:
getProjectByName in interface ProjectManager
org.ofbiz.core.entity.GenericEntityException

getProjectByKey

public abstract org.ofbiz.core.entity.GenericValue getProjectByKey(java.lang.String key)
                                                            throws org.ofbiz.core.entity.GenericEntityException
Specified by:
getProjectByKey in interface ProjectManager
org.ofbiz.core.entity.GenericEntityException

getComponent

public abstract org.ofbiz.core.entity.GenericValue getComponent(java.lang.Long id)
                                                         throws org.ofbiz.core.entity.GenericEntityException
Specified by:
getComponent in interface ProjectManager
org.ofbiz.core.entity.GenericEntityException

getComponent

public abstract org.ofbiz.core.entity.GenericValue getComponent(org.ofbiz.core.entity.GenericValue project,
                                                                java.lang.String name)
                                                         throws org.ofbiz.core.entity.GenericEntityException
Specified by:
getComponent in interface ProjectManager
org.ofbiz.core.entity.GenericEntityException

getComponents

public abstract java.util.Collection getComponents(org.ofbiz.core.entity.GenericValue project)
                                            throws org.ofbiz.core.entity.GenericEntityException
Specified by:
getComponents in interface ProjectManager
org.ofbiz.core.entity.GenericEntityException

getComponents

public java.util.Collection getComponents(java.util.List ids)
                                   throws org.ofbiz.core.entity.GenericEntityException
Description copied from interface: ProjectManager
Get a list of components from their IDs

Specified by:
getComponents in interface ProjectManager
org.ofbiz.core.entity.GenericEntityException

getVersion

public abstract org.ofbiz.core.entity.GenericValue getVersion(java.lang.Long id)
                                                       throws org.ofbiz.core.entity.GenericEntityException
Specified by:
getVersion in interface ProjectManager
org.ofbiz.core.entity.GenericEntityException

getVersion

public abstract org.ofbiz.core.entity.GenericValue getVersion(org.ofbiz.core.entity.GenericValue project,
                                                              java.lang.String name)
                                                       throws org.ofbiz.core.entity.GenericEntityException
Specified by:
getVersion in interface ProjectManager
org.ofbiz.core.entity.GenericEntityException

getVersions

public abstract java.util.Collection getVersions(org.ofbiz.core.entity.GenericValue project)
                                          throws org.ofbiz.core.entity.GenericEntityException
Specified by:
getVersions in interface ProjectManager
org.ofbiz.core.entity.GenericEntityException

getVersions

public java.util.Collection getVersions(java.util.List ids)
                                 throws org.ofbiz.core.entity.GenericEntityException
Description copied from interface: ProjectManager
Get a list of versions from their IDs

Specified by:
getVersions in interface ProjectManager
org.ofbiz.core.entity.GenericEntityException

getVersionsReleased

public abstract java.util.Collection getVersionsReleased(org.ofbiz.core.entity.GenericValue project,
                                                         boolean includeArchived)
                                                  throws org.ofbiz.core.entity.GenericEntityException
Specified by:
getVersionsReleased in interface ProjectManager
org.ofbiz.core.entity.GenericEntityException

getVersionsReleasedDesc

public java.util.Collection getVersionsReleasedDesc(org.ofbiz.core.entity.GenericValue project,
                                                    boolean includeArchived)
                                             throws org.ofbiz.core.entity.GenericEntityException
Specified by:
getVersionsReleasedDesc in interface ProjectManager
org.ofbiz.core.entity.GenericEntityException

getVersionsUnreleased

public abstract java.util.Collection getVersionsUnreleased(org.ofbiz.core.entity.GenericValue project,
                                                           boolean includeArchived)
                                                    throws org.ofbiz.core.entity.GenericEntityException
Specified by:
getVersionsUnreleased in interface ProjectManager
org.ofbiz.core.entity.GenericEntityException

getProjects

public abstract java.util.Collection getProjects()
                                          throws org.ofbiz.core.entity.GenericEntityException
Description copied from interface: ProjectManager
Return all projects

Specified by:
getProjects in interface ProjectManager
org.ofbiz.core.entity.GenericEntityException

moveToStartVersionSequence

public abstract void moveToStartVersionSequence(org.ofbiz.core.entity.GenericValue version)
                                         throws org.ofbiz.core.entity.GenericEntityException
Description copied from interface: ProjectManager
Move a version to the start of the version list

Specified by:
moveToStartVersionSequence in interface ProjectManager
org.ofbiz.core.entity.GenericEntityException

increaseVersionSequence

public abstract void increaseVersionSequence(org.ofbiz.core.entity.GenericValue version)
                                      throws org.ofbiz.core.entity.GenericEntityException
Description copied from interface: ProjectManager
Move a version to have a lower sequence number - ie make it earlier

Specified by:
increaseVersionSequence in interface ProjectManager
org.ofbiz.core.entity.GenericEntityException

decreaseVersionSequence

public abstract void decreaseVersionSequence(org.ofbiz.core.entity.GenericValue version)
                                      throws org.ofbiz.core.entity.GenericEntityException
Description copied from interface: ProjectManager
. Move a version to have a higher sequence number - ie make it later

Specified by:
decreaseVersionSequence in interface ProjectManager
org.ofbiz.core.entity.GenericEntityException

moveToEndVersionSequence

public abstract void moveToEndVersionSequence(org.ofbiz.core.entity.GenericValue version)
                                       throws org.ofbiz.core.entity.GenericEntityException
Description copied from interface: ProjectManager
. Move a version to to the end of the version sequence

Specified by:
moveToEndVersionSequence in interface ProjectManager
org.ofbiz.core.entity.GenericEntityException

getProjectCategories

public abstract java.util.Collection getProjectCategories()
                                                   throws org.ofbiz.core.entity.GenericEntityException
Description copied from interface: ProjectManager
Get all ProjectCategories.

Specified by:
getProjectCategories in interface ProjectManager
org.ofbiz.core.entity.GenericEntityException

getProjectCategory

public abstract org.ofbiz.core.entity.GenericValue getProjectCategory(java.lang.Long id)
                                                               throws org.ofbiz.core.entity.GenericEntityException
Specified by:
getProjectCategory in interface ProjectManager
org.ofbiz.core.entity.GenericEntityException

updateProjectCategory

public abstract void updateProjectCategory(org.ofbiz.core.entity.GenericValue projectCat)
                                    throws org.ofbiz.core.entity.GenericEntityException
Specified by:
updateProjectCategory in interface ProjectManager
org.ofbiz.core.entity.GenericEntityException

getProjectsFromProjectCategory

public abstract java.util.Collection getProjectsFromProjectCategory(org.ofbiz.core.entity.GenericValue projectCategory)
                                                             throws org.ofbiz.core.entity.GenericEntityException
Specified by:
getProjectsFromProjectCategory in interface ProjectManager
org.ofbiz.core.entity.GenericEntityException

getProjectCategoryFromProject

public abstract org.ofbiz.core.entity.GenericValue getProjectCategoryFromProject(org.ofbiz.core.entity.GenericValue project)
                                                                          throws org.ofbiz.core.entity.GenericEntityException
Specified by:
getProjectCategoryFromProject in interface ProjectManager
org.ofbiz.core.entity.GenericEntityException

setProjectCategory

public abstract void setProjectCategory(org.ofbiz.core.entity.GenericValue project,
                                        org.ofbiz.core.entity.GenericValue category)
                                 throws org.ofbiz.core.entity.GenericEntityException
Specified by:
setProjectCategory in interface ProjectManager
org.ofbiz.core.entity.GenericEntityException


Copyright © 2002-2003 Atlassian. All Rights Reserved.