Package com.flower.docs.dao.api.search
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 toStoredSearch
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-
Methods inherited from interface com.flower.docs.dao.api.GenericDAO
delete, fetch, store, update
-
-
-
-
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
-
-