org.gcube.portlets.user.results.client.model
Class ResultsContainer
java.lang.Object
org.gcube.portlets.user.results.client.model.ResultsContainer
- All Implemented Interfaces:
- com.google.gwt.user.client.rpc.IsSerializable
public class ResultsContainer
- extends Object
- implements com.google.gwt.user.client.rpc.IsSerializable
ResultsContainer class contains the information neede to retrieve search results
- Version:
- January 2009 (0.1)
- Author:
- Massimiliano Assante, ISTI-CNR - massimiliano.assante@isti.cnr.it
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResultsContainer
public ResultsContainer()
- Default Constructor
ResultsContainer
public ResultsContainer(Vector<ResultObj> resultRecords,
String[] optionalParams,
ResultType type,
HashMap<String,String> activelinksIntoVRE)
- Parameters:
resultRecords - The actual results from search as ResultObj classoptionalParams - array for optional parameters to pass when returning the recordstype - type can be results, no results, error.activelinksIntoVRE - contains the links for redirecting to annotation, ontology, contentviever if any
getOptionalParams
public String[] getOptionalParams()
setOptionalParamsVector
public void setOptionalParamsVector(String[] optionalParams)
getResultRecords
public Vector<ResultObj> getResultRecords()
setResultRecords
public void setResultRecords(Vector<ResultObj> resultRecords)
getType
public ResultType getType()
setType
public void setType(ResultType type)
getActivelinksIntoVRE
public HashMap<String,String> getActivelinksIntoVRE()
setActivelinksIntoVRE
public void setActivelinksIntoVRE(HashMap<String,String> activelinksIntoVRE)
Copyright © 2013. All Rights Reserved.