Interface LoginHistoryDAO


  • public interface LoginHistoryDAO
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void delete​(long start, long end)  
      java.util.List<com.flower.docs.domain.report.LoginHistory> findByProfile​(com.flower.docs.domain.common.Id profile, long start, long end)  
      java.util.List<com.flower.docs.domain.report.LoginHistory> findByUser​(com.flower.docs.domain.common.Id user, long start, long end)  
      void store​(com.flower.docs.domain.report.LoginHistory loginHistory)  
    • Method Detail

      • store

        void store​(com.flower.docs.domain.report.LoginHistory loginHistory)
            throws com.flower.docs.domain.exception.TechnicalException
        Parameters:
        loginHistory - The user informations to save
        Throws:
        com.flower.docs.domain.exception.TechnicalException - If a technical error occurs
      • findByProfile

        java.util.List<com.flower.docs.domain.report.LoginHistory> findByProfile​(com.flower.docs.domain.common.Id profile,
                                                                                 long start,
                                                                                 long end)
                                                                          throws com.flower.docs.domain.exception.TechnicalException
        Parameters:
        profile - The profile history to find
        start - The start timestamp
        end - The end timestamp
        Returns:
        All login for the supplied profile
        Throws:
        com.flower.docs.domain.exception.TechnicalException - If a technical error occurs
      • findByUser

        java.util.List<com.flower.docs.domain.report.LoginHistory> findByUser​(com.flower.docs.domain.common.Id user,
                                                                              long start,
                                                                              long end)
                                                                       throws com.flower.docs.domain.exception.TechnicalException
        Parameters:
        user - The user history to find
        start - The start timestamp
        end - The end timestamp
        Returns:
        All login for the supplied user
        Throws:
        com.flower.docs.domain.exception.TechnicalException - If a technical error occurs
      • delete

        void delete​(long start,
                    long end)
             throws com.flower.docs.domain.exception.TechnicalException
        Parameters:
        start - The start timestamp
        end - The end timestamp
        Throws:
        com.flower.docs.domain.exception.TechnicalException - If a technical error occurs