public int deleteIdsCascade ( Collection < String > idCollection , boolean userTable ) throws SQLException { int count = 0 ; if ( idCollection != null ) { for ( String id : idCollection ) { count += deleteByIdCascade ( id , userTable ) ; } } return count ; }
Delete the Contents with the provided ids cascading optionally including the user table