@Test public void testWithCreationDateBetween() { Date date = new Date(); query.withCreationDateBetween(date); assertEquals(date, query.getCreationDate()); }
public SearchQuery withCreationDateBetween(Date date) { clearExpectations(); configure(date); creationDateFrom = date; expect(Date.class); return this; }
SearchQueryImpl implements SearchQuery { public SearchQuery withCreationDateBetween(Date date) { clearExpectations(); configure(date); creationDateFrom = date; expect(Date.class); return this; } }
SearchQueryImpl implements SearchQuery { public SearchQuery withCreationDateBetween(Date date) { clearExpectations(); configure(date); creationDateFrom = date; expect(Date.class); return this; } SearchQueryImpl(Site site);  SearchQueryImpl(Site site, Language language); }
SearchQueryImpl implements SearchQuery { public SearchQuery withCreationDateBetween(Date date) { clearExpectations(); configure(date); creationDateFrom = date; expect(Date.class); return this; } SearchQueryImpl(Site site);  SearchQueryImpl(Site site, Language language); @Override SearchQuery withField(String field); @Override SearchQuery withFields(String... fields); @Override String[] getFields(); Site getSite(); @Override SearchQuery withRecencyPriority(); @Override boolean getRecencyPriority(); SearchQuery withLimit(int limit); int getLimit(); SearchQuery withOffset(int offset); int getOffset(); SearchQuery withAction(Action action); @Override Action[] getActions(); SearchQuery withIdentifier(String id); String[] getIdentifier(); SearchQuery withPath(String path); String getPath(); SearchQuery withTemplate(String template); String getTemplate(); SearchQuery withLayout(String layout); String getLayout(); @Override SearchQuery withFlavor(String flavor); @Override String getFlavor(); SearchQuery withStationary(); boolean isStationary(); SearchQuery withTypes(String... types); SearchQuery withoutTypes(String... types); String[] getTypes(); String[] getWithoutTypes(); SearchQuery and(Date date); SearchQuery andProperty(String propertyName, String propertyValue); SearchQuery andElement(String textName, String text); SearchQuery atPosition(int position); SearchQuery inComposer(String composer); SearchQuery inStage(); SearchQuery withAuthor(User author); User getAuthor(); SearchQuery withLanguage(Language language); Language getLanguage(); SearchQuery withSubject(String subject); @Override SearchQuery withSubjects(Quantifier quantifier, String... subjects); Collection<SearchTerms<String>> getSubjects(); SearchQuery withCreationDate(Date date); SearchQuery withCreationDateBetween(Date date); Date getCreationDate(); Date getCreationDateEnd(); SearchQuery withModificationDate(Date date); SearchQuery withModificationDateBetween(Date date); Date getModificationDate(); Date getModificationDateEnd(); SearchQuery withoutModification(); boolean getWithoutModification(); SearchQuery withPagelet(Pagelet pagelet); @Override SearchQuery withPagelets(Quantifier quantifier, Pagelet... pagelets); Collection<SearchTerms<Pagelet>> getPagelets(); SearchQuery withPathPrefix(String path); String getPathPrefix(); SearchQuery withCreator(User creator); User getCreator(); SearchQuery withModifier(User modifier); User getModifier(); SearchQuery withPublisher(User publisher); User getPublisher(); SearchQuery withPublishingDate(Date date); SearchQuery withPublishingDateBetween(Date date); Date getPublishingDate(); Date getPublishingDateEnd(); SearchQuery withoutPublication(); boolean getWithoutPublication(); SearchQuery withLockOwner(); SearchQuery withLockOwner(User lockOwner); User getLockOwner(); SearchQuery withExternalLocation(URL url); URL getExternalLocation(); SearchQuery withText(String text); SearchQuery withText(boolean wildcardSearch, String text); @Override SearchQuery withText(boolean wildcardSearch, Quantifier quantifier,
      String... text); Collection<SearchTerms<String>> getTerms(); @Override String getQueryString(); @Override SearchQuery withFulltext(String text); @Override SearchQuery withFulltext(boolean fuzzy, String text); SearchQuery withFulltext(boolean fuzzy, Quantifier quantifier,
      String... text); @Override Collection<SearchTerms<String>> getFulltext(); boolean isFuzzySearch(); SearchQuery withFilter(String filter); String getFilter(); SearchQuery withElement(String element, String value); Map<String, String> getElements(); SearchQuery withProperty(String property, String value); Map<String, String> getProperties(); SearchQuery withFilename(String filename); String getFilename(); SearchQuery withMimetype(String mimetype); String getMimetype(); SearchQuery sortByCreationDate(Order order); Order getCreationDateSortOrder(); SearchQuery sortByModificationDate(Order order); Order getModificationDateSortOrder(); SearchQuery sortByPublishingDate(Order order); Order getPublishingDateSortOrder(); SearchQuery withVersion(long version); SearchQuery withPreferredVersion(long preferredVersion); long getVersion(); long getPreferredVersion(); SearchQuery withOrigin(String origin); String getOrigin(); SearchQuery withOriginalIdentifier(String originalIdentifier); String getOriginalIdentifier(); SearchQuery withSeries(String series); String[] getSeries(); }
SearchQueryImpl implements SearchQuery { public SearchQuery withCreationDateBetween(Date date) { clearExpectations(); configure(date); creationDateFrom = date; expect(Date.class); return this; } SearchQueryImpl(Site site);  SearchQueryImpl(Site site, Language language); @Override SearchQuery withField(String field); @Override SearchQuery withFields(String... fields); @Override String[] getFields(); Site getSite(); @Override SearchQuery withRecencyPriority(); @Override boolean getRecencyPriority(); SearchQuery withLimit(int limit); int getLimit(); SearchQuery withOffset(int offset); int getOffset(); SearchQuery withAction(Action action); @Override Action[] getActions(); SearchQuery withIdentifier(String id); String[] getIdentifier(); SearchQuery withPath(String path); String getPath(); SearchQuery withTemplate(String template); String getTemplate(); SearchQuery withLayout(String layout); String getLayout(); @Override SearchQuery withFlavor(String flavor); @Override String getFlavor(); SearchQuery withStationary(); boolean isStationary(); SearchQuery withTypes(String... types); SearchQuery withoutTypes(String... types); String[] getTypes(); String[] getWithoutTypes(); SearchQuery and(Date date); SearchQuery andProperty(String propertyName, String propertyValue); SearchQuery andElement(String textName, String text); SearchQuery atPosition(int position); SearchQuery inComposer(String composer); SearchQuery inStage(); SearchQuery withAuthor(User author); User getAuthor(); SearchQuery withLanguage(Language language); Language getLanguage(); SearchQuery withSubject(String subject); @Override SearchQuery withSubjects(Quantifier quantifier, String... subjects); Collection<SearchTerms<String>> getSubjects(); SearchQuery withCreationDate(Date date); SearchQuery withCreationDateBetween(Date date); Date getCreationDate(); Date getCreationDateEnd(); SearchQuery withModificationDate(Date date); SearchQuery withModificationDateBetween(Date date); Date getModificationDate(); Date getModificationDateEnd(); SearchQuery withoutModification(); boolean getWithoutModification(); SearchQuery withPagelet(Pagelet pagelet); @Override SearchQuery withPagelets(Quantifier quantifier, Pagelet... pagelets); Collection<SearchTerms<Pagelet>> getPagelets(); SearchQuery withPathPrefix(String path); String getPathPrefix(); SearchQuery withCreator(User creator); User getCreator(); SearchQuery withModifier(User modifier); User getModifier(); SearchQuery withPublisher(User publisher); User getPublisher(); SearchQuery withPublishingDate(Date date); SearchQuery withPublishingDateBetween(Date date); Date getPublishingDate(); Date getPublishingDateEnd(); SearchQuery withoutPublication(); boolean getWithoutPublication(); SearchQuery withLockOwner(); SearchQuery withLockOwner(User lockOwner); User getLockOwner(); SearchQuery withExternalLocation(URL url); URL getExternalLocation(); SearchQuery withText(String text); SearchQuery withText(boolean wildcardSearch, String text); @Override SearchQuery withText(boolean wildcardSearch, Quantifier quantifier,
      String... text); Collection<SearchTerms<String>> getTerms(); @Override String getQueryString(); @Override SearchQuery withFulltext(String text); @Override SearchQuery withFulltext(boolean fuzzy, String text); SearchQuery withFulltext(boolean fuzzy, Quantifier quantifier,
      String... text); @Override Collection<SearchTerms<String>> getFulltext(); boolean isFuzzySearch(); SearchQuery withFilter(String filter); String getFilter(); SearchQuery withElement(String element, String value); Map<String, String> getElements(); SearchQuery withProperty(String property, String value); Map<String, String> getProperties(); SearchQuery withFilename(String filename); String getFilename(); SearchQuery withMimetype(String mimetype); String getMimetype(); SearchQuery sortByCreationDate(Order order); Order getCreationDateSortOrder(); SearchQuery sortByModificationDate(Order order); Order getModificationDateSortOrder(); SearchQuery sortByPublishingDate(Order order); Order getPublishingDateSortOrder(); SearchQuery withVersion(long version); SearchQuery withPreferredVersion(long preferredVersion); long getVersion(); long getPreferredVersion(); SearchQuery withOrigin(String origin); String getOrigin(); SearchQuery withOriginalIdentifier(String originalIdentifier); String getOriginalIdentifier(); SearchQuery withSeries(String series); String[] getSeries(); static final String STAGE_COMPOSER; static final String ANY_USER; }