com.atlassian.jira.project
Interface ProjectManager

All Known Implementing Classes:
AbstractProjectManager

public interface ProjectManager


Method Summary
 void decreaseVersionSequence(org.ofbiz.core.entity.GenericValue version)
          .
 org.ofbiz.core.entity.GenericValue getComponent(org.ofbiz.core.entity.GenericValue project, java.lang.String name)
           
 org.ofbiz.core.entity.GenericValue getComponent(java.lang.Long 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
 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)
           
 org.ofbiz.core.entity.GenericValue getProjectByKey(java.lang.String key)
           
 org.ofbiz.core.entity.GenericValue getProjectByName(java.lang.String 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)
           
 org.ofbiz.core.entity.GenericValue getVersion(org.ofbiz.core.entity.GenericValue project, java.lang.String name)
           
 org.ofbiz.core.entity.GenericValue getVersion(java.lang.Long id)
           
 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
 java.util.Collection getVersionsArchived(org.ofbiz.core.entity.GenericValue project)
           
 java.util.Collection getVersionsReleased(org.ofbiz.core.entity.GenericValue project)
           
 java.util.Collection getVersionsReleased(org.ofbiz.core.entity.GenericValue project, boolean includeArchived)
           
 java.util.Collection getVersionsReleasedDesc(org.ofbiz.core.entity.GenericValue project)
           
 java.util.Collection getVersionsReleasedDesc(org.ofbiz.core.entity.GenericValue project, boolean includeArchived)
           
 java.util.Collection getVersionsUnarchived(org.ofbiz.core.entity.GenericValue project)
           
 java.util.Collection getVersionsUnreleased(org.ofbiz.core.entity.GenericValue project)
           
 java.util.Collection getVersionsUnreleased(org.ofbiz.core.entity.GenericValue project, boolean includeArchived)
           
 void increaseVersionSequence(org.ofbiz.core.entity.GenericValue version)
          Move a version to have a lower sequence number - ie make it earlier
 void moveToEndVersionSequence(org.ofbiz.core.entity.GenericValue version)
          .
 void moveToStartVersionSequence(org.ofbiz.core.entity.GenericValue version)
          Move a version to the start of the version list
 void refresh()
           
 void refresh(org.ofbiz.core.entity.GenericValue project)
           
 void releaseVersions(java.util.Collection versions, boolean release)
           
 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 org.ofbiz.core.entity.GenericEntityException
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
org.ofbiz.core.entity.GenericEntityException

getProject

public org.ofbiz.core.entity.GenericValue getProject(java.lang.Long id)
                                              throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException

getProjectByName

public org.ofbiz.core.entity.GenericValue getProjectByName(java.lang.String name)
                                                    throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException

getProjectByKey

public org.ofbiz.core.entity.GenericValue getProjectByKey(java.lang.String key)
                                                   throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException

getComponent

public org.ofbiz.core.entity.GenericValue getComponent(java.lang.Long id)
                                                throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException

getComponent

public org.ofbiz.core.entity.GenericValue getComponent(org.ofbiz.core.entity.GenericValue project,
                                                       java.lang.String name)
                                                throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException

getComponents

public java.util.Collection getComponents(org.ofbiz.core.entity.GenericValue project)
                                   throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException

getComponents

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

org.ofbiz.core.entity.GenericEntityException

getVersion

public org.ofbiz.core.entity.GenericValue getVersion(java.lang.Long id)
                                              throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException

getVersion

public org.ofbiz.core.entity.GenericValue getVersion(org.ofbiz.core.entity.GenericValue project,
                                                     java.lang.String name)
                                              throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException

getVersions

public java.util.Collection getVersions(org.ofbiz.core.entity.GenericValue project)
                                 throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException

getVersions

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

org.ofbiz.core.entity.GenericEntityException

getVersionsReleased

public java.util.Collection getVersionsReleased(org.ofbiz.core.entity.GenericValue project,
                                                boolean includeArchived)
                                         throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException

getVersionsReleased

public java.util.Collection getVersionsReleased(org.ofbiz.core.entity.GenericValue project)
                                         throws org.ofbiz.core.entity.GenericEntityException
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
org.ofbiz.core.entity.GenericEntityException

getVersionsReleasedDesc

public java.util.Collection getVersionsReleasedDesc(org.ofbiz.core.entity.GenericValue project)
                                             throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException

getVersionsUnreleased

public java.util.Collection getVersionsUnreleased(org.ofbiz.core.entity.GenericValue project,
                                                  boolean includeArchived)
                                           throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException

getVersionsUnreleased

public java.util.Collection getVersionsUnreleased(org.ofbiz.core.entity.GenericValue project)
                                           throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException

getVersionsUnarchived

public java.util.Collection getVersionsUnarchived(org.ofbiz.core.entity.GenericValue project)
                                           throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException

getVersionsArchived

public java.util.Collection getVersionsArchived(org.ofbiz.core.entity.GenericValue project)
                                         throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException

getProjects

public java.util.Collection getProjects()
                                 throws org.ofbiz.core.entity.GenericEntityException
Return all projects

org.ofbiz.core.entity.GenericEntityException

moveToStartVersionSequence

public void moveToStartVersionSequence(org.ofbiz.core.entity.GenericValue version)
                                throws org.ofbiz.core.entity.GenericEntityException
Move a version to the start of the version list

org.ofbiz.core.entity.GenericEntityException

increaseVersionSequence

public void increaseVersionSequence(org.ofbiz.core.entity.GenericValue version)
                             throws org.ofbiz.core.entity.GenericEntityException
Move a version to have a lower sequence number - ie make it earlier

org.ofbiz.core.entity.GenericEntityException

decreaseVersionSequence

public void decreaseVersionSequence(org.ofbiz.core.entity.GenericValue version)
                             throws org.ofbiz.core.entity.GenericEntityException
. Move a version to have a higher sequence number - ie make it later

org.ofbiz.core.entity.GenericEntityException

moveToEndVersionSequence

public void moveToEndVersionSequence(org.ofbiz.core.entity.GenericValue version)
                              throws org.ofbiz.core.entity.GenericEntityException
. Move a version to to the end of the version sequence

org.ofbiz.core.entity.GenericEntityException

getNextId

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

org.ofbiz.core.entity.GenericEntityException

refresh

public void refresh(org.ofbiz.core.entity.GenericValue project)
             throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException

refresh

public void refresh()

getProjectCategories

public java.util.Collection getProjectCategories()
                                          throws org.ofbiz.core.entity.GenericEntityException
Get all ProjectCategories.

org.ofbiz.core.entity.GenericEntityException

getProjectCategory

public org.ofbiz.core.entity.GenericValue getProjectCategory(java.lang.Long id)
                                                      throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException

updateProjectCategory

public void updateProjectCategory(org.ofbiz.core.entity.GenericValue projectCat)
                           throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException

getProjectsFromProjectCategory

public java.util.Collection getProjectsFromProjectCategory(org.ofbiz.core.entity.GenericValue projectCategory)
                                                    throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException

getProjectCategoryFromProject

public org.ofbiz.core.entity.GenericValue getProjectCategoryFromProject(org.ofbiz.core.entity.GenericValue project)
                                                                 throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException

setProjectCategory

public void setProjectCategory(org.ofbiz.core.entity.GenericValue project,
                               org.ofbiz.core.entity.GenericValue category)
                        throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException

releaseVersions

public void releaseVersions(java.util.Collection versions,
                            boolean release)
                     throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException


Copyright © 2002-2003 Atlassian. All Rights Reserved.