org.apache.continuum.dao
Class InstallationDaoImpl

java.lang.Object
  extended by org.apache.continuum.dao.AbstractDao
      extended by org.apache.continuum.dao.InstallationDaoImpl
All Implemented Interfaces:
InstallationDao

@Repository(value="installationDao")
public class InstallationDaoImpl
extends AbstractDao
implements InstallationDao

Version:
$Id: InstallationDaoImpl.java 1372260 2012-08-13 04:29:09Z brett $
Author:
Emmanuel Venisse

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
InstallationDaoImpl()
           
 
Method Summary
 Installation addInstallation(Installation installation)
           
 List<Installation> getAllInstallations()
           
 Installation getInstallation(int installationId)
           
 Installation getInstallation(String installationName)
           
 void removeInstallation(Installation installation)
           
 void updateInstallation(Installation installation)
           
 
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

InstallationDaoImpl

public InstallationDaoImpl()
Method Detail

addInstallation

public Installation addInstallation(Installation installation)
Specified by:
addInstallation in interface InstallationDao

getAllInstallations

public List<Installation> getAllInstallations()
Specified by:
getAllInstallations in interface InstallationDao

removeInstallation

public void removeInstallation(Installation installation)
                        throws ContinuumStoreException
Specified by:
removeInstallation in interface InstallationDao
Throws:
ContinuumStoreException

updateInstallation

public void updateInstallation(Installation installation)
                        throws ContinuumStoreException
Specified by:
updateInstallation in interface InstallationDao
Throws:
ContinuumStoreException

getInstallation

public Installation getInstallation(int installationId)
                             throws ContinuumStoreException
Specified by:
getInstallation in interface InstallationDao
Throws:
ContinuumStoreException

getInstallation

public Installation getInstallation(String installationName)
                             throws ContinuumStoreException
Specified by:
getInstallation in interface InstallationDao
Throws:
ContinuumStoreException


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