org.apache.continuum.dao
Class ProjectDaoImpl
java.lang.Object
org.apache.continuum.dao.AbstractDao
org.apache.continuum.dao.ProjectDaoImpl
- All Implemented Interfaces:
- ProjectDao
@Repository(value="projectDao")
public class ProjectDaoImpl
- extends AbstractDao
- implements ProjectDao
- Version:
- $Id: ProjectDaoImpl.java 1372260 2012-08-13 04:29:09Z brett $
- Author:
- Emmanuel Venisse
| 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 |
ProjectDaoImpl
public ProjectDaoImpl()
removeProject
public void removeProject(Project project)
- Specified by:
removeProject in interface ProjectDao
updateProject
public void updateProject(Project project)
throws ContinuumStoreException
- Specified by:
updateProject in interface ProjectDao
- Throws:
ContinuumStoreException
getProject
public Project getProject(int projectId)
throws ContinuumStoreException
- Specified by:
getProject in interface ProjectDao
- Throws:
ContinuumStoreException
getProject
public Project getProject(String groupId,
String artifactId,
String version)
throws ContinuumStoreException
- Specified by:
getProject in interface ProjectDao
- Throws:
ContinuumStoreException
getProjectByName
public Project getProjectByName(String name)
throws ContinuumStoreException
- Specified by:
getProjectByName in interface ProjectDao
- Throws:
ContinuumStoreException
getProjectsWithDependenciesByGroupId
public List<Project> getProjectsWithDependenciesByGroupId(int projectGroupId)
- Specified by:
getProjectsWithDependenciesByGroupId in interface ProjectDao
getProjectWithBuilds
public Project getProjectWithBuilds(int projectId)
throws ContinuumStoreException
- Specified by:
getProjectWithBuilds in interface ProjectDao
- Throws:
ContinuumStoreException
getProjectWithBuildDetails
public Project getProjectWithBuildDetails(int projectId)
throws ContinuumStoreException
- Specified by:
getProjectWithBuildDetails in interface ProjectDao
- Throws:
ContinuumStoreException
getProjectWithCheckoutResult
public Project getProjectWithCheckoutResult(int projectId)
throws ContinuumStoreException
- Specified by:
getProjectWithCheckoutResult in interface ProjectDao
- Throws:
ContinuumStoreException
getProjectsInGroup
public List<Project> getProjectsInGroup(int projectGroupId)
throws ContinuumStoreException
- Specified by:
getProjectsInGroup in interface ProjectDao
- Throws:
ContinuumStoreException
getProjectsInGroupWithDependencies
public List<Project> getProjectsInGroupWithDependencies(int projectGroupId)
throws ContinuumStoreException
- Specified by:
getProjectsInGroupWithDependencies in interface ProjectDao
- Throws:
ContinuumStoreException
getProjectWithAllDetails
public Project getProjectWithAllDetails(int projectId)
throws ContinuumStoreException
- Specified by:
getProjectWithAllDetails in interface ProjectDao
- Throws:
ContinuumStoreException
getAllProjectsByName
public List<Project> getAllProjectsByName()
- Specified by:
getAllProjectsByName in interface ProjectDao
getAllProjectsByNameWithDependencies
public List<Project> getAllProjectsByNameWithDependencies()
- Specified by:
getAllProjectsByNameWithDependencies in interface ProjectDao
getAllProjectsByNameWithBuildDetails
public List<Project> getAllProjectsByNameWithBuildDetails()
- Specified by:
getAllProjectsByNameWithBuildDetails in interface ProjectDao
getProjectGroupByProjectId
public ProjectGroup getProjectGroupByProjectId(int projectId)
throws ContinuumObjectNotFoundException
- Specified by:
getProjectGroupByProjectId in interface ProjectDao
- Throws:
ContinuumObjectNotFoundException
getProjectWithDependencies
public Project getProjectWithDependencies(int projectId)
throws ContinuumStoreException
- Specified by:
getProjectWithDependencies in interface ProjectDao
- Throws:
ContinuumStoreException
getProjectsSummary
public Map<Integer,ProjectGroupSummary> getProjectsSummary()
- Specified by:
getProjectsSummary in interface ProjectDao
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.