|
|
|
@ -266,6 +266,7 @@ public class ConcessioniLifeCycleManager extends Default3PhaseManager implements
|
|
|
|
|
private static void scanRelation(ArrayList chain,RelationshipNavigationObject obj, boolean putBefore){
|
|
|
|
|
if(putBefore)chain.add(0,obj.getTarget());
|
|
|
|
|
else chain.add(obj.getTarget());
|
|
|
|
|
if(obj.getChildren()!=null && !obj.getChildren().isEmpty())scanRelation(chain,obj,putBefore);
|
|
|
|
|
if(obj.getChildren()!=null)
|
|
|
|
|
obj.getChildren().forEach(r-> scanRelation(chain,r,putBefore));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|