Package org.dlese.dpc.dds
Class DDSStandardSearchResult
java.lang.Object
org.dlese.dpc.dds.DDSStandardSearchResult
Structure that holds the results of a standard DDS text/field search. This Object is returned by
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.- Author:
- John Weatherley
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor for the DDSStandardSearchResult objectDDSStandardSearchResult(ResultDocList results, Exception exception, String forwardName) Constructor for the DDSStandardSearchResult object -
Method Summary
Modifier and TypeMethodDescriptionGets the Exception if one occured, or null if none.Gets the name of the page to forward to, which is one of 'simple.query' or 'whats.new.query'.Gets the search results.
-
Constructor Details
-
DDSStandardSearchResult
public DDSStandardSearchResult()Constructor for the DDSStandardSearchResult object -
DDSStandardSearchResult
Constructor for the DDSStandardSearchResult object- Parameters:
results- The search results.exception- An Exception if one occured, or nullforwardName- The name that describes which page to forward to to render the results.
-
-
Method Details
-
getResults
Gets the search results.- Returns:
- The results value
-
getException
Gets the Exception if one occured, or null if none.- Returns:
- An Exception or null
-
getForwardName
Gets the name of the page to forward to, which is one of 'simple.query' or 'whats.new.query'.- Returns:
- The forwardName value
-