Class DefaultAMConfigurationDelegate
java.lang.Object
com.ptc.windchill.associativity.accountability.delegate.AMConfigurationDelegate
com.ptc.windchill.associativity.accountability.delegate.DefaultAMConfigurationDelegate
Default implementation for AMConfigurationDelegate
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptionReads wt.property file for the property: accountabilityMap.newConfiguration.validTypes Take paths form AccountabilityMap.protected booleancheck if given path is valid for configuration.voidpopulateAccountabilityMap(AccountabilityMap sourceAccMap, AccountabilityMap targetAccMap) Allows user to populate more info on the accountability map.
-
Method Details
-
getConfiguredTypesPaths
public Map<AccountabilityKeyType,Set<AssociativePath>> getConfiguredTypesPaths(AccountabilityMap accMap) throws WTException Description copied from class:AMConfigurationDelegateReads wt.property file for the property: accountabilityMap.newConfiguration.validTypes Take paths form AccountabilityMap. Expands those paths till the types specified in above files are reached. Return those AssociativePath for each AccountabilityKeyType If the property is not set or it is invalid for the given paths in AM, then empty map or empty paths for the AccountabilityKeyType would be returned.
Supported API: true
- Specified by:
getConfiguredTypesPathsin classAMConfigurationDelegate- Parameters:
accMap-- Returns:
- Throws:
WTException
-
isPathValidForConfiguration
Description copied from class:AMConfigurationDelegatecheck if given path is valid for configuration. If yes, don't expand the node below and pick the node path for new configuration.
Supported API: true
- Specified by:
isPathValidForConfigurationin classAMConfigurationDelegate- Parameters:
path-- Returns:
- boolean
- Throws:
WTException
-
populateAccountabilityMap
public void populateAccountabilityMap(AccountabilityMap sourceAccMap, AccountabilityMap targetAccMap) throws WTException Allows user to populate more info on the accountability map. Provided blank implementation by default.
Supported API: true
- Specified by:
populateAccountabilityMapin classAMConfigurationDelegate- Parameters:
sourceAccMap-targetAccMap-- Throws:
WTException
-