uk.ac.soton.itinnovation.grid.service.sla.dao.hibernate
Class ResourcePoolDAOImpl

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.service.sla.dao.GenericHibernateDAO<ResourcePool,Long>
      extended by uk.ac.soton.itinnovation.grid.service.sla.dao.hibernate.ResourcePoolDAOImpl
All Implemented Interfaces:
GenericDAO<ResourcePool,Long>, ResourcePoolDAO

public class ResourcePoolDAOImpl
extends GenericHibernateDAO<ResourcePool,Long>
implements ResourcePoolDAO


Constructor Summary
ResourcePoolDAOImpl()
           
 
Method Summary
 ResourcePool findByResourceId(String resourceId)
           
 ResourcePool findSingleton()
           
 
Methods inherited from class uk.ac.soton.itinnovation.grid.service.sla.dao.GenericHibernateDAO
delete, findAll, findByCriteria, findById, findById, getPersistentClass, saveOrUpdate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.service.sla.dao.GenericDAO
delete, findAll, findById, findById, saveOrUpdate
 

Constructor Detail

ResourcePoolDAOImpl

public ResourcePoolDAOImpl()
Method Detail

findByResourceId

public ResourcePool findByResourceId(String resourceId)
Specified by:
findByResourceId in interface ResourcePoolDAO

findSingleton

public ResourcePool findSingleton()
Specified by:
findSingleton in interface ResourcePoolDAO
Returns:
the ResourcePool if there is exactly one or null if there is no ResourcePool
Throws:
GridErrorException - if there are multiple ResourcePools


Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.