Package ag.ion.noa.internal.search

Examples of ag.ion.noa.internal.search.SearchResult


   * @author Andreas Br�ker
   * @date 09.07.2006
   */
  public ISearchResult findFirst(ISearchDescriptor searchDescriptor) {
    if(searchDescriptor == null || searchDescriptor.getSearchContent() == null)
      return new SearchResult(document);
    Object object =  xSearchable.findFirst(toXSearchDescriptor(searchDescriptor));
    if(object == null)
      return new SearchResult(document);
    return new SearchResult(document,(XInterface)object);
  }
View Full Code Here


   * @author Andreas Br�ker
   * @date 09.07.2006
   */
  public ISearchResult findAll(ISearchDescriptor searchDescriptor) {
    if(searchDescriptor == null || searchDescriptor.getSearchContent() == null)
      return new SearchResult(document);
    XIndexAccess xIndexAccess =  xSearchable.findAll(toXSearchDescriptor(searchDescriptor));
    return new SearchResult(document,xIndexAccess);
 
View Full Code Here

   * @date 09.07.2006
   */
  public ISearchResult findFirst(ISearchDescriptor searchDescriptor) {
    if (searchDescriptor == null
        || searchDescriptor.getSearchContent() == null)
      return new SearchResult(document);
    Object object = xSearchable
        .findFirst(toXSearchDescriptor(searchDescriptor));
    if (object == null)
      return new SearchResult(document);
    return new SearchResult(document, (XInterface) object);
  }
View Full Code Here

   * @date 09.07.2006
   */
  public ISearchResult findAll(ISearchDescriptor searchDescriptor) {
    if (searchDescriptor == null
        || searchDescriptor.getSearchContent() == null)
      return new SearchResult(document);
    XIndexAccess xIndexAccess = xSearchable
        .findAll(toXSearchDescriptor(searchDescriptor));
    return new SearchResult(document, xIndexAccess);
  }
View Full Code Here

TOP

Related Classes of ag.ion.noa.internal.search.SearchResult

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.