Package wt.vc.config

Class IteratedFolderedConfigSpec

java.lang.Object
wt.vc.config._IteratedFolderedConfigSpec
wt.vc.config.IteratedFolderedConfigSpec
All Implemented Interfaces:
Externalizable, Serializable, wt.fc._NetFactor, wt.fc._ObjectMappable, NetFactor, ObjectMappable, ConfigSpec

@GenAsObjectMappable(interfaces=ConfigSpec.class, versions=-5096810963115881746L, properties=@GeneratedProperty(name="folderRef",type=ObjectReference.class,accessors=@PropertyAccessors(getAccess=PRIVATE))) public class IteratedFolderedConfigSpec extends wt.vc.config._IteratedFolderedConfigSpec
The IteratedFolderedConfigSpec can be used to filter IteratedFoldered elements based on folder location. Only those elements in the particular folder or sub-folder will be returned by this ConfigSpec.

Use the newIteratedFolderedConfigSpec static factory method(s), not the IteratedFolderedConfigSpec constructor, to construct instances of this class. Instances must be constructed using the static factory(s), in order to ensure proper initialization of the instance.



Supported API: true

Extendable: false

See Also:
  • Method Details

    • appendSearchCriteria

      public QuerySpec appendSearchCriteria(QuerySpec querySpec) throws WTException, QueryException
      Appends a "folder = getFolder() OR folder = subFolder OR ..." to the QuerySpec.

      Supported API: true
      Parameters:
      querySpec - A QuerySpec with a target class that is Iterated.
      Returns:
      QuerySpec
      Throws:
      WTException
      QueryException
      See Also:
    • process

      public QueryResult process(QueryResult results) throws WTException
      Returns a clone of the results. No processing is done: it is expected that the results have already been pre-filtered by the search.

      Supported API: true
      Parameters:
      results - QueryResult of iterations to filter. Assumed to be the result of a query that included the additional search conditions applied by appendSearchCriteria. Note that after enumerating through the elements of this QueryResult, it should be reset.
      Returns:
      QueryResult
      Throws:
      WTException
      See Also: