com.opensymphony.module.propertyset.hibernate
Class HibernatePropertySetDAOImpl
java.lang.Object
com.opensymphony.module.propertyset.hibernate.HibernatePropertySetDAOImpl
- All Implemented Interfaces:
- HibernatePropertySetDAO
- public class HibernatePropertySetDAOImpl
- extends java.lang.Object
- implements HibernatePropertySetDAO
DOCUMENT ME!
- Version:
- $Revision: 1.5 $
- Author:
- $author$
|
Method Summary |
PropertySetItem |
create(java.lang.String entityName,
long entityId,
java.lang.String key)
|
PropertySetItem |
findByKey(java.lang.String entityName,
java.lang.Long entityId,
java.lang.String key)
|
java.util.Collection |
getKeys(java.lang.String entityName,
java.lang.Long entityId,
java.lang.String prefix,
int type)
|
void |
remove(java.lang.String entityName,
java.lang.Long entityId)
|
void |
remove(java.lang.String entityName,
java.lang.Long entityId,
java.lang.String key)
|
void |
setImpl(PropertySetItem item,
boolean isUpdate)
Save the implementation of a PropertySetItem. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernatePropertySetDAOImpl
public HibernatePropertySetDAOImpl(net.sf.hibernate.SessionFactory sessionFactory)
setImpl
public void setImpl(PropertySetItem item,
boolean isUpdate)
- Description copied from interface:
HibernatePropertySetDAO
- Save the implementation of a PropertySetItem.
- Specified by:
setImpl in interface HibernatePropertySetDAO
- Parameters:
item - isUpdate - Boolean indicating whether or not this item already exists
getKeys
public java.util.Collection getKeys(java.lang.String entityName,
java.lang.Long entityId,
java.lang.String prefix,
int type)
- Specified by:
getKeys in interface HibernatePropertySetDAO
create
public PropertySetItem create(java.lang.String entityName,
long entityId,
java.lang.String key)
- Specified by:
create in interface HibernatePropertySetDAO
findByKey
public PropertySetItem findByKey(java.lang.String entityName,
java.lang.Long entityId,
java.lang.String key)
- Specified by:
findByKey in interface HibernatePropertySetDAO
remove
public void remove(java.lang.String entityName,
java.lang.Long entityId)
- Specified by:
remove in interface HibernatePropertySetDAO
remove
public void remove(java.lang.String entityName,
java.lang.Long entityId,
java.lang.String key)
- Specified by:
remove in interface HibernatePropertySetDAO
|