|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.atlassian.jira.project.AbstractProjectManager | +--com.atlassian.jira.project.DefaultProjectManager
A class to manage interactions with projects
Constructor Summary | |
DefaultProjectManager()
Don't use this constructor. |
Method Summary | |
void |
decreaseVersionSequence(org.ofbiz.core.entity.GenericValue pVersion)
. |
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)
|
protected org.ofbiz.core.entity.GenericDelegator |
getDelegator()
|
long |
getNextId(org.ofbiz.core.entity.GenericValue project)
Get the next ID from this project (transactional) |
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)
Get the Project Category given a Project. |
java.util.Collection |
getProjects()
Return all projects |
java.util.Collection |
getProjectsFromProjectCategory(org.ofbiz.core.entity.GenericValue projectCategory)
Gather a list of projects that are in a project category. |
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 |
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 |
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 pVersion)
Move a pVersion 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)
Release / unrelease a collection of versions and update the appropriate issue caches. |
void |
setProjectCategory(org.ofbiz.core.entity.GenericValue project,
org.ofbiz.core.entity.GenericValue category)
If category is non-null, set project 's Project Category to category . |
void |
updateProject(org.ofbiz.core.entity.GenericValue updatedProject)
|
void |
updateProjectCategory(org.ofbiz.core.entity.GenericValue projectCat)
|
Methods inherited from class com.atlassian.jira.project.AbstractProjectManager |
getComponents, getProject, getVersions, getVersionsReleasedDesc |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultProjectManager()
Method Detail |
public long getNextId(org.ofbiz.core.entity.GenericValue project) throws org.ofbiz.core.entity.GenericEntityException
ProjectManager
org.ofbiz.core.entity.GenericEntityException
public void updateProject(org.ofbiz.core.entity.GenericValue updatedProject) throws org.ofbiz.core.entity.GenericEntityException
updateProject
in interface ProjectManager
updateProject
in class AbstractProjectManager
org.ofbiz.core.entity.GenericEntityException
public org.ofbiz.core.entity.GenericValue getProject(java.lang.Long id) throws org.ofbiz.core.entity.GenericEntityException
getProject
in interface ProjectManager
getProject
in class AbstractProjectManager
org.ofbiz.core.entity.GenericEntityException
public org.ofbiz.core.entity.GenericValue getProjectByName(java.lang.String name) throws org.ofbiz.core.entity.GenericEntityException
getProjectByName
in interface ProjectManager
getProjectByName
in class AbstractProjectManager
org.ofbiz.core.entity.GenericEntityException
public org.ofbiz.core.entity.GenericValue getProjectByKey(java.lang.String key) throws org.ofbiz.core.entity.GenericEntityException
getProjectByKey
in interface ProjectManager
getProjectByKey
in class AbstractProjectManager
org.ofbiz.core.entity.GenericEntityException
public org.ofbiz.core.entity.GenericValue getComponent(java.lang.Long id) throws org.ofbiz.core.entity.GenericEntityException
getComponent
in interface ProjectManager
getComponent
in class AbstractProjectManager
org.ofbiz.core.entity.GenericEntityException
public org.ofbiz.core.entity.GenericValue getComponent(org.ofbiz.core.entity.GenericValue project, java.lang.String name) throws org.ofbiz.core.entity.GenericEntityException
getComponent
in interface ProjectManager
getComponent
in class AbstractProjectManager
org.ofbiz.core.entity.GenericEntityException
public java.util.Collection getComponents(org.ofbiz.core.entity.GenericValue project) throws org.ofbiz.core.entity.GenericEntityException
getComponents
in interface ProjectManager
getComponents
in class AbstractProjectManager
org.ofbiz.core.entity.GenericEntityException
public org.ofbiz.core.entity.GenericValue getVersion(java.lang.Long id) throws org.ofbiz.core.entity.GenericEntityException
getVersion
in interface ProjectManager
getVersion
in class AbstractProjectManager
org.ofbiz.core.entity.GenericEntityException
public org.ofbiz.core.entity.GenericValue getVersion(org.ofbiz.core.entity.GenericValue project, java.lang.String name) throws org.ofbiz.core.entity.GenericEntityException
getVersion
in interface ProjectManager
getVersion
in class AbstractProjectManager
org.ofbiz.core.entity.GenericEntityException
public java.util.Collection getVersions(org.ofbiz.core.entity.GenericValue project) throws org.ofbiz.core.entity.GenericEntityException
getVersions
in interface ProjectManager
getVersions
in class AbstractProjectManager
org.ofbiz.core.entity.GenericEntityException
public java.util.Collection getVersionsReleased(org.ofbiz.core.entity.GenericValue project, boolean includeArchived) throws org.ofbiz.core.entity.GenericEntityException
getVersionsReleased
in interface ProjectManager
getVersionsReleased
in class AbstractProjectManager
org.ofbiz.core.entity.GenericEntityException
public java.util.Collection getVersionsReleased(org.ofbiz.core.entity.GenericValue project) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public java.util.Collection getVersionsReleasedDesc(org.ofbiz.core.entity.GenericValue project) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public java.util.Collection getVersionsUnreleased(org.ofbiz.core.entity.GenericValue project, boolean includeArchived) throws org.ofbiz.core.entity.GenericEntityException
getVersionsUnreleased
in interface ProjectManager
getVersionsUnreleased
in class AbstractProjectManager
org.ofbiz.core.entity.GenericEntityException
public java.util.Collection getVersionsUnreleased(org.ofbiz.core.entity.GenericValue project) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public java.util.Collection getVersionsArchived(org.ofbiz.core.entity.GenericValue project) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public java.util.Collection getVersionsUnarchived(org.ofbiz.core.entity.GenericValue project) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public java.util.Collection getProjects() throws org.ofbiz.core.entity.GenericEntityException
getProjects
in interface ProjectManager
getProjects
in class AbstractProjectManager
org.ofbiz.core.entity.GenericEntityException
public void moveToStartVersionSequence(org.ofbiz.core.entity.GenericValue version) throws org.ofbiz.core.entity.GenericEntityException
ProjectManager
moveToStartVersionSequence
in interface ProjectManager
moveToStartVersionSequence
in class AbstractProjectManager
org.ofbiz.core.entity.GenericEntityException
public void releaseVersions(java.util.Collection versions, boolean release) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public void increaseVersionSequence(org.ofbiz.core.entity.GenericValue pVersion) throws org.ofbiz.core.entity.GenericEntityException
increaseVersionSequence
in interface ProjectManager
increaseVersionSequence
in class AbstractProjectManager
org.ofbiz.core.entity.GenericEntityException
public void decreaseVersionSequence(org.ofbiz.core.entity.GenericValue pVersion) throws org.ofbiz.core.entity.GenericEntityException
decreaseVersionSequence
in interface ProjectManager
decreaseVersionSequence
in class AbstractProjectManager
org.ofbiz.core.entity.GenericEntityException
public void moveToEndVersionSequence(org.ofbiz.core.entity.GenericValue version) throws org.ofbiz.core.entity.GenericEntityException
ProjectManager
moveToEndVersionSequence
in interface ProjectManager
moveToEndVersionSequence
in class AbstractProjectManager
org.ofbiz.core.entity.GenericEntityException
protected org.ofbiz.core.entity.GenericDelegator getDelegator()
public java.util.Collection getProjectCategories() throws org.ofbiz.core.entity.GenericEntityException
ProjectManager
getProjectCategories
in interface ProjectManager
getProjectCategories
in class AbstractProjectManager
org.ofbiz.core.entity.GenericEntityException
public org.ofbiz.core.entity.GenericValue getProjectCategory(java.lang.Long id) throws org.ofbiz.core.entity.GenericEntityException
getProjectCategory
in interface ProjectManager
getProjectCategory
in class AbstractProjectManager
org.ofbiz.core.entity.GenericEntityException
public void updateProjectCategory(org.ofbiz.core.entity.GenericValue projectCat) throws org.ofbiz.core.entity.GenericEntityException
updateProjectCategory
in interface ProjectManager
updateProjectCategory
in class AbstractProjectManager
org.ofbiz.core.entity.GenericEntityException
public java.util.Collection getProjectsFromProjectCategory(org.ofbiz.core.entity.GenericValue projectCategory) throws org.ofbiz.core.entity.GenericEntityException
getProjectsFromProjectCategory
in interface ProjectManager
getProjectsFromProjectCategory
in class AbstractProjectManager
projectCategory
- Project to look up against
org.ofbiz.core.entity.GenericEntityException
public org.ofbiz.core.entity.GenericValue getProjectCategoryFromProject(org.ofbiz.core.entity.GenericValue project) throws org.ofbiz.core.entity.GenericEntityException
getProjectCategoryFromProject
in interface ProjectManager
getProjectCategoryFromProject
in class AbstractProjectManager
project
- Project
org.ofbiz.core.entity.GenericEntityException
public void setProjectCategory(org.ofbiz.core.entity.GenericValue project, org.ofbiz.core.entity.GenericValue category) throws org.ofbiz.core.entity.GenericEntityException
category
is non-null, set project
's Project Category to category
.
If category
is null, remove project
's Project Category association, if one exists.
setProjectCategory
in interface ProjectManager
setProjectCategory
in class AbstractProjectManager
project
- category
-
org.ofbiz.core.entity.GenericEntityException
public void refresh(org.ofbiz.core.entity.GenericValue project) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public void refresh()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |