From d7ee9d648538c8481dc794e81610aaf3db4ccfbb Mon Sep 17 00:00:00 2001
From: Peter Hormanns <peter.hormanns@hostsharing.net>
Date: Wed, 27 Jul 2011 17:36:57 +0200
Subject: [PATCH] delete pac

---
 hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

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 @@
 	@Override
 	public <T extends AbstractEntity> Processor createUpdateProcessor(EntityManager em, T entity) 
 			throws ProcessorException {
+		throw new ProcessorException("pac.update not implemented");
+	}
+
+	@Override
+	public <T extends AbstractEntity> Processor createDeleteProcessor(
+			EntityManager em, T entity) throws ProcessorException {
 		Pac pac = (Pac) entity;
 		Hive hive = pac.getHive();
 		UnixUser unixUser = getPacAdminUser(pac);
@@ -72,12 +78,6 @@
 				createSudouersProc(hiveValues, pacValuesList), 
 				createProftpdConfProc(hiveValues, pacValuesList), 
 				createMakePacDirectoryStructure(unixUser));
-	}
-
-	@Override
-	public <T extends AbstractEntity> Processor createDeleteProcessor(
-			EntityManager em, T entity) throws ProcessorException {
-		throw new ProcessorException("pac.delete not implemented");
 	}
 
 	private TemplateProcessor createEtcHostsProc(

--
Gitblit v1.9.3