Interface PreProcessor<T extends com.flower.docs.domain.common.IdentifiableElement>


  • public interface PreProcessor<T extends com.flower.docs.domain.common.IdentifiableElement>
    Allows to process a IdentifiableElement before an action
    Author:
    Christopher Laszczuk
    • 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