HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2011-07-27 d7ee9d648538c8481dc794e81610aaf3db4ccfbb
delete pac
1 files modified
12 ■■■■ changed files
hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java 12 ●●●● patch | view | raw | blame | history
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(