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