java.lang.Object
org.enableit.db.daf.ejb.EntityEjbDaf
- All Implemented Interfaces:
- org.enableit.db.daf.DataAbstractionFacade
- public class EntityEjbDaf
- extends java.lang.Object
- implements org.enableit.db.daf.DataAbstractionFacade
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static org.apache.log4j.Category logger
- The Log4J
Category doing the logging.
EntityEjbDaf
public EntityEjbDaf(org.enableit.db.daf.conf.ProviderDetails pd)
create
public java.lang.Object create(java.lang.Object bean)
throws org.enableit.db.daf.NotPersistedException
- Specified by:
create in interface org.enableit.db.daf.DataAbstractionFacade
modify
public java.lang.Object modify(java.lang.Object bean)
throws org.enableit.db.daf.NotPersistedException
- Specified by:
modify in interface org.enableit.db.daf.DataAbstractionFacade
remove
public java.lang.Object remove(java.lang.Object bean)
throws org.enableit.db.daf.NotPersistedException
- Specified by:
remove in interface org.enableit.db.daf.DataAbstractionFacade
load
public java.lang.Object load(java.lang.Object key)
throws org.enableit.db.daf.QueryException
- Specified by:
load in interface org.enableit.db.daf.DataAbstractionFacade
exists
public boolean exists(java.lang.Object bean)
throws org.enableit.db.daf.QueryException
- Test if the bean exists in the configured data store.
If the bean implements org.enableit.db.daf.ComparableBean
then the Persistent datastore will be queried for an entry that matches
just those properties defined by the getEqualityPropertyList.
Otherwise every accessible property will be used in the query.
- Specified by:
exists in interface org.enableit.db.daf.DataAbstractionFacade