public void deleteChildren ( ParaObject obj , String type2 ) { if ( obj == null || obj . getId ( ) == null || type2 == null ) { return ; } MultivaluedMap < String , String > params = new MultivaluedHashMap <> ( ) ; params . putSingle ( "childrenonly" , "true" ) ; String url = Utils . formatMessage ( "{0}/links/{1}" , obj . getObjectURI ( ) , type2 ) ; invokeDelete ( url , params ) ; }
Deletes all child objects permanently .