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 Summary
Modifier and TypeMethodDescriptionappendSearchCriteria(QuerySpec querySpec) Appends a "folder = getFolder() OR folder = subFolder OR ..." to the QuerySpec.process(QueryResult results) Returns a clone of the results.
-
Method Details
-
appendSearchCriteria
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:
WTExceptionQueryException- See Also:
-
process
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:
-