Class EntryTypeDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.genericattributes.business.EntryTypeDAO
-
- All Implemented Interfaces:
IEntryTypeDAO
public class EntryTypeDAO extends java.lang.Object implements IEntryTypeDAO
class EntryTypeDAO
-
-
Constructor Summary
Constructors Constructor Description EntryTypeDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntryTypeload(int idKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of the entry type from the tablejava.util.List<EntryType>select(java.lang.String strPlugin, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all entry type associated with a given plugin and returns them in a listjava.util.List<EntryType>selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all entry type and returns them in a listvoidstore(EntryType entryType, fr.paris.lutece.portal.service.plugin.Plugin plugin)Updates the EntryType
-
-
-
Method Detail
-
load
public EntryType load(int idKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the entry type from the table- Specified by:
loadin interfaceIEntryTypeDAO- Parameters:
idKey- The identifier of the entry typeplugin- the plugin- Returns:
- the instance of the EntryType
-
selectAll
public java.util.List<EntryType> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface:IEntryTypeDAOLoad the data of all entry type and returns them in a list- Specified by:
selectAllin interfaceIEntryTypeDAO- Parameters:
plugin- the plugin- Returns:
- the list of entry type associated with the plugin
-
select
public java.util.List<EntryType> select(java.lang.String strPlugin, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all entry type associated with a given plugin and returns them in a list- Specified by:
selectin interfaceIEntryTypeDAO- Parameters:
strPlugin- The name of plugin to get entry types ofplugin- the plugin- Returns:
- the list of entry type associated with the plugin
-
store
public void store(EntryType entryType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface:IEntryTypeDAOUpdates the EntryType- Specified by:
storein interfaceIEntryTypeDAO
-
-