Class FeedbackTypeService

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String BEAN_SERVICE
      The Constant BEAN_SERVICE.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      FeedbackType create​(FeedbackType feedbackType)
      Create an instance of the feedbackType class
      java.util.Optional<FeedbackType> findByOrder​(int nOrder)
      Returns an instance of a feedbackType by order
      java.util.Optional<FeedbackType> findByPrimaryKey​(int nKey)
      Returns an instance of a feedbackType whose identifier is specified in parameter
      java.util.List<FeedbackType> getFeedbackTypesList()
      Load the data of all the feedbackType objects and returns them in form of a list
      fr.paris.lutece.util.ReferenceList getReferenceFeedbackTypesList()
      Return reference list
      void remove​(int nFeedbackTypeId)
      Remove the feedbackType whose identifier is specified in parameter
      void update​(FeedbackType feedbackType)
      Update of the feedbackType which is specified in parameter
      • Methods inherited from class java.lang.Object

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

      • BEAN_SERVICE

        public static final java.lang.String BEAN_SERVICE
        The Constant BEAN_SERVICE.
        See Also:
        Constant Field Values
    • Constructor Detail

      • FeedbackTypeService

        public FeedbackTypeService()
    • Method Detail

      • create

        public FeedbackType create​(FeedbackType feedbackType)
        Description copied from interface: IFeedbackTypeService
        Create an instance of the feedbackType class
        Specified by:
        create in interface IFeedbackTypeService
        Parameters:
        feedbackType - The instance of the FeedbackType which contains the informations to store
        Returns:
        The instance of feedbackType which has been created with its primary key.
      • update

        public void update​(FeedbackType feedbackType)
        Description copied from interface: IFeedbackTypeService
        Update of the feedbackType which is specified in parameter
        Specified by:
        update in interface IFeedbackTypeService
        Parameters:
        feedbackType - The instance of the FeedbackType which contains the data to store
      • remove

        public void remove​(int nFeedbackTypeId)
        Description copied from interface: IFeedbackTypeService
        Remove the feedbackType whose identifier is specified in parameter
        Specified by:
        remove in interface IFeedbackTypeService
        Parameters:
        nFeedbackTypeId - The feedbackType Id
      • findByPrimaryKey

        public java.util.Optional<FeedbackType> findByPrimaryKey​(int nKey)
        Description copied from interface: IFeedbackTypeService
        Returns an instance of a feedbackType whose identifier is specified in parameter
        Specified by:
        findByPrimaryKey in interface IFeedbackTypeService
        Parameters:
        nKey - The feedbackType primary key
        Returns:
        an instance of FeedbackType
      • getFeedbackTypesList

        public java.util.List<FeedbackType> getFeedbackTypesList()
        Description copied from interface: IFeedbackTypeService
        Load the data of all the feedbackType objects and returns them in form of a list
        Specified by:
        getFeedbackTypesList in interface IFeedbackTypeService
        Returns:
        the list which contains the data of all the feedbackType objects
      • findByOrder

        public java.util.Optional<FeedbackType> findByOrder​(int nOrder)
        Description copied from interface: IFeedbackTypeService
        Returns an instance of a feedbackType by order
        Specified by:
        findByOrder in interface IFeedbackTypeService
        Parameters:
        nOrder - The feedbackType nOrder
        Returns:
        an instance of FeedbackType