Class FileStorageTransferErrorHome


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

      • create

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

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

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

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

        public static java.util.List<FileStorageTransferError> getErrorsList()
        Load the data of all the error objects and returns them as a list
        Returns:
        the list which contains the data of all the error objects
      • getIdErrorsList

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

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

        public static java.util.List<FileStorageTransferError> getErrorsListByIds​(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
      • getErrorsListByRequestId

        public static java.util.List<FileStorageTransferError> getErrorsListByRequestId​(int RequestId)
        Load the data of all errors with a specific request id
        Returns:
        the list which contains the data of all errors with a specific request id