Class AMConfigurationDelegate

java.lang.Object
com.ptc.windchill.associativity.accountability.delegate.AMConfigurationDelegate
Direct Known Subclasses:
DefaultAMConfigurationDelegate

public abstract class AMConfigurationDelegate extends Object
Accountability map configuration delegate
Supported API: true

Extendable: false
  • 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

      protected abstract boolean isPathValidForConfiguration(AssociativePath path) throws WTException
      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