org.hyperic.hq.authz.server.session
Class ResourceTypeDAO
java.lang.Object
org.hyperic.hq.dao.HibernateDAO
org.hyperic.hq.authz.server.session.ResourceTypeDAO
public class ResourceTypeDAO
- extends HibernateDAO
Methods inherited from class org.hyperic.hq.dao.HibernateDAO |
createCriteria, createQuery, findAll, findAllOrderByName, findById, findById, flushSession, get, getFactory, getPagedResult, getPagedResult, getPermissionManager, getPersistentClass, getSession, remove, save, size, size |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceTypeDAO
public ResourceTypeDAO(DAOFactory f)
findById
public ResourceType findById(java.lang.Integer id)
save
public void save(ResourceType entity)
remove
public void remove(AuthzSubject whoami,
ResourceType entity)
cacheFindAll
protected boolean cacheFindAll()
- Description copied from class:
HibernateDAO
- This method is intended for sub-classes to specify whether or not
their 'find-all' finder should be automatically added to the query-cache.
The findAll query will use the persistent class specified in the
constructor, and use the following cache region:
com.my.Persistent.findAll
- Overrides:
cacheFindAll
in class HibernateDAO
- Returns:
- true to indicate that the finder should be cached
findByName
public ResourceType findByName(java.lang.String name)
Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.