Class EnterpriseDataUtility

java.lang.Object
com.ptc.windchill.esi.enterprisedata.EnterpriseDataUtility

public final class EnterpriseDataUtility extends Object
This class is the public interface to the enterprise data package. It provides generally useful methods for clients external to the package.

Supported API: true

Extendable: false
  • Method Details

    • isEnterpriseDataEnabled

      public static boolean isEnterpriseDataEnabled(WTContained containedObject)
      Checks if Enterprise Data publication is enabled for ESI. Returns true when MPMLink is installed and following preference are turned on.
      • Publish ERP Material Information
      • Publish Plant Specific Attributes


      Supported API: true
      Parameters:
      containedObject - - The WTContained object.
      Returns:
      - Value 'true' when MPMLink is installed and "Publish ERP Material Information" or "Publish Plant Specific Attributes" preferences are turned on, otherwise 'false'.
    • isCommonEnterpriseDataEnabled

      public static boolean isCommonEnterpriseDataEnabled(WTContained containedObject)
      Checks if Enterprise Data publication is enabled for ESI. Returns true when MPMLink is installed and "Publish ERP Material Information" preference is turned on.

      Supported API: true
      Parameters:
      containedObject - - The WTContained object.
      Returns:
      - Value 'true' when MPMLink is installed and "Publish ERP Material Information" preference is turned on, otherwise 'false'.
    • isPlantSpecificEnterpriseDataEnabled

      public static boolean isPlantSpecificEnterpriseDataEnabled(WTContained containedObject)
      Checks if Plant Specifica Enterprise Data publication is enabled for ESI. Returns true when MPMLink is installed and "Publish Plant Specific Attributes" preference is turned on.

      Supported API: true
      Parameters:
      containedObject - - The WTContained object.
      Returns:
      - Value 'true' when MPMLink is installed and "Publish Plant Specific Attributes" preference is turned on, otherwise 'false'.
    • hasEnterpriseDataAssociated

      public static boolean hasEnterpriseDataAssociated(WTPart part, NCServerHolder ncServerHolder)
      Returns true if part has EnterpriseData associated with it, otherwise false.

      Supported API: true
      Parameters:
      part - - The part whith which EnterpriseData objects may be associted.
      ncServerHolder - - The ncServerHolder holds navigation criteria
      Returns:
      - The value 'true' if part has EnterpriseData associated with it, otherwise false
    • hasPlantDataAssociated

      public static boolean hasPlantDataAssociated(WTPart part, NCServerHolder ncServerHolder)
      Returns true if part has Plant data associated with it, otherwise false.

      Supported API: true
      Parameters:
      part - - The part whith which Plant data objects may be associted.
      ncServerHolder - - The ncServerHolder holds navigation criteria
      Returns:
      - The value 'true' if part has PLant data associated with it, otherwise false