org.gcube.portlets.user.searchportlet.shared
Class PreviousResultsInfo

java.lang.Object
  extended by org.gcube.portlets.user.searchportlet.shared.PreviousResultsInfo
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class PreviousResultsInfo
extends Object
implements com.google.gwt.user.client.rpc.IsSerializable

This class contains all the necessary information in order to perform a search in a previous result.

Author:
Panagiota Koltsida, NKUA

Constructor Summary
PreviousResultsInfo()
          Default constructor
PreviousResultsInfo(String query, String displayQuery, int index)
          The constructor of the class.
 
Method Summary
 String getDisplayQuery()
           
 int getIndexOfQueryGroup()
           
 String getQuery()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreviousResultsInfo

public PreviousResultsInfo()
Default constructor


PreviousResultsInfo

public PreviousResultsInfo(String query,
                           String displayQuery,
                           int index)
The constructor of the class.

Parameters:
RSepr - the ResultSet epr.
query - the Query that produced this RSepr.
schema - the metadata schema.
searchableFields - the searchable fields for this RSepr
Method Detail

getQuery

public String getQuery()
Returns:
the Query

getDisplayQuery

public String getDisplayQuery()

getIndexOfQueryGroup

public int getIndexOfQueryGroup()
Returns:
the searchable fields


Copyright © 2013. All Rights Reserved.