org.apache.continuum.dao
Class ProjectScmRootDaoImpl

java.lang.Object
  extended by org.apache.continuum.dao.AbstractDao
      extended by org.apache.continuum.dao.ProjectScmRootDaoImpl
All Implemented Interfaces:
ProjectScmRootDao

@Repository(value="projectScmRootDao")
public class ProjectScmRootDaoImpl
extends AbstractDao
implements ProjectScmRootDao

Version:
$Id: $
Author:
Maria Catherine Tan

Field Summary
 
Fields inherited from class org.apache.continuum.dao.AbstractDao
BUILD_RESULT_WITH_DETAILS_FETCH_GROUP, BUILD_TEMPLATE_BUILD_DEFINITIONS, PROJECT_ALL_DETAILS_FETCH_GROUP, PROJECT_BUILD_DETAILS_FETCH_GROUP, PROJECT_DEPENDENCIES_FETCH_GROUP, PROJECT_WITH_BUILDS_FETCH_GROUP, PROJECT_WITH_CHECKOUT_RESULT_FETCH_GROUP, PROJECTGROUP_PROJECTS_FETCH_GROUP
 
Constructor Summary
ProjectScmRootDaoImpl()
           
 
Method Summary
 ProjectScmRoot addProjectScmRoot(ProjectScmRoot projectScmRoot)
           
 List<ProjectScmRoot> getAllProjectScmRoots()
           
 ProjectScmRoot getProjectScmRoot(int projectScmRootId)
           
 List<ProjectScmRoot> getProjectScmRootByProjectGroup(int projectGroupId)
           
 ProjectScmRoot getProjectScmRootByProjectGroupAndScmRootAddress(int projectGroupId, String scmRootAddress)
           
 void removeProjectScmRoot(ProjectScmRoot projectScmRoot)
           
 void updateProjectScmRoot(ProjectScmRoot projectScmRoot)
           
 
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

ProjectScmRootDaoImpl

public ProjectScmRootDaoImpl()
Method Detail

addProjectScmRoot

public ProjectScmRoot addProjectScmRoot(ProjectScmRoot projectScmRoot)
                                 throws ContinuumStoreException
Specified by:
addProjectScmRoot in interface ProjectScmRootDao
Throws:
ContinuumStoreException

getAllProjectScmRoots

public List<ProjectScmRoot> getAllProjectScmRoots()
Specified by:
getAllProjectScmRoots in interface ProjectScmRootDao

getProjectScmRootByProjectGroup

public List<ProjectScmRoot> getProjectScmRootByProjectGroup(int projectGroupId)
Specified by:
getProjectScmRootByProjectGroup in interface ProjectScmRootDao

removeProjectScmRoot

public void removeProjectScmRoot(ProjectScmRoot projectScmRoot)
                          throws ContinuumStoreException
Specified by:
removeProjectScmRoot in interface ProjectScmRootDao
Throws:
ContinuumStoreException

updateProjectScmRoot

public void updateProjectScmRoot(ProjectScmRoot projectScmRoot)
                          throws ContinuumStoreException
Specified by:
updateProjectScmRoot in interface ProjectScmRootDao
Throws:
ContinuumStoreException

getProjectScmRootByProjectGroupAndScmRootAddress

public ProjectScmRoot getProjectScmRootByProjectGroupAndScmRootAddress(int projectGroupId,
                                                                       String scmRootAddress)
                                                                throws ContinuumStoreException
Specified by:
getProjectScmRootByProjectGroupAndScmRootAddress in interface ProjectScmRootDao
Throws:
ContinuumStoreException

getProjectScmRoot

public ProjectScmRoot getProjectScmRoot(int projectScmRootId)
                                 throws ContinuumObjectNotFoundException,
                                        ContinuumStoreException
Specified by:
getProjectScmRoot in interface ProjectScmRootDao
Throws:
ContinuumObjectNotFoundException
ContinuumStoreException


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.