Class TemporaryCodeConfigHome


  • public final class TemporaryCodeConfigHome
    extends java.lang.Object
    This class provides instances management methods (create, find, ...) for TemporaryCodeConfig objects
    • Method Detail

      • create

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

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

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

        public static void clearDefaultFlag()
        Clear all default flag
      • findByPrimaryKey

        public static java.util.Optional<TemporaryCodeConfig> findByPrimaryKey​(int nKey)
        Returns an instance of a temporaryCodeConfig whose identifier is specified in parameter
        Parameters:
        nKey - The temporaryCodeConfig primary key
        Returns:
        an instance of TemporaryCodeConfig
      • findDefaultConfig

        public static java.util.Optional<TemporaryCodeConfig> findDefaultConfig()
        Returns an instance of a default temporaryCode config
        Returns:
        The instance of default temporary code config
      • getTemporaryCodeConfigsList

        public static java.util.List<TemporaryCodeConfig> getTemporaryCodeConfigsList()
        Load the data of all the temporaryCodeConfig objects and returns them as a list
        Returns:
        the list which contains the data of all the temporaryCodeConfig objects
      • getIdTemporaryCodeConfigsList

        public static java.util.List<java.lang.Integer> getIdTemporaryCodeConfigsList()
        Load the id of all the temporaryCodeConfig objects and returns them as a list
        Returns:
        the list which contains the id of all the temporaryCodeConfig objects
      • getTemporaryCodeConfigsReferenceList

        public static fr.paris.lutece.util.ReferenceList getTemporaryCodeConfigsReferenceList()
        Load the data of all the temporaryCodeConfig objects and returns them as a referenceList
        Returns:
        the referenceList which contains the data of all the temporaryCodeConfig objects
      • getTemporaryCodeConfigsListByIds

        public static java.util.List<TemporaryCodeConfig> getTemporaryCodeConfigsListByIds​(java.util.List<java.lang.Integer> listIds)
        Load the data of all the avant objects and returns them as a list
        Parameters:
        listIds - liste of ids
        Returns:
        the list which contains the data of all the avant objects