jhomenet.server.dao.txt
Class ResponseDaoTxt

java.lang.Object
  extended by jhomenet.server.dao.txt.ResponseDaoTxt
All Implemented Interfaces:
GenericDao<Response,java.lang.Long>, ResponseDao

public class ResponseDaoTxt
extends java.lang.Object
implements ResponseDao

TODO: Class description.

Id: $Id: $

Author:
Dave Irwin (jhomenet at gmail dot com)

Constructor Summary
ResponseDaoTxt()
           
 
Method Summary
 void clear()
          Affects every managed instance in the current persistence context!
 java.util.List<Response> findAll()
          List of all of the entities.
 java.util.List<Response> findByExample(Response exampleInstance, java.lang.String... excludeProperty)
          Find an entity by example.
 Response 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!
 Response makePersistent(Response entity)
          Make an entity object persistent.
 void makeTransient(Response 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

ResponseDaoTxt

public ResponseDaoTxt()
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<Response,java.lang.Long>
See Also:
GenericDao.clear()

findAll

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

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

findByExample

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

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

findById

public Response 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<Response,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<Response,java.lang.Long>
See Also:
GenericDao.flush()

makePersistent

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

Specified by:
makePersistent in interface GenericDao<Response,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(Response entity)
Description copied from interface: GenericDao
Make a currently persistent entity object transient.

Specified by:
makeTransient in interface GenericDao<Response,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.