Interface ComponentClassDAO<T extends com.flower.docs.domain.componentclass.ComponentClass>
-
- All Superinterfaces:
GenericDAO<T>
public interface ComponentClassDAO<T extends com.flower.docs.domain.componentclass.ComponentClass> extends GenericDAO<T>
Abstract Data Access Object allowing to manage persistence and access toComponentClass
domain objects- Author:
- Christopher Laszczuk
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<T>
fetchAll()
Search all the stored classes according to supplied parametersjava.util.List<T>
getAllVersions(java.util.List<com.flower.docs.domain.common.Id> ids)
void
setActive(java.util.List<com.flower.docs.domain.common.Id> id, boolean activate)
-
Methods inherited from interface com.flower.docs.dao.api.GenericDAO
delete, fetch, store, update
-
-
-
-
Method Detail
-
fetchAll
java.util.List<T> fetchAll() throws com.flower.docs.domain.exception.TechnicalException
Search all the stored classes according to supplied parameters- Parameters:
scope
- The business scopecategory
- TheCategory
referenced by classesisActiveOnly
- Determines if classes must be active or not- Returns:
- the list of found classes
- Throws:
com.flower.docs.domain.exception.TechnicalException
- If a technical error occurs
-
setActive
void setActive(java.util.List<com.flower.docs.domain.common.Id> id, boolean activate) throws com.flower.docs.domain.exception.TechnicalException
- Throws:
com.flower.docs.domain.exception.TechnicalException
-
getAllVersions
java.util.List<T> getAllVersions(java.util.List<com.flower.docs.domain.common.Id> ids) throws com.flower.docs.domain.exception.TechnicalException
- Throws:
com.flower.docs.domain.exception.TechnicalException
-
-