Interface ICustomMenuDAO
-
- All Known Implementing Classes:
CustomMenuDAO
public interface ICustomMenuDAOICustomMenuDAO Interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.IntegercountBookmark(fr.paris.lutece.portal.service.plugin.Plugin plugin, CustomMenu customMenu)Return if bookmark is unique or notvoiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablevoidinsert(CustomMenu customMenu, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.CustomMenuload(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablejava.util.List<CustomMenu>selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the customMenu objects and returns them as a collectionjava.util.List<java.lang.Integer>selectIdMenusList(fr.paris.lutece.portal.service.plugin.Plugin _plugin)Load the data of all the customMenu idss and returns them as a collectionjava.util.List<CustomMenu>selectMenusListByFilterCriteria(fr.paris.lutece.portal.service.plugin.Plugin _plugin, java.lang.String filterCriteria)Load the data of all the customMenu according to filter Criteria and returns them as a collectionjava.util.List<CustomMenu>selectMenusListByIds(fr.paris.lutece.portal.service.plugin.Plugin _plugin, java.util.List<java.lang.Integer> listIds)Load the data of all the customMenu according to a list of customMenu Ids and returns them as a collectionvoidstore(CustomMenu customMenu, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
insert
void insert(CustomMenu customMenu, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.- Parameters:
customMenu- instance of the CustomMenu object to insertplugin- the Plugin
-
store
void store(CustomMenu customMenu, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table- Parameters:
customMenu- the reference of the CustomMenuplugin- the Plugin
-
delete
void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table- Parameters:
nKey- The identifier of the CustomMenu to deleteplugin- the Plugin
-
load
CustomMenu load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Parameters:
nKey- The identifier of the customMenuplugin- the Plugin- Returns:
- The instance of the customMenu
-
selectAll
java.util.List<CustomMenu> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the customMenu objects and returns them as a collection- Parameters:
plugin- the Plugin- Returns:
- The collection which contains the data of all the customMenu objects
-
selectMenusListByIds
java.util.List<CustomMenu> selectMenusListByIds(fr.paris.lutece.portal.service.plugin.Plugin _plugin, java.util.List<java.lang.Integer> listIds)
Load the data of all the customMenu according to a list of customMenu Ids and returns them as a collection- Parameters:
plugin- the PluginlistIds- the Ids list- Returns:
- The collection which contains the data of all the customMenu objects
-
selectIdMenusList
java.util.List<java.lang.Integer> selectIdMenusList(fr.paris.lutece.portal.service.plugin.Plugin _plugin)
Load the data of all the customMenu idss and returns them as a collection- Parameters:
plugin- the Plugin- Returns:
- The collection which contains the data of all the customMenu objects
-
selectMenusListByFilterCriteria
java.util.List<CustomMenu> selectMenusListByFilterCriteria(fr.paris.lutece.portal.service.plugin.Plugin _plugin, java.lang.String filterCriteria)
Load the data of all the customMenu according to filter Criteria and returns them as a collection- Parameters:
plugin- the PluginfilterCriteria- the filter Criteria- Returns:
- The collection which contains the data of all the customMenu objects
-
countBookmark
java.lang.Integer countBookmark(fr.paris.lutece.portal.service.plugin.Plugin plugin, CustomMenu customMenu)Return if bookmark is unique or not- Parameters:
plugin- the PlugincustomMenu- instance of the CustomMenu object to insert- Returns:
- True if bookmark is unique or false else.
-
-