Interface StoredSearchDAO

  • All Superinterfaces:
    GenericDAO<com.flower.docs.domain.search.StoredSearch>

    public interface StoredSearchDAO
    extends GenericDAO<com.flower.docs.domain.search.StoredSearch>
    Data Access Object allowing to manage persistence and access to StoredSearch domain objects
    Author:
    Christopher Laszczuk
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<com.flower.docs.domain.search.StoredSearch> getByIdentity​(com.flower.docs.domain.security.Identity identity)  
      java.util.List<com.flower.docs.domain.search.StoredSearch> getByOwner​(java.lang.String owner)
      Gets all stored searches by their owner
    • Method Detail

      • getByOwner

        java.util.List<com.flower.docs.domain.search.StoredSearch> getByOwner​(java.lang.String owner)
                                                                       throws com.flower.docs.domain.exception.TechnicalException
        Gets all stored searches by their owner
        Parameters:
        owner - The owner of searches
        Returns:
        The own stored searches
        Throws:
        com.flower.docs.domain.exception.TechnicalException - If a technical error occurs
        See Also:
        StoredSearch.getData()
      • getByIdentity

        java.util.List<com.flower.docs.domain.search.StoredSearch> getByIdentity​(com.flower.docs.domain.security.Identity identity)
                                                                          throws com.flower.docs.domain.exception.TechnicalException
        Throws:
        com.flower.docs.domain.exception.TechnicalException