Interface PreProcessor<T extends com.flower.docs.domain.common.IdentifiableElement>
-
public interface PreProcessor<T extends com.flower.docs.domain.common.IdentifiableElement>Allows to process aIdentifiableElementbefore an action- Author:
- Christopher Laszczuk
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidprocessDelete(java.util.List<T> elements)voidprocessGet(java.util.List<T> elements)voidprocessStore(java.util.List<T> elements)voidprocessUpdate(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.FunctionalExceptioncom.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.TechnicalExceptioncom.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.TechnicalExceptioncom.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.TechnicalExceptioncom.flower.docs.domain.exception.FunctionalException
-
-