Solution
Use the out-of-the-box configuration and customization hooks to fetch the change objects.
Prerequisite Knowledge
To achieve the objective, you need to understand the following:
Basic development involving Java.
Windchill xconfmanager and delegate concepts.
Solution Elements
QuickSearchQueryDelegate: Interface to define a custom or default delegate. You can extend this interface or the DefaultQuickSearchQueryDelegate class that follows.
DefaultQuickSearchQueryDelegate: Default implementation of QuickSearchQueryDelegate.
An example of out-of-the-box configuration follows. The xconf file for configuration: associativity.service.properties.xconf, is located at codebase\com\ptc\windchill\associativity\xconfs.
<!-- ECNQuerySearch delegate-->
<Service context="default" name="com.ptc.windchill.baseclient.server.delegate.QuickSearchQueryDelegate">
<Option cardinality="duplicate" requestor="null" serviceClass="com.ptc.windchill.baseclient.server.delegate.DefaultQuickSearchQueryDelegate" selector="default" />
</Service>
¿Fue esto útil?