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

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

public class SlaDAOImpl
extends GenericHibernateDAO<SLA,Long>
implements SlaDAO


Constructor Summary
SlaDAOImpl()
           
 
Method Summary
 SLA findByResourceId(String resourceId)
          Find a SLA by its resourceID.
 
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

SlaDAOImpl

public SlaDAOImpl()
Method Detail

findByResourceId

public SLA findByResourceId(String resourceId)
Description copied from interface: SlaDAO
Find a SLA by its resourceID.

resourceID is a UUID that is created when the SLA is first created, before it is first stored in the database.

Specified by:
findByResourceId in interface SlaDAO
Parameters:
resourceId - UUID for the SLA
Returns:
the SLA or null if there is not a match in the database


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