Class AMConfigurationDelegate
java.lang.Object
com.ptc.windchill.associativity.accountability.delegate.AMConfigurationDelegate
- Direct Known Subclasses:
DefaultAMConfigurationDelegate
Accountability map configuration delegate
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionabstract Map<AccountabilityKeyType, Set<AssociativePath>> getConfiguredTypesPaths(AccountabilityMap accountabilityMap) Reads wt.property file for the property: accountabilityMap.newConfiguration.validTypes Take paths form AccountabilityMap.protected abstract booleancheck if given path is valid for configuration.abstract voidpopulateAccountabilityMap(AccountabilityMap sourceAccMap, AccountabilityMap targetAccMap) Copies all the soft attributes set on source accountability map to the target.
-
Method Details
-
getConfiguredTypesPaths
public abstract Map<AccountabilityKeyType,Set<AssociativePath>> getConfiguredTypesPaths(AccountabilityMap accountabilityMap) throws WTException Reads 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
- Parameters:
accountabilityMap-- Returns:
- Map (key:AccountabilityKeyType, value: List(AssociativePath))
- Throws:
WTException
-
isPathValidForConfiguration
check 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
- Parameters:
path-- Returns:
- Throws:
WTException
-
populateAccountabilityMap
public abstract void populateAccountabilityMap(AccountabilityMap sourceAccMap, AccountabilityMap targetAccMap) throws WTException Copies all the soft attributes set on source accountability map to the target.
Supported API: true
- Parameters:
sourceAccMap-targetAccMap-- Throws:
WTException
-