org.gcube.portlets.user.results.client.model
public class ResultsContainer extends Object implements com.google.gwt.user.client.rpc.IsSerializable
ResultsContainer class contains the information neede to retrieve search results| Constructor and Description |
|---|
ResultsContainer()
Default Constructor
|
ResultsContainer(Vector<ResultObj> resultRecords,
String[] optionalParams,
ResultType type,
HashMap<String,String> activelinksIntoVRE) |
| Modifier and Type | Method and Description |
|---|---|
HashMap<String,String> |
getActivelinksIntoVRE() |
String[] |
getOptionalParams() |
Vector<ResultObj> |
getResultRecords() |
ResultType |
getType() |
void |
setActivelinksIntoVRE(HashMap<String,String> activelinksIntoVRE) |
void |
setOptionalParamsVector(String[] optionalParams) |
void |
setResultRecords(Vector<ResultObj> resultRecords) |
void |
setType(ResultType type) |
public ResultsContainer()
public ResultsContainer(Vector<ResultObj> resultRecords, String[] optionalParams, ResultType type, HashMap<String,String> activelinksIntoVRE)
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 anypublic String[] getOptionalParams()
public void setOptionalParamsVector(String[] optionalParams)
public ResultType getType()
public void setType(ResultType type)
Copyright © 2013. All Rights Reserved.