Class CustomMenuDAO
java.lang.Object
fr.paris.lutece.plugins.menus.business.CustomMenuDAO
- All Implemented Interfaces:
ICustomMenuDAO
This class provides Data Access methods for CustomMenu objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncountBookmark(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.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableselectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the customMenu objects and returns them as a collectionselectIdMenusList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the customMenu idss and returns them as a collectionselectMenusListByFilterCriteria(fr.paris.lutece.portal.service.plugin.Plugin plugin, String strFilterCriteria) Load the data of all the customMenu according to filter Criteria and returns them as a collectionselectMenusListByIds(fr.paris.lutece.portal.service.plugin.Plugin plugin, List<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
-
Constructor Details
-
CustomMenuDAO
public CustomMenuDAO()
-
-
Method Details
-
load
Load the data from the table- Specified by:
loadin interfaceICustomMenuDAO- Parameters:
nKey- The identifier of the customMenuplugin- the Plugin- Returns:
- The instance of the customMenu
-
delete
public void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Specified by:
deletein interfaceICustomMenuDAO- Parameters:
nKey- The identifier of the CustomMenu to deleteplugin- the Plugin
-
selectAll
Load the data of all the customMenu objects and returns them as a collection- Specified by:
selectAllin interfaceICustomMenuDAO- Parameters:
plugin- the Plugin- Returns:
- The collection which contains the data of all the customMenu objects
-
selectMenusListByIds
public List<CustomMenu> selectMenusListByIds(fr.paris.lutece.portal.service.plugin.Plugin plugin, List<Integer> listIds) Load the data of all the customMenu according to a list of customMenu Ids and returns them as a collection- Specified by:
selectMenusListByIdsin interfaceICustomMenuDAOlistIds- the Ids list- Returns:
- The collection which contains the data of all the customMenu objects
-
selectIdMenusList
Load the data of all the customMenu idss and returns them as a collection- Specified by:
selectIdMenusListin interfaceICustomMenuDAO- Returns:
- The collection which contains the data of all the customMenu objects
-
selectMenusListByFilterCriteria
public List<CustomMenu> selectMenusListByFilterCriteria(fr.paris.lutece.portal.service.plugin.Plugin plugin, String strFilterCriteria) Description copied from interface:ICustomMenuDAOLoad the data of all the customMenu according to filter Criteria and returns them as a collection- Specified by:
selectMenusListByFilterCriteriain interfaceICustomMenuDAOstrFilterCriteria- the filter Criteria- Returns:
- The collection which contains the data of all the customMenu objects