Working with the Transform Registry
Follow these steps to work with the Transform Registry (TR):
1. Identify the identifying attributes associated with an object and record them in an XML file (refer to IMANConfig.xml).
2. Pass the XML file to IMAN Manager.
Use the API IMANManager.identify():
public void identify(String imanFile, String transformRegistryFile) throws Exception { … }
This will give you an updated registry file containing the following:
◦ Unique ID for the each object
◦ Last Publishing date
3. Use this registry information to construct the DCTM_output directory.
4. Prepare a manifest file for all objects that needs to be updated in the TR.
5. Update the TR file.
Use the API IMANManager.saveRegistryEntry:
public void saveRegistryEntry(String manifestFile) throws Exception { … }