Skip navigation links
jOAI Java Packages (app v3.3)
org.dlese.dpc.schemedit.action.form

Class DCSQueryForm

Parameters:
results - The new results value.
  • setMetadata

    public void setMetadata(java.lang.String metadata)
    Sets the metadata attribute of the DCSQueryForm object
    Parameters:
    metadata - The new metadata value
  • getMetadata

    public java.lang.String getMetadata()
    Gets the metadata attribute of the DCSQueryForm object
    Returns:
    The metadata value
  • getHits

    public java.util.List getHits()
  • getNumResults

    public java.lang.String getNumResults()
    Gets the numResults attribute of the DCSQueryForm object
    Returns:
    The numResults value
  • getQ

    public java.lang.String getQ()
    Gets the query string entered by the user.
    Returns:
    The query value.
  • getQe

    public java.lang.String getQe()
    Gets the query string entered by the user, encoded for use in a URL string.
    Returns:
    The query value ncoded for use in a URL string.
  • setQ

    public void setQ(java.lang.String queryString)
    Sets the q attribute of the DCSQueryForm object
    Parameters:
    queryString - The new q value
  • getRq

    public java.lang.String getRq()
    Gets the refined query string entered by the user, used to search within results.
    Returns:
    The query value.
  • setRq

    public void setRq(java.lang.String refineQueryString)
    Sets the refined query string entered by the user, used to search within results.
    Parameters:
    refineQueryString - The new rq value
  • getNrqParams

    public java.util.ArrayList getNrqParams()
    Gets all request parameters except the refined query Rq parameter.
    Returns:
    The nrqParams value.
  • setReportTitle

    public void setReportTitle(java.lang.String reportTitle)
    Sets the reportTitle attribute of the DCSQueryForm object
    Parameters:
    reportTitle - The new reportTitle value
  • getReportTitle

    public java.lang.String getReportTitle()
    Gets the reportTitle attribute of the DCSQueryForm object
    Returns:
    The reportTitle value
  • setStart

    public void setStart(int start)
    Sets the starting index for the records to display.
    Parameters:
    start - The new start value
  • getStart

    public java.lang.String getStart()
    Gets the starting index for the records that will be displayed.
    Returns:
    The start value
  • getEnd

    public java.lang.String getEnd()
    Gets the ending index for the records that will be displayed.
    Returns:
    The end value
  • getOffset

    public java.lang.String getOffset()
    Gets the offset into the results array to begin iterating.
    Returns:
    The offset value
  • getLength

    public java.lang.String getLength()
    Gets the length of iterations to loop over the results array.
    Returns:
    The length value
  • getNumPagingRecords

    public int getNumPagingRecords()
    Gets the numPagingRecords attribute of the DCSQueryForm object
    Returns:
    The numPagingRecords value
  • setNumPagingRecords

    public void setNumPagingRecords(int numPagingRecords)
    Sets the number of records to display per paiging request. Defaults to 10.
    Parameters:
    numPagingRecords - The new numPagingRecords value
  • getNextResultsUrl

    public java.lang.String getNextResultsUrl()
    Gets the HTTP parameters that should be used to retrieve the next set of results.
    Returns:
    Everything after the ? that should be included in the pager URL.
  • getPrevResultsUrl

    public java.lang.String getPrevResultsUrl()
    Gets the HTTP parameters that should be used to retrieve the previous set of results.
    Returns:
    Everything after the ? that should be included in the pager URL.
  • setRequest

    public void setRequest(javax.servlet.http.HttpServletRequest request)
    Sets the request attribute of the DCSQueryForm object.
    Parameters:
    request - The new request value
  • setNonPaigingParams

    public void setNonPaigingParams(java.lang.String nonPaigingParams)
    Sets the nonPaigingParams attribute of the DCSQueryForm object
    Parameters:
    nonPaigingParams - The new nonPaigingParams value
  • getNonPaigingParams

    public final java.lang.String getNonPaigingParams()
    Gets all the parameters that existed in the request other than those used for paiging.
    Returns:
    The NonPaigingParams returned as an HTTP query string.
  • getPaigingParam

    public int getPaigingParam()
    the current result page.
  • getPaigingParam

    public int getPaigingParam(java.lang.String id)
  • setSortWidgetParams

    public void setSortWidgetParams(java.lang.String sortWidgetParams)
    Sets the sortWidgetParams attribute of the DCSQueryForm object.

    Used by the sortWidget (see tags/sortWidget.tag) to contstruct a URL that will reproduce search but accomodate new sorting, ordering, and paiging params.

    Parameters:
    sortWidgetParams - The new sortWidgetParams value
  • getSortWidgetParams

    public final java.lang.String getSortWidgetParams()
    Gets all the parameters that existed in the request other than those used for paiging or sorting.

    Returns:
    The SortWidgetParams returned as an HTTP query string.
  • setDebug

    public static void setDebug(boolean db)
    Sets the debug attribute of the object
    Parameters:
    db - The new debug value
jOAI Java Packages (app v3.3)