org.restafarian.core.service.impl
Class LookupTableEntryManagerImpl

java.lang.Object
  extended by org.restafarian.core.service.impl.LookupTableEntryManagerImpl
All Implemented Interfaces:
LookupTableEntryManager

public class LookupTableEntryManagerImpl
extends java.lang.Object
implements LookupTableEntryManager

Concrete implementation of the LookupTableEntry manager interface.


Constructor Summary
LookupTableEntryManagerImpl()
           
 
Method Summary
 void delete(int id)
          Deletes the LookupTableEntry with the specified id.
 java.util.List findAll()
          Returns all LookupTableEntries in the database.
 java.util.List findByExample(LookupTableEntry lookupTableEntry)
          Returns all LookupTableEntries in the database that match the specified search criteria.
 LookupTableEntry findById(int id)
          Returns the LookupTableEntry with the specified id.
 java.util.List findByProperty(java.lang.String propertyName, java.lang.Object propertyValue)
          Returns all LookupTableEntries in the database that match the specified search criteria.
 LookupTableEntry findByTableIdEntryId(java.lang.String tableId, java.lang.String entryId)
          Returns the LookupTableEntry with the specified table id and entry id.
 LookupTableEntryDao getLookupTableEntryDao()
           
 void save(LookupTableEntry LookupTableEntry)
          Saves the LookupTableEntry passed.
 void setLookupTableEntryDao(LookupTableEntryDao dao)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LookupTableEntryManagerImpl

public LookupTableEntryManagerImpl()
Method Detail

findAll

public java.util.List findAll()

Returns all LookupTableEntries in the database.

Specified by:
findAll in interface LookupTableEntryManager
Returns:
all LookupTableEntries in the database

findByExample

public java.util.List findByExample(LookupTableEntry lookupTableEntry)

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

Specified by:
findByExample in interface LookupTableEntryManager
Parameters:
lookupTableEntry - an example LookupTableEntry
Returns:
all LookupTableEntries 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 LookupTableEntries in the database that match the specified search criteria.

Specified by:
findByProperty in interface LookupTableEntryManager
Parameters:
propertyName - the name of the specified property
propertyValue - the search value for the specified property
Returns:
all LookupTableEntries in the database that match the specified search criteria

findById

public LookupTableEntry findById(int id)

Returns the LookupTableEntry with the specified id.

Specified by:
findById in interface LookupTableEntryManager
Parameters:
id - the id of the requested lookupTableEntry
Returns:
the LookupTableEntry with the specified id

findByTableIdEntryId

public LookupTableEntry findByTableIdEntryId(java.lang.String tableId,
                                             java.lang.String entryId)

Returns the LookupTableEntry with the specified table id and entry id.

Specified by:
findByTableIdEntryId in interface LookupTableEntryManager
Parameters:
id - the id of the requested look-up table
id - the id of the requested entry
Returns:
the requested LookupTableEntry

save

public void save(LookupTableEntry LookupTableEntry)

Saves the LookupTableEntry passed.

Specified by:
save in interface LookupTableEntryManager
Parameters:
lookupTableEntry - the lookupTableEntry to save

delete

public void delete(int id)

Deletes the LookupTableEntry with the specified id.

Specified by:
delete in interface LookupTableEntryManager
Parameters:
id - the id of the lookupTableEntry to delete

getLookupTableEntryDao

public LookupTableEntryDao getLookupTableEntryDao()

setLookupTableEntryDao

public void setLookupTableEntryDao(LookupTableEntryDao dao)


Copyright © 2008. All Rights Reserved.