Interface ICustomMenuItemDAO
-
- All Known Implementing Classes:
CustomMenuItemDAO
public interface ICustomMenuItemDAOICustomMenuItemDAO Interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablevoiddeleteByMenuId(int nMenuId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete all items of a menuvoiddeleteSubMenuItemBySubMenuId(int nMenuSourceId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete all subMenu item from all menuvoidinsert(CustomMenuItem customMenuItem, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.CustomMenuItemload(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablejava.util.List<CustomMenuItem>selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the customMenuItem objects and returns them as a collectionjava.util.List<java.lang.Integer>selectAllIdsByMenuId(int nMenuId, fr.paris.lutece.portal.service.plugin.Plugin _plugin)Load the data of all the customMenuItem objects for a specific menu and returns their ids as a listjava.util.List<CustomMenuItem>selectByMenuId(int nMenuId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the customMenuItem objects for a specific menu and returns them as a listvoidstore(CustomMenuItem customMenuItem, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
insert
void insert(CustomMenuItem customMenuItem, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.- Parameters:
customMenuItem- instance of the CustomMenuItem object to insertplugin- the Plugin
-
store
void store(CustomMenuItem customMenuItem, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table- Parameters:
customMenuItem- the reference of the CustomMenuItemplugin- 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 CustomMenuItem to deleteplugin- the Plugin
-
deleteByMenuId
void deleteByMenuId(int nMenuId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete all items of a menu- Parameters:
nMenuId- The identifier of the menuplugin- the Plugin
-
deleteSubMenuItemBySubMenuId
void deleteSubMenuItemBySubMenuId(int nMenuSourceId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete all subMenu item from all menu- Parameters:
nMenuId- The identifier of the menu to deleteplugin- the Plugin
-
load
CustomMenuItem load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Parameters:
nKey- The identifier of the customMenuItemplugin- the Plugin- Returns:
- The instance of the customMenuItem
-
selectAll
java.util.List<CustomMenuItem> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the customMenuItem objects and returns them as a collection- Parameters:
plugin- the Plugin- Returns:
- The collection which contains the data of all the customMenuItem objects
-
selectByMenuId
java.util.List<CustomMenuItem> selectByMenuId(int nMenuId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the customMenuItem objects for a specific menu and returns them as a list- Parameters:
nMenuId- The identifier of the menuplugin- the Plugin- Returns:
- The list which contains the data of all the customMenuItem objects for the menu
-
selectAllIdsByMenuId
java.util.List<java.lang.Integer> selectAllIdsByMenuId(int nMenuId, fr.paris.lutece.portal.service.plugin.Plugin _plugin)Load the data of all the customMenuItem objects for a specific menu and returns their ids as a list- Parameters:
nMenuId- The identifier of the menuplugin- the Plugin- Returns:
- The list which contains the id of all the customMenuItem objects for the menu
-
-