wt.lifecycle
Class LifeCycleTemplateReferenceSearch

java.lang.Object
  extended bywt.query.AttributeSearchSpecification
      extended bywt.fc.ObjectReferenceSearch
          extended bywt.lifecycle.LifeCycleTemplateReferenceSearch
All Implemented Interfaces:
Serializable

public class LifeCycleTemplateReferenceSearch
extends ObjectReferenceSearch
implements Serializable

Search for a reference to the lifecycle template which this object uses.

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
LifeCycleTemplateReferenceSearch(String attribute)
          Construct a search object for the specified attribute.
LifeCycleTemplateReferenceSearch(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(LifeCycleTemplate lifeCycleTemplate)
          Set the search value to be for this LifeCycleTemplate.
 
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
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Constructor Detail

LifeCycleTemplateReferenceSearch

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

Supported API: false

Parameters:
attribute - Attribute name.
expression - Search expression such as equals.

LifeCycleTemplateReferenceSearch

public LifeCycleTemplateReferenceSearch(String attribute)
Construct a search object for the specified attribute. Search expression default to equal.

Supported API: false

Parameters:
attribute - Attribute name.
Method Detail

setValue

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

Supported API: false

Parameters:
lifeCycleTemplate - LifeCycleTemplate object to search using.
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 ObjectReferenceSearch
Parameters:
classname - Class to search against.
Returns:
SearchCondition
Throws:
WTException
QueryException