Class CustomMenuHome


  • public final class CustomMenuHome
    extends java.lang.Object
    This class provides instances management methods (create, find, ...) for CustomMenu objects
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static CustomMenu create​(CustomMenu customMenu)
      Create an instance of the customMenu class
      static java.util.List<CustomMenu> findAllWithCriteria​(java.lang.String strFilterCriteria)
      Load a filtered list of customMenu objects and returns them as a list
      static CustomMenu findByPrimaryKey​(int nKey)
      Returns an instance of a customMenu whose identifier is specified in parameter
      static java.util.List<CustomMenu> getCustomMenusList()
      Load the data of all the customMenu objects and returns them in form of a collection
      static java.util.List<java.lang.Integer> getIdMenusList()
      Load the id of all the customMenu objects and returns them as a list
      static java.util.List<CustomMenu> getMenusListByIds​(java.util.List<java.lang.Integer> listIds)
      Load the id of all the customMenu objects containing in listIds and returns them as a list
      static java.lang.Boolean isUniqueBookmark​(CustomMenu customMenu, java.lang.Boolean bIsCreation)
      Return if bookmark is unique or not
      static void remove​(int nKey)
      Remove the customMenu whose identifier is specified in parameter
      static CustomMenu update​(CustomMenu customMenu)
      Update of the customMenu which is specified in parameter
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • create

        public static CustomMenu create​(CustomMenu customMenu)
        Create an instance of the customMenu class
        Parameters:
        customMenu - The instance of the CustomMenu which contains the informations to store
        Returns:
        The instance of customMenu which has been created with its primary key.
      • update

        public static CustomMenu update​(CustomMenu customMenu)
        Update of the customMenu which is specified in parameter
        Parameters:
        customMenu - The instance of the CustomMenu which contains the data to store
        Returns:
        The instance of the customMenu which has been updated
      • remove

        public static void remove​(int nKey)
        Remove the customMenu whose identifier is specified in parameter
        Parameters:
        nKey - The customMenu Id
      • findByPrimaryKey

        public static CustomMenu findByPrimaryKey​(int nKey)
        Returns an instance of a customMenu whose identifier is specified in parameter
        Parameters:
        nKey - The customMenu primary key
        Returns:
        an instance of CustomMenu
      • getCustomMenusList

        public static java.util.List<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

        public static java.util.List<java.lang.Integer> 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

        public static java.util.List<CustomMenu> getMenusListByIds​(java.util.List<java.lang.Integer> listIds)
        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

        public static java.util.List<CustomMenu> findAllWithCriteria​(java.lang.String strFilterCriteria)
        Load a filtered list of customMenu objects and returns them as a list
        Parameters:
        strFilterCriteria - Filter criteria
        Returns:
        the filtered list of customMenu objects
      • isUniqueBookmark

        public static java.lang.Boolean isUniqueBookmark​(CustomMenu customMenu,
                                                         java.lang.Boolean bIsCreation)
        Return if bookmark is unique or not
        Parameters:
        customMenu - instance of the CustomMenu object to insert
        bIsCreation - is creation mode or not
        Returns:
        True if bookmark is unique or false else.