1 package org.infoglue.cms.util.workflow.hibernate; 2 3 import net.sf.hibernate.HibernateException; 4 import net.sf.hibernate.Session; 5 6 import com.opensymphony.module.propertyset.hibernate.HibernatePropertySetDAOUtils; 7 import com.opensymphony.module.propertyset.hibernate.PropertySetItem; 8 9 10 13 public class InfoglueHibernatePropertySetDAOUtils extends HibernatePropertySetDAOUtils { 14 17 public static PropertySetItem getItem(Session session, String entityName, Long entityId, String key) throws HibernateException { 18 return (PropertySetItem) session.load(InfogluePropertySetItemImpl.class, new InfogluePropertySetItemImpl(entityName, entityId.longValue(), key)); 19 } 20 } 21 | Popular Tags |