org.restafarian.core.service.impl
Class LookupTableManagerImpl

java.lang.Object
  extended by org.restafarian.core.service.impl.LookupTableManagerImpl
All Implemented Interfaces:
LookupTableManager

public class LookupTableManagerImpl
extends java.lang.Object
implements LookupTableManager

Concrete implementation of the LookupTable manager interface.


Constructor Summary
LookupTableManagerImpl()
           
 
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.
 LookupTableDao getLookupTableDao()
           
 void save(LookupTable LookupTable)
          Saves the LookupTable passed.
 void setLookupTableDao(LookupTableDao dao)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LookupTableManagerImpl

public LookupTableManagerImpl()
Method Detail

findAll

public java.util.List findAll()

Returns all LookupTables in the database.

Specified by:
findAll in interface LookupTableManager
Returns:
all LookupTables in the database

findByExample

public java.util.List findByExample(LookupTable lookupTable)

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

Specified by:
findByExample in interface LookupTableManager
Parameters:
lookupTable - an example LookupTable
Returns:
all LookupTables in the database that match the specified search criteria

findByProperty

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

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

Specified by:
findByProperty in interface LookupTableManager
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

public LookupTable findById(java.lang.String id)

Returns the LookupTable with the specified id.

Specified by:
findById in interface LookupTableManager
Parameters:
id - the id of the requested lookupTable
Returns:
the LookupTable with the specified id

save

public void save(LookupTable LookupTable)

Saves the LookupTable passed.

Specified by:
save in interface LookupTableManager
Parameters:
lookupTable - the lookupTable to save

delete

public void delete(java.lang.String id)

Deletes the LookupTable with the specified id.

Specified by:
delete in interface LookupTableManager
Parameters:
id - the id of the lookupTable to delete

getLookupTableDao

public LookupTableDao getLookupTableDao()

setLookupTableDao

public void setLookupTableDao(LookupTableDao dao)


Copyright © 2008. All Rights Reserved.