Package com.ptc.core.query.common.impl
Class CriteriaHelperImpl
java.lang.Object
com.ptc.core.query.common.impl.CriteriaHelperImpl
This helper class provides static methods for constructing criteria
objects that can be used for queries.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeContainerSetnewCriteria(ContainerSpec a_containerSpec, boolean a_negated) Creates a criteria for the specified ContainerSpec.static AttributeContainerSetnewCriteria(ContainerSpec a_containerSpec, boolean a_negated, Class[] search_classes) Deprecated.as of 10.0, use newCriteria(ContainerSpec,boolean)
-
Method Details
-
newCriteria
public static AttributeContainerSet newCriteria(ContainerSpec a_containerSpec, boolean a_negated) throws WTException Creates a criteria for the specified ContainerSpec.
Supported API: true- Parameters:
a_containerSpec- Specifies the ContainerSpec for the criteria.a_negated- Specifies if the criteria should be negated.- Returns:
- AttributeContainerSet
- Throws:
WTException
-
newCriteria
public static AttributeContainerSet newCriteria(ContainerSpec a_containerSpec, boolean a_negated, Class[] search_classes) throws WTException Deprecated.as of 10.0, use newCriteria(ContainerSpec,boolean)Creates a criteria for the specified ContainerSpec and set of search classes.
Supported API: true- Parameters:
a_containerSpec- Specifies the ContainerSpec for the criteria.a_negated- Specifies if the criteria should be negated.search_classes-- Returns:
- AttributeContainerSet
- Throws:
WTException
-