org.restafarian.core.service
Interface LookupTableEntryManager

All Known Implementing Classes:
LookupTableEntryManagerImpl

public interface LookupTableEntryManager

This is the LookupTableEntry manager interface.


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.
 void save(LookupTableEntry LookupTableEntry)
          Saves the LookupTableEntry passed.
 

Method Detail

findAll

java.util.List findAll()

Returns all LookupTableEntries in the database.

Returns:
all LookupTableEntries in the database

findByExample

java.util.List findByExample(LookupTableEntry lookupTableEntry)

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

Parameters:
lookupTableEntry - an example LookupTableEntry
Returns:
all LookupTableEntries in the database that match the specified search criteria

findByProperty

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

Returns all LookupTableEntries 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 LookupTableEntries in the database that match the specified search criteria

findById

LookupTableEntry findById(int id)

Returns the LookupTableEntry with the specified id.

Parameters:
id - the id of the requested lookupTableEntry
Returns:
the LookupTableEntry with the specified id

findByTableIdEntryId

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

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

Parameters:
id - the id of the requested look-up table
id - the id of the requested entry
Returns:
the requested LookupTableEntry

save

void save(LookupTableEntry LookupTableEntry)

Saves the LookupTableEntry passed.

Parameters:
lookupTableEntry - the lookupTableEntry to save

delete

void delete(int id)

Deletes the LookupTableEntry with the specified id.

Parameters:
id - the id of the lookupTableEntry to delete


Copyright © 2008. All Rights Reserved.