@Programmatic
    public List<NotableLink> findByNotable(final Object notable) {
        if(notable == null) {
            return null;
        }
        final Bookmark bookmark = bookmarkService.bookmarkFor(notable);
        if(bookmark == null) {
            return null;
        }
        final String notableStr = bookmark.toString();
        return repositoryService.allMatches(
                new QueryDefault<>(NotableLink.class,
                        "findByNotable",
                        "notableStr", notableStr));
    }
@Programmatic
    public List<NotableLink> findByNotable(final Object notable) {
        if(notable == null) {
            return null;
        }
        final Bookmark bookmark = bookmarkService.bookmarkFor(notable);
        if(bookmark == null) {
            return null;
        }
        final String notableStr = bookmark.toString();
        return repositoryService.allMatches(
                new QueryDefault<>(NotableLink.class,
                        "findByNotable",
                        "notableStr", notableStr));
    }
@ Programmatic public List < NotableLink > findByNotable ( final Object notable ) { if ( notable == null ) { return null ; } final Bookmark bookmark = bookmarkService . bookmarkFor ( notable ) ; if ( bookmark == null ) { return null ; } final String notableStr = bookmark . toString ( ) ; return repositoryService . allMatches ( new QueryDefault <> ( NotableLink . class , "findByNotable" , "notableStr" , notableStr ) ) ; }
region > findByNotable (programmatic)
region > findByNotable ( programmatic )