uk.ac.soton.itinnovation.grid.service.sla.dao.hibernate
Class ResourceWithUsageByMetricDAOImpl
java.lang.Object
uk.ac.soton.itinnovation.grid.service.sla.dao.GenericHibernateDAO<ResourceWithUsageByMetric,Long>
uk.ac.soton.itinnovation.grid.service.sla.dao.hibernate.ResourceWithUsageByMetricDAOImpl
- All Implemented Interfaces:
- GenericDAO<ResourceWithUsageByMetric,Long>, ResourceWithUsageByMetricDAO
public class ResourceWithUsageByMetricDAOImpl
- extends GenericHibernateDAO<ResourceWithUsageByMetric,Long>
- implements ResourceWithUsageByMetricDAO
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceWithUsageByMetricDAOImpl
public ResourceWithUsageByMetricDAOImpl()
findByResourceId
public ResourceWithUsageByMetric findByResourceId(String resourceId)
- Specified by:
findByResourceId in interface ResourceWithUsageByMetricDAO
findByResourceId
public ResourceWithUsageByMetric findByResourceId(String resourceId,
boolean lock)
- Description copied from interface:
ResourceWithUsageByMetricDAO
- If the value of the
lock parameter is true,
you MUST later unlock the entity by calling unlock.
- Specified by:
findByResourceId in interface ResourceWithUsageByMetricDAO
- Parameters:
resourceId - the resource ID for the entitylock - whether or not to obtain a pessimistic lock
- Returns:
- the entity or
null if it does not exist - See Also:
GenericDAO#unlock
Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.