org.hyperic.hq.common.server.session
Class ConfigPropertyDAO
java.lang.Object
org.hyperic.hq.dao.HibernateDAO
org.hyperic.hq.common.server.session.ConfigPropertyDAO
public class ConfigPropertyDAO
- 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 |
ConfigPropertyDAO
public ConfigPropertyDAO(DAOFactory f)
findById
public ConfigProperty findById(java.lang.Integer id)
save
public void save(ConfigProperty 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
remove
public void remove(ConfigProperty entity)
create
public ConfigProperty create(java.lang.String prefix,
java.lang.String key,
java.lang.String val,
java.lang.String def)
findByPrefix
public java.util.Collection findByPrefix(java.lang.String s)
Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.