Interface PreProcessor<T extends com.flower.docs.domain.common.IdentifiableElement>
-
public interface PreProcessor<T extends com.flower.docs.domain.common.IdentifiableElement>
Allows to process aIdentifiableElement
before an action- Author:
- Christopher Laszczuk
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
processDelete(java.util.List<T> elements)
void
processGet(java.util.List<T> elements)
void
processStore(java.util.List<T> elements)
void
processUpdate(T existingVersion, T updatedVersion)
-
-
-
Method Detail
-
processStore
void processStore(java.util.List<T> elements) throws com.flower.docs.domain.exception.FunctionalException, com.flower.docs.domain.exception.TechnicalException
- Throws:
com.flower.docs.domain.exception.FunctionalException
com.flower.docs.domain.exception.TechnicalException
-
processGet
void processGet(java.util.List<T> elements) throws com.flower.docs.domain.exception.TechnicalException, com.flower.docs.domain.exception.FunctionalException
- Throws:
com.flower.docs.domain.exception.TechnicalException
com.flower.docs.domain.exception.FunctionalException
-
processUpdate
void processUpdate(T existingVersion, T updatedVersion) throws com.flower.docs.domain.exception.TechnicalException, com.flower.docs.domain.exception.FunctionalException
- Throws:
com.flower.docs.domain.exception.TechnicalException
com.flower.docs.domain.exception.FunctionalException
-
processDelete
void processDelete(java.util.List<T> elements) throws com.flower.docs.domain.exception.TechnicalException, com.flower.docs.domain.exception.FunctionalException
- Throws:
com.flower.docs.domain.exception.TechnicalException
com.flower.docs.domain.exception.FunctionalException
-
-