delete pac
This commit is contained in:
parent
ac52ad8cdf
commit
d7ee9d6485
@ -61,6 +61,12 @@ public class PacProcessorFactory implements EntityProcessorFactory {
|
|||||||
@Override
|
@Override
|
||||||
public <T extends AbstractEntity> Processor createUpdateProcessor(EntityManager em, T entity)
|
public <T extends AbstractEntity> Processor createUpdateProcessor(EntityManager em, T entity)
|
||||||
throws ProcessorException {
|
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;
|
Pac pac = (Pac) entity;
|
||||||
Hive hive = pac.getHive();
|
Hive hive = pac.getHive();
|
||||||
UnixUser unixUser = getPacAdminUser(pac);
|
UnixUser unixUser = getPacAdminUser(pac);
|
||||||
@ -74,12 +80,6 @@ public class PacProcessorFactory implements EntityProcessorFactory {
|
|||||||
createMakePacDirectoryStructure(unixUser));
|
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(
|
private TemplateProcessor createEtcHostsProc(
|
||||||
Map<String, String> hiveValues,
|
Map<String, String> hiveValues,
|
||||||
List<Map<String, String>> pacValuesList) throws ProcessorException {
|
List<Map<String, String>> pacValuesList) throws ProcessorException {
|
||||||
|
Loading…
Reference in New Issue
Block a user