com.ptc.core.query.common.impl
Class CriteriaHelperImpl

java.lang.Object
  extended by com.ptc.core.query.common.impl.CriteriaHelperImpl

public class CriteriaHelperImpl
extends Object

This helper class provides static methods for constructing criteria objects that can be used for queries.

Supported API: true

Extendable: false


Method Summary
static com.ptc.core.meta.container.common.AttributeContainerSet newCriteria(wt.inf.container.ContainerSpec a_containerSpec, boolean a_negated)
          Creates a criteria for the specified ContainerSpec.
static com.ptc.core.meta.container.common.AttributeContainerSet newCriteria(wt.inf.container.ContainerSpec a_containerSpec, boolean a_negated, Class[] search_classes)
          Creates a criteria for the specified ContainerSpec and set of search classes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newCriteria

public static com.ptc.core.meta.container.common.AttributeContainerSet newCriteria(wt.inf.container.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 com.ptc.core.meta.container.common.AttributeContainerSet newCriteria(wt.inf.container.ContainerSpec a_containerSpec,
                                                                                   boolean a_negated,
                                                                                   Class[] search_classes)
                                                                            throws WTException
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