|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.continuum.dao.AbstractDao org.apache.continuum.dao.ProjectGroupDaoImpl
@Repository(value="projectGroupDao") public class ProjectGroupDaoImpl
Field Summary |
---|
Constructor Summary | |
---|---|
ProjectGroupDaoImpl()
|
Method Summary | |
---|---|
ProjectGroup |
addProjectGroup(ProjectGroup group)
Add the project group. |
List<ProjectGroup> |
getAllProjectGroups()
Return all project groups. |
List<ProjectGroup> |
getAllProjectGroupsWithBuildDetails()
Return all project groups with build details populated. |
Collection<ProjectGroup> |
getAllProjectGroupsWithProjects()
Return all project groups with projects populated. |
List<ProjectGroup> |
getAllProjectGroupsWithTheLot()
Return all project groups with all associated objects populated. |
ProjectGroup |
getProjectGroup(int projectGroupId)
Return the project group associated to the project group id parameter. |
ProjectGroup |
getProjectGroupByGroupId(String groupId)
Return the project group associated to the groupId parameter. |
ProjectGroup |
getProjectGroupByGroupIdWithBuildDetails(String groupId)
Return the project group associated to the groupId parameter. |
ProjectGroup |
getProjectGroupByGroupIdWithProjects(String groupId)
Return the project group associated to the groupId parameter. |
ProjectGroup |
getProjectGroupByProject(Project project)
Return the project group of the project. |
ProjectGroup |
getProjectGroupByProjectId(int projectId)
Return the project group of the project. |
List<ProjectGroup> |
getProjectGroupByRepository(int repositoryId)
|
ProjectGroup |
getProjectGroupWithBuildDetailsByProjectGroupId(int projectGroupId)
Return the project group with associated build details populated. |
ProjectGroup |
getProjectGroupWithProjects(int projectGroupId)
Return the project group with projects populated. |
void |
removeProjectGroup(ProjectGroup projectGroup)
Remove the project group. |
void |
updateProjectGroup(ProjectGroup group)
Save the modified project group. |
Methods inherited from class org.apache.continuum.dao.AbstractDao |
---|
addObject, attachAndDelete, getAllObjectsDetached, getAllObjectsDetached, getAllObjectsDetached, getAllObjectsDetached, getContinuumPersistenceManagerFactory, getObjectById, getObjectById, getObjectFromQuery, getPersistenceManager, makePersistent, removeObject, rollback, updateObject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProjectGroupDaoImpl()
Method Detail |
---|
public ProjectGroup addProjectGroup(ProjectGroup group)
ProjectGroupDao
addProjectGroup
in interface ProjectGroupDao
group
- The project group
public void removeProjectGroup(ProjectGroup projectGroup)
ProjectGroupDao
removeProjectGroup
in interface ProjectGroupDao
projectGroup
- the project group to removepublic ProjectGroup getProjectGroup(int projectGroupId) throws ContinuumStoreException
ProjectGroupDao
getProjectGroup
in interface ProjectGroupDao
projectGroupId
- The project group id
ContinuumStoreException
- if the project group can't be obtainpublic ProjectGroup getProjectGroupByGroupId(String groupId) throws ContinuumStoreException
ProjectGroupDao
getProjectGroupByGroupId
in interface ProjectGroupDao
groupId
- The group id
ContinuumStoreException
- if the project group can't be obtainpublic ProjectGroup getProjectGroupByGroupIdWithBuildDetails(String groupId) throws ContinuumStoreException
ProjectGroupDao
getProjectGroupByGroupIdWithBuildDetails
in interface ProjectGroupDao
groupId
- The group id
ContinuumStoreException
- if the project group can't be obtainpublic ProjectGroup getProjectGroupByGroupIdWithProjects(String groupId) throws ContinuumStoreException
ProjectGroupDao
getProjectGroupByGroupIdWithProjects
in interface ProjectGroupDao
groupId
- The group id
ContinuumStoreException
- if the project group can't be obtainpublic ProjectGroup getProjectGroupByProjectId(int projectId) throws ContinuumObjectNotFoundException
ProjectGroupDao
getProjectGroupByProjectId
in interface ProjectGroupDao
projectId
- The project id
ContinuumObjectNotFoundException
- if the project group can't be obtainpublic ProjectGroup getProjectGroupByProject(Project project) throws ContinuumObjectNotFoundException
ProjectGroupDao
getProjectGroupByProject
in interface ProjectGroupDao
project
- The project
ContinuumObjectNotFoundException
- if the project group can't be obtainpublic void updateProjectGroup(ProjectGroup group) throws ContinuumStoreException
ProjectGroupDao
updateProjectGroup
in interface ProjectGroupDao
group
- The project group
ContinuumStoreException
- if the project group can't be savedpublic ProjectGroup getProjectGroupWithProjects(int projectGroupId) throws ContinuumStoreException
ProjectGroupDao
getProjectGroupWithProjects
in interface ProjectGroupDao
projectGroupId
- The project group id
ContinuumStoreException
- if the project group can't be obtainpublic Collection<ProjectGroup> getAllProjectGroupsWithProjects()
ProjectGroupDao
getAllProjectGroupsWithProjects
in interface ProjectGroupDao
public List<ProjectGroup> getAllProjectGroupsWithBuildDetails()
ProjectGroupDao
getAllProjectGroupsWithBuildDetails
in interface ProjectGroupDao
public List<ProjectGroup> getAllProjectGroups()
ProjectGroupDao
getAllProjectGroups
in interface ProjectGroupDao
public List<ProjectGroup> getAllProjectGroupsWithTheLot()
ProjectGroupDao
getAllProjectGroupsWithTheLot
in interface ProjectGroupDao
public ProjectGroup getProjectGroupWithBuildDetailsByProjectGroupId(int projectGroupId) throws ContinuumStoreException
ProjectGroupDao
getProjectGroupWithBuildDetailsByProjectGroupId
in interface ProjectGroupDao
projectGroupId
- the project group id
ContinuumStoreException
- if the project group can't be obtainpublic List<ProjectGroup> getProjectGroupByRepository(int repositoryId)
getProjectGroupByRepository
in interface ProjectGroupDao
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |