private void replaceProrumbleType(DirectoryEntity entityWhat, DirectoryEntity entityWith) {
//Prorumble
List<Prorumble> entityList = findEntityList(Prorumble.class, "prorumbleType", entityWhat);
for (int i = 0; i < entityList.size(); i++) {
Prorumble p = entityList.get(i);
p.setType((ProrumbleType) entityWith);
manager.merge(p);
}
removeEntity(entityWhat);
manager.flush();
}