Class CriteriaHelperImpl

java.lang.Object
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 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