PLMSetupDataInterfaces PLMSetupDataGlobalFunctions

Usage: you must use this class as is. You should never derive it.


public class PLMSetupDataGlobalFunctions

Class used to provide global services for the Set Up Data management.

See also:


Method Index


o GetBusinessRuleExecutionManager()
Provides a handler to a business rule execution manager
o GetPLMSetupDataFinder()
Creates a new PLMISetupDataFinder instance.
o GetPLMSetupDataFinder(CATUnicodeString&)
Retrieves the PLMISetupDataFinder instance whose identifier is equal to the given one.
o RemovePLMSetupDataFinder(CATUnicodeString&)
Removes the PLMISetupDataFinder instance whose identifier is equal to the given one.

Methods


o GetBusinessRuleExecutionManager
public static GetBusinessRuleExecutionManager()
Provides a handler to a business rule execution manager
o GetPLMSetupDataFinder
public static GetPLMSetupDataFinder()
Creates a new PLMISetupDataFinder instance. Note that the life cycle of the PLM resources loaded with the returned Setup Data Finder instance is linked to the life cycle of this finder. With this method, the returned Setup Data Finder instance and PLM resources loaded via this finder will be kept in the memory until the V6 session is deleted. Use the methods GetSetupDataFinder(iFinderId) and RemoveSetupDataFinder(iFinderId) instead of this method if you want to easily manage this life cycle.
Returns:
the set up data finder instance created
o GetPLMSetupDataFinder
public static GetPLMSetupDataFinder( const iFinderId)
Retrieves the PLMISetupDataFinder instance whose identifier is equal to the given one. If there is no existing PLMISetupDataFinder instance with this identifer, this method creates a new one and keep it internally. You must use the method RemoveSetupDataFinder with the same identifier to remove this instance once you have finished with its corresponding loaded PLM resources.
Parameters:
iFinderId
Name of the instance to retrieve
Returns:
the set up data finder instance (NULL_var if not found)
o RemovePLMSetupDataFinder
public static RemovePLMSetupDataFinder( const iFinderId)
Removes the PLMISetupDataFinder instance whose identifier is equal to the given one. This will remove all the resource tables managed by this Setup Data Finder instance, and then all the PLM resources loaded from these tables.
Parameters:
iFinderId
Name of the instance to remove
Returns:
standard HRESULT

This object is included in the file: PLMSetupDataGlobalFunctions.h
If needed, your Imakefile.mk should include the module: PLMSetupDataInterfaces

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.