public int deleteCascade ( PreparedQuery < Contents > preparedDelete , boolean userTable ) throws SQLException { int count = 0 ; if ( preparedDelete != null ) { List < Contents > contentsList = query ( preparedDelete ) ; count = deleteCascade ( contentsList , userTable ) ; } return count ; }
Delete the Contents matching the prepared query cascading optionally including the user table