wt.fc
Class ObjectReferenceSearch

java.lang.Object
  extended bywt.query.AttributeSearchSpecification
      extended bywt.fc.ObjectReferenceSearch
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CabinetReferenceSearch, DataFormatReferenceSearch, DomainReferenceSearch, LifeCycleTemplateReferenceSearch, ProjectReferenceSearch, TeamDistributionListReferenceSearch, TeamReferenceSearch, TeamTemplateReferenceSearch, ViewReferenceSearch, WTContainerReferenceSearch, WTPrincipalReferenceSearch

public abstract class ObjectReferenceSearch
extends AttributeSearchSpecification
implements Serializable

Extends the basic AttributeSearchSpecification class to support handling of an Object Reference.

Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private static String RESOURCE
           
 
Fields inherited from class wt.query.AttributeSearchSpecification
 
Constructor Summary
ObjectReferenceSearch(String attribute)
          

Supported API: false
ObjectReferenceSearch(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(ObjectReference attribute_value)
          Set the desired value for the attribute.
 void setValue(String attribute_value)
          Set the desired value for the attribute.
 String toString()
          

Supported API: false
 
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
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Constructor Detail

ObjectReferenceSearch

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

Supported API: false

Parameters:
attribute -
expression -

ObjectReferenceSearch

public ObjectReferenceSearch(String attribute)


Supported API: false

Parameters:
attribute -
Method Detail

setValue

public void setValue(ObjectReference attribute_value)
              throws WTPropertyVetoException
Set the desired value for the attribute. The value is validated based on the rules for attribute type.

Supported API: false

Parameters:
attribute_value -
Throws:
WTPropertyVetoException

setValue

public void setValue(String attribute_value)
              throws WTPropertyVetoException
Set the desired value for the attribute. The value is validated based on the rules for attribute type.

Supported API: false

Overrides:
setValue in class AttributeSearchSpecification
Parameters:
attribute_value -
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: false

Overrides:
getSearchCondition in class AttributeSearchSpecification
Parameters:
classname -
Returns:
SearchCondition
Throws:
WTException
QueryException

toString

public String toString()


Supported API: false

Overrides:
toString in class AttributeSearchSpecification
Returns:
String