org.restafarian.core.dao
Interface LookupTableDao

All Superinterfaces:
Dao
All Known Implementing Classes:
LookupTableDaoHibernate

public interface LookupTableDao
extends Dao

This is the LookupTable data access object interface.


Method Summary
 void delete(java.lang.String id)
          Deletes the LookupTable with the specified id.
 java.util.List findAll()
          Returns all LookupTables in the database.
 java.util.List findByExample(LookupTable lookupTable)
          Returns all LookupTables in the database that match the specified search criteria.
 LookupTable findById(java.lang.String id)
          Returns the LookupTable with the specified id.
 java.util.List findByProperty(java.lang.String propertyName, java.lang.Object propertyValue)
          Returns all LookupTables in the database that match the specified search criteria.
 void save(LookupTable LookupTable)
          Saves the LookupTable passed.
 

Method Detail

findAll

java.util.List findAll()

Returns all LookupTables in the database.

Returns:
all LookupTables in the database

findByExample

java.util.List findByExample(LookupTable lookupTable)

Returns all LookupTables in the database that match the specified search criteria.

Parameters:
lookupTable - an example LookupTable
Returns:
all LookupTables in the database that match the specified search criteria

findByProperty

java.util.List findByProperty(java.lang.String propertyName,
                              java.lang.Object propertyValue)

Returns all LookupTables in the database that match the specified search criteria.

Parameters:
propertyName - the name of the specified property
propertyValue - the search value for the specified property
Returns:
all LookupTables in the database that match the specified search criteria

findById

LookupTable findById(java.lang.String id)

Returns the LookupTable with the specified id.

Parameters:
id - the id of the requested lookupTable
Returns:
the LookupTable with the specified id

save

void save(LookupTable LookupTable)

Saves the LookupTable passed.

Parameters:
lookupTable - the lookupTable to save

delete

void delete(java.lang.String id)

Deletes the LookupTable with the specified id.

Parameters:
id - the id of the lookupTable to delete


Copyright © 2008. All Rights Reserved.