magoffin.matt.ma2.dao
Interface ThemeDao

All Superinterfaces:
magoffin.matt.dao.GenericDao<Theme,java.lang.Long>
All Known Implementing Classes:
HibernateThemeDao

public interface ThemeDao
extends magoffin.matt.dao.GenericDao<Theme,java.lang.Long>

DAO for Theme objects.

Version:
$Revision: 43 $ $Date: 2007-10-21 11:10:01 +1300 (Sun, 21 Oct 2007) $
Author:
matt.magoffin

Method Summary
 java.util.List<Theme> findAllThemes()
          Get all available themes.
 Theme getThemeForName(java.lang.String name)
          Get a Theme by its name.
 
Methods inherited from interface magoffin.matt.dao.GenericDao
delete, get, store
 

Method Detail

findAllThemes

java.util.List<Theme> findAllThemes()
Get all available themes.

Returns:
the themes

getThemeForName

Theme getThemeForName(java.lang.String name)
Get a Theme by its name.

Parameters:
name - the name
Returns:
the Theme, or null if not found