Class CustomMenuHome
java.lang.Object
fr.paris.lutece.plugins.menus.business.CustomMenuHome
This class provides instances management methods (create, find, ...) for
CustomMenu objects
-
Method Summary
Modifier and TypeMethodDescriptionstatic CustomMenucreate(CustomMenu customMenu) Create an instance of the customMenu classstatic List<CustomMenu>findAllWithCriteria(String strFilterCriteria) Load a filtered list of customMenu objects and returns them as a liststatic CustomMenufindByPrimaryKey(int nKey) Returns an instance of a customMenu whose identifier is specified in parameterstatic List<CustomMenu>Load the data of all the customMenu objects and returns them in form of a collectionLoad the id of all the customMenu objects and returns them as a liststatic List<CustomMenu>getMenusListByIds(List<Integer> listIds) Load the id of all the customMenu objects containing in listIds and returns them as a liststatic BooleanisUniqueBookmark(CustomMenu customMenu, Boolean bIsCreation) Return if bookmark is unique or notstatic voidremove(int nKey) Remove the customMenu whose identifier is specified in parameterstatic CustomMenuupdate(CustomMenu customMenu) Update of the customMenu which is specified in parameter
-
Method Details
-
remove
public static void remove(int nKey) Remove the customMenu whose identifier is specified in parameter- Parameters:
nKey- The customMenu Id
-
findByPrimaryKey
Returns an instance of a customMenu whose identifier is specified in parameter- Parameters:
nKey- The customMenu primary key- Returns:
- an instance of CustomMenu
-
getCustomMenusList
Load the data of all the customMenu objects and returns them in form of a collection- Returns:
- the collection which contains the data of all the customMenu objects
-
getIdMenusList
Load the id of all the customMenu objects and returns them as a list- Returns:
- the list which contains the id of all the customMenu objects
-
getMenusListByIds
Load the id of all the customMenu objects containing in listIds and returns them as a list- Parameters:
nKey- The customMenu primary key- Returns:
- the list which contains the id of all the customMenu objects
-
findAllWithCriteria
Load a filtered list of customMenu objects and returns them as a list- Parameters:
strFilterCriteria- Filter criteria- Returns:
- the filtered list of customMenu objects