jhomenet.server.dao.xml
Class ConditionDaoXml

java.lang.Object
  extended by jhomenet.server.dao.xml.ConditionDaoXml
All Implemented Interfaces:
ConditionDao, GenericDao<Condition,java.lang.Long>

public class ConditionDaoXml
extends java.lang.Object
implements ConditionDao

TODO: Class description.

Id: $Id: $

Author:
Dave Irwin (jhomenet at gmail dot com)

Constructor Summary
ConditionDaoXml()
           
 
Method Summary
 void clear()
          Affects every managed instance in the current persistence context!
 java.util.List<Condition> findAll()
          List of all of the entities.
 java.util.List<Condition> findByExample(Condition exampleInstance, java.lang.String... excludeProperty)
          Find an entity by example.
 Condition findById(java.lang.Long id, boolean lock)
          Find an entity object given the entity's ID.
 void flush()
          Affects every managed instance in the current persistence context!
 Condition makePersistent(Condition entity)
          Make an entity object persistent.
 void makeTransient(Condition entity)
          Make a currently persistent entity object transient.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConditionDaoXml

public ConditionDaoXml()
Method Detail

clear

public void clear()
Description copied from interface: GenericDao
Affects every managed instance in the current persistence context!

Specified by:
clear in interface GenericDao<Condition,java.lang.Long>
See Also:
GenericDao.clear()

findAll

public java.util.List<Condition> findAll()
Description copied from interface: GenericDao
List of all of the entities.

Specified by:
findAll in interface GenericDao<Condition,java.lang.Long>
Returns:
A list of the entities.
See Also:
GenericDao.findAll()

findByExample

public java.util.List<Condition> findByExample(Condition exampleInstance,
                                               java.lang.String... excludeProperty)
Description copied from interface: GenericDao
Find an entity by example.

Specified by:
findByExample in interface GenericDao<Condition,java.lang.Long>
Returns:
See Also:
GenericDao.findByExample(java.lang.Object, java.lang.String[])

findById

public Condition findById(java.lang.Long id,
                          boolean lock)
Description copied from interface: GenericDao
Find an entity object given the entity's ID.

Specified by:
findById in interface GenericDao<Condition,java.lang.Long>
Returns:
See Also:
GenericDao.findById(java.io.Serializable, boolean)

flush

public void flush()
Description copied from interface: GenericDao
Affects every managed instance in the current persistence context!

Specified by:
flush in interface GenericDao<Condition,java.lang.Long>
See Also:
GenericDao.flush()

makePersistent

public Condition makePersistent(Condition entity)
Description copied from interface: GenericDao
Make an entity object persistent.

Specified by:
makePersistent in interface GenericDao<Condition,java.lang.Long>
Parameters:
entity - The entity object to persist
Returns:
A reference to the persisted entity object
See Also:
GenericDao.makePersistent(java.lang.Object)

makeTransient

public void makeTransient(Condition entity)
Description copied from interface: GenericDao
Make a currently persistent entity object transient.

Specified by:
makeTransient in interface GenericDao<Condition,java.lang.Long>
Parameters:
entity - The entity object to make persistent
See Also:
GenericDao.makeTransient(java.lang.Object)


Copyright © 2004-2007 David Irwin. All Rights Reserved.