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

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

public class UsageSummaryElementDAOImpl
extends GenericHibernateDAO<UsageSummaryElement,Long>
implements UsageSummaryElementDAO


Constructor Summary
UsageSummaryElementDAOImpl()
           
 
Method Summary
 List<UsageSummaryElement> getElements(Long usageSummaryId, long start, long end)
          Get all UsageSummaryElements for a usage summary identified by usageSummaryId in an optional time period bounded by start and end.
 
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

UsageSummaryElementDAOImpl

public UsageSummaryElementDAOImpl()
Method Detail

getElements

public List<UsageSummaryElement> getElements(Long usageSummaryId,
                                             long start,
                                             long end)
Description copied from interface: UsageSummaryElementDAO
Get all UsageSummaryElements for a usage summary identified by usageSummaryId in an optional time period bounded by start and end. If the time period is specified, it is inclusive of elements that hit the upper or lower bound by time instant.

Specified by:
getElements in interface UsageSummaryElementDAO
Parameters:
usageSummaryId - the entity Id of the parent UsageSummary
start - the time instant to start from or -1
end - the time instant to end at from or -1
Returns:
list of elements


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