@Programmatic
    public void remove(Note note) {
        final NotableLink link = linkRepository.findByNote(note);
        repositoryService.removeAndFlush(link);
        repositoryService.removeAndFlush(note);
    }
@Programmatic
    public void remove(Note note) {
        final NotableLink link = linkRepository.findByNote(note);
        repositoryService.removeAndFlush(link);
        repositoryService.removeAndFlush(note);
    }
@ Programmatic public void remove ( Note note ) { final NotableLink link = linkRepository . findByNote ( note ) ; repositoryService . removeAndFlush ( link ) ; repositoryService . removeAndFlush ( note ) ; }
region > remove (programmatic)
region > remove ( programmatic )