Class EnterpriseDataUtility
java.lang.Object
com.ptc.windchill.esi.enterprisedata.EnterpriseDataUtility
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
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanhasEnterpriseDataAssociated(WTPart part, NCServerHolder ncServerHolder) Returns true if part has EnterpriseData associated with it, otherwise false.static booleanhasPlantDataAssociated(WTPart part, NCServerHolder ncServerHolder) Returns true if part has Plant data associated with it, otherwise false.static booleanisCommonEnterpriseDataEnabled(WTContained containedObject) Checks if Enterprise Data publication is enabled for ESI.static booleanisEnterpriseDataEnabled(WTContained containedObject) Checks if Enterprise Data publication is enabled for ESI.static booleanisPlantSpecificEnterpriseDataEnabled(WTContained containedObject) Checks if Plant Specifica Enterprise Data publication is enabled for ESI.
-
Method Details
-
isEnterpriseDataEnabled
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
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
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
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
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
-