All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ow2.bonita.facade.runtime.command.WebSearchResult Maven / Gradle / Ivy

/**
 * Copyright (C) 2009  BonitaSoft S.A.
 * BonitaSoft, 31 rue Gustave Eiffel - 38000 Grenoble
 */
package org.ow2.bonita.facade.runtime.command;

import java.io.Serializable;
import java.util.List;

public class WebSearchResult implements Serializable {

  private static final long serialVersionUID = -2017489006378396882L;
  private int count;
  private List elements;

  /**
   * Default constructor.
   * 
   * @param userId
   * @param fromIndex
   * @param pageSize
   */
  public WebSearchResult(List elements, int matchingElementsCount) {
    this.count = matchingElementsCount;
    this.elements = elements;
  }

  public List getSearchResults() {
    return elements;
  }

  public int getSearchMatchingElementsCount() {
    return count;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy