Package wt.vc.views

Class ViewReferenceSearch

java.lang.Object
wt.query.AttributeSearchSpecification
wt.fc.ObjectReferenceSearch
wt.vc.views.ViewReferenceSearch
All Implemented Interfaces:
Serializable

public final class ViewReferenceSearch extends wt.fc.ObjectReferenceSearch implements Serializable
Search for a reference to the View listed.

Supported API: true

Extendable: false
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Construct a search object for the specified attribute.
    ViewReferenceSearch(String attribute, String expression)
    Construct a search object for the specified attribute.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return a SearchCondition for this search object.
    void
    setValue(View view)
    Set the search value to be for this View.

    Methods inherited from class wt.fc.ObjectReferenceSearch

    setValue, setValue, toString

    Methods inherited from class wt.query.AttributeSearchSpecification

    appendToClassSearchSpec, areThereDBWildCards, areThereWildCards, convertWildcardValue, getAttributeName, getQueryName, getSearchExpression, getSearchExpression, getSearchType, getStringCase, getValue, isFalseSearch, processWildCards, setFalseSearch, setValue

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ViewReferenceSearch

      public ViewReferenceSearch(String attribute, String expression)
      Construct a search object for the specified attribute.

      Supported API: true
      Parameters:
      attribute - Attribute name.
      expression - Expression to use in search, ie =.
    • ViewReferenceSearch

      public ViewReferenceSearch(String attribute)
      Construct a search object for the specified attribute.

      Supported API: true
      Parameters:
      attribute - Attribute name.
  • Method Details

    • setValue

      public void setValue(View view) throws WTPropertyVetoException
      Set the search value to be for this View.

      Supported API: true
      Parameters:
      view - View to search for.
      Throws:
      WTPropertyVetoException
    • getSearchCondition

      public SearchCondition getSearchCondition(Class classname) throws WTException, QueryException
      Return a SearchCondition for this search object. If a pre Search is required, this will be performed automatically. Intended to be a server side only api.

      Supported API: true
      Overrides:
      getSearchCondition in class wt.fc.ObjectReferenceSearch
      Parameters:
      classname -
      Returns:
      SearchCondition
      Throws:
      WTException
      QueryException