+++ /dev/null
-package fr.mbdx.service;
-
-import org.activiti.engine.delegate.DelegateExecution;
-
-
-/**
- * Service pour la notification d'un délais supplémentaire.
- *
- */
-public abstract class PermisDeConstruireService extends ServiceSpecifique {
-
- protected String numeroPC;
- protected String secteur;
- protected String nomPC;
-
- @Override
- protected void internalExecution(DelegateExecution execution) {
- log.info("execution de l'action "+getName()+" pour le permis ["+numeroPC+"]");
- }
-
-
- @Override
- protected void extractParams(DelegateExecution execution) {
- numeroPC = (String) execution.getVariableLocal("numeroPC");
- secteur = (String) execution.getVariableLocal("secteur");
- nomPC = (String) execution.getVariableLocal("nomPC");
-
- }
-
- @Override
- protected void setVariables(DelegateExecution execution) {
- execution.setVariable("result", "OK");
-
- }
-
- /**
- * Nom de l'action
- * @return
- */
- protected abstract String getName();
-}