Commit c9721fa4 authored by Sara Bertocco's avatar Sara Bertocco
Browse files

Working on redmine task #3549

parent 233a430f
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -126,6 +126,16 @@ public class NodeDAO {
        return Optional.of(node);
    }
    
    public Optional<String> deleteNode(String path) {
        
        // To be filled
        
        // In case of failure return empty object to trigger HTTP 500 
        // status code for InternalFault
        return Optional.of("OK");
        
    }

    private String getFirstLevelChildrenSelector(String path) {
        String select = "(SELECT path FROM node WHERE node_id = (SELECT node_id FROM node_vos_path WHERE vos_path = ?))::varchar || '";