wt.org
Class WTPrincipalReferenceSearch

java.lang.Object
  extended by wt.query.AttributeSearchSpecification
      extended by wt.fc.ObjectReferenceSearch
          extended by wt.org.WTPrincipalReferenceSearch
All Implemented Interfaces:
Serializable

public class WTPrincipalReferenceSearch
extends wt.fc.ObjectReferenceSearch
implements Serializable

Search for a reference to the WTPrincipal listed.

Supported API: true

Extendable: false

See Also:
Serialized Form

Constructor Summary
WTPrincipalReferenceSearch(String attribute)
          Construct a search object for the specified attribute.
WTPrincipalReferenceSearch(String attribute, String expression)
          Construct a search object for the specified attribute.
 
Method Summary
 SearchCondition getSearchCondition(Class classname)
          Return a SearchCondition for this search object.
 void setValue(WTPrincipal principal)
          Set the search value to be for this WTPrincipal.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WTPrincipalReferenceSearch

public WTPrincipalReferenceSearch(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 =.

WTPrincipalReferenceSearch

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

Supported API: true

Parameters:
attribute - Attribute name.
Method Detail

setValue

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

Supported API: true

Parameters:
principal - 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