wt.inf.container
Class WTContainerReferenceSearch
java.lang.Object
wt.query.AttributeSearchSpecification
wt.fc.ObjectReferenceSearch
wt.inf.container.WTContainerReferenceSearch
- All Implemented Interfaces:
- Serializable
- public class WTContainerReferenceSearch
- extends ObjectReferenceSearch
- implements Serializable
This class is used to generate SearchCondition objects that are used
to append to a QuerySpec for Container Aware type searches. Its intended
use is to support the WTQuery search bean in processing searches that
need to filter objects based on container and container type parameters
Supported API: false
Extendable: false
- See Also:
- Serialized Form
Methods inherited from class wt.query.AttributeSearchSpecification |
appendToClassSearchSpec, areThereDBWildCards, areThereWildCards, convertWildcardValue, getAttributeName, getQueryName, getSearchExpression, getSearchExpression, getSearchType, getStringCase, getValue, isFalseSearch, processWildCards, setFalseSearch, setValue |
RESOURCE
private static final String RESOURCE
- See Also:
- Constant Field Values
CLASSNAME
private static final String CLASSNAME
filteredContainerTypes
private Vector filteredContainerTypes
containerFilter
private WTContainer containerFilter
WTContainerReferenceSearch
public WTContainerReferenceSearch(String attribute,
String expression)
Supported API: false
- Parameters:
attribute
- expression
-
WTContainerReferenceSearch
public WTContainerReferenceSearch(String attribute)
Supported API: false
- Parameters:
attribute
-
setValue
public void setValue(WTContainer container)
throws WTPropertyVetoException
Supported API: false
- Parameters:
container
-
- Throws:
WTPropertyVetoException
getSearchCondition
public SearchCondition getSearchCondition(Class classname)
throws WTException,
QueryException
Supported API: false
- Overrides:
getSearchCondition
in class ObjectReferenceSearch
- Parameters:
classname
-
- Returns:
- SearchCondition
- Throws:
WTException
QueryException
getContainers
private QueryResult getContainers(String container)
throws WTException
- This method queries the Database to get all of the possible containers
could be included in the search condition
- Parameters:
container
- This is the user inputted string that is used to search against, could include wildcard characters
- Returns:
- QueryResult
- Throws:
WTException