public final class DDSStandardSearchResult
extends java.lang.Object
DDSQueryAction.ddsStandardQuery(javax.servlet.http.HttpServletRequest, java.lang.String, org.dlese.dpc.repository.RepositoryManager, org.dlese.dpc.vocab.MetadataVocab, javax.servlet.ServletContext, int)
and is used by DDSQueryAction
and DDSServicesAction
.DDSQueryAction
,
DDSServicesAction
Constructor and Description |
---|
DDSStandardSearchResult()
Constructor for the DDSStandardSearchResult object
|
DDSStandardSearchResult(ResultDocList results,
java.lang.Exception exception,
java.lang.String forwardName)
Constructor for the DDSStandardSearchResult object
|
Modifier and Type | Method and Description |
---|---|
java.lang.Exception |
getException()
Gets the Exception if one occured, or null if none.
|
java.lang.String |
getForwardName()
Gets the name of the page to forward to, which is one of 'simple.query' or 'whats.new.query'.
|
ResultDocList |
getResults()
Gets the search results.
|
public DDSStandardSearchResult()
public DDSStandardSearchResult(ResultDocList results, java.lang.Exception exception, java.lang.String forwardName)
results
- The search results.forwardName
- The name that describes which page to forward to to render the results.exception
- An Exception if one occured, or nullpublic ResultDocList getResults()
public java.lang.Exception getException()
public java.lang.String getForwardName()