diff --git a/hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java b/hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java index 16c52b4..0492aeb 100644 --- a/hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java +++ b/hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java @@ -61,6 +61,12 @@ public class PacProcessorFactory implements EntityProcessorFactory { @Override public Processor createUpdateProcessor(EntityManager em, T entity) throws ProcessorException { + throw new ProcessorException("pac.update not implemented"); + } + + @Override + public Processor createDeleteProcessor( + EntityManager em, T entity) throws ProcessorException { Pac pac = (Pac) entity; Hive hive = pac.getHive(); UnixUser unixUser = getPacAdminUser(pac); @@ -74,12 +80,6 @@ public class PacProcessorFactory implements EntityProcessorFactory { createMakePacDirectoryStructure(unixUser)); } - @Override - public Processor createDeleteProcessor( - EntityManager em, T entity) throws ProcessorException { - throw new ProcessorException("pac.delete not implemented"); - } - private TemplateProcessor createEtcHostsProc( Map hiveValues, List> pacValuesList) throws ProcessorException {