Package com.ptc.windchill.esi.utl
Class ESIMessages
java.lang.Object
com.ptc.windchill.esi.utl.ESIMessages
Provides consistent localized messages for all ESI classes.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionstatic final StringReturns the localized version of the message, "The selected Bill of Materials has not changed since it was last successfully published.".static final StringgetCADStructureUnchangedError(String identity) Returns the localized version of the message, "The selected CAD document <identity> has not changed since it was last successfully published.".static final StringReturns localized version of "ESI generated change activity".static final StringReturns localized version of "ESI generated change activity".static final StringReturns localized version of "ESI generated change order".static final StringReturns localized version of "ESI generated change order".static final StringReturns localized version of "ESI generated change request".static final StringReturns localized version of "ESI generated change request".static final StringgetCheckLinkHistoryWarning(Class linkClass) Returns the localized version of the message, "Cannot update the release status for the unchanged link of type <type>, as no release history is available for such links."
Supported API: truestatic final StringReturns localized version of "The transaction cannot be deleted because it still active".static final StringReturns localized version of "The ESI target cannot be deleted because it has associated ESI release activity entries".static final StringReturns localized version of "The part cannot be deleted because it has associated ESI transaction entries".static final StringReturns localized version of "The ESI target cannot be deleted because it has been assigned as a destination".static final StringReturns localized version of "The ESI target cannot be deleted because it has associated release activity entries".static final StringReturns localized version of "The ESI target cannot be deleted because it has associated WTOrganization entries".static final StringReturns the localized version of the message, "Resubmit the ESI failure after making corrections to your system, as appropriate."
Supported API: truestatic final StringReturns the localized version of the message, "Message associated with the exception caused by the error:"
Supported API: truestatic final StringReturns localized version of "The argument collection contained multiple classes".static final StringReturns localized version of "An ESI Virtual Database Builder has been given inconsistent transaction numbers".static final StringReturns localized version of "Action must be ADD, CHANGE, or DELETE".static final StringReturns localized version of "The argument was neither 'true' nor 'false' ".static final StringReturns localized version of "The Change Object has an invalid changeable".static final StringgetInvalidUfidError(String ufid) Returns localized version of "The argument '<argument>' is not a valid Unique Federation Identifier".static final StringgetInvalidUserError(String user) Returns localized version of "The argument '<argument>' is not a properly formatted user".static final StringReturns the localized version of the message, "There are multiple distribution targets associated to a transaction with the ID: <ID>".static final StringReturns the localized version of the message, "An error occurred while creating transactions for targets.static final StringReturns the localized version of the message, "One or more warning messages were received while processing the release".static final StringReturns the localized version of the message, "An error occurred while generating the ESI response.static final StringgetMessageForResponseSenderError(String distributionTargetNumber) Returns the localized version of the message, "An error occurred while sending the ESI response to the distribution target "<argument>".static final StringReturns localized version of "Missing argument".static final StringReturns localized version of "You may not publish components when the quantity is 0"
Supported API: truestatic final StringReturns localized version of "Could not find file".static final StringReturns localized version of "No target assignment for object".static final StringReturns localized version of "Could not find ESI target".static final StringgetMissingParameter(String paramName) Returns localized version of "The following required parameter is missing: " with the argument appended.static final StringgetMissingTargetAssignmentError(String identity) Returns localized version of "The object being published does not have distribution targets assigned to it.".static final StringgetMissingTargetAssignmentsError(String identity) Returns localized version of "The following objects being published does not have distribution targets assigned to it.".static final StringgetMissingTransactionError(String txnID) Returns localized version of "The ESI transaction '<argument>' did not exist in the database".static final StringgetNoChangeablesIncorrectUserConfigurationError(String objectIdentifier) Returns the localized version of the message, "No changeables were found for the Change Notice <identifier>, possibly owing to an inappropriately configured publishing user.static final StringReturns the localized version of the message, "User does not have necessary permissions to create baselines."
Supported API: truestatic final StringReturns the localized version of the message, "User does not have necessary permissions to write in the default folder location in organization context."
Supported API: truestatic final StringReturns localized version of "There is no log message".static final StringReturns the localized version of the message, "User does not have necessary permissions to write in the folder specified by 'Folder where baselines will be created' preference."
Supported API: truestatic final StringgetNoLineNumberError(WTPart part) Return localized version of "At least one component of '<argument>' does not have a line number."
Supported API: truestatic final StringgetNoMatchingVersionFoundError(String identity) Returns the localized version of "No qualifying version found for the master <identity>, either because the user does not have the necessary privileges to access the version or there is no version defined that matches the configuration specification."
Supported API: truestatic final StringReturns localized version of "An ESI Remote Procedure Call request returned no result".static final StringgetObjectUnchangedError(String identity) Returns the localized version of the message, "The selected object <identity> has not changed since it was last successfully published."
Supported API: truestatic final StringReturns the localized version of the message, "User does not have necessary permissions to write in the default folder location in organization context."
Supported API: truestatic final StringReturns the localized version of the message, "The selected part has not changed since it was last successfully published".static final StringReturns localized version of "pending".static final StringReturns localized version of "The object cannot be published because another publishing request is already active".static final StringReturns localized version of "The selected Process Plan has not changed since the last successful release by ESI".static final StringReturns the result of getMissingFileError().static final StringReturns localized version of
Publication of {1} is not supported, since its class does not implement the interface "Releasable".static final StringReturns localized version of
Unable to find user hence using administrator to initiate publication for \"{0}\" .static final StringReturns the localized version of the message, "The release status has been updated by the administrator."
Supported API: truestatic final StringgetSuccessFailureMsg(String success) If the argument is "true" (case-insensitive) return localized version of "success"; otherwise return localized value of "failure".static final StringReturns localized version of "No database action was required".static final StringgetTargetAlreadyExistsError(String targetNames) Returns localized version of "Distribution target targetNames already assigned".static final StringgetTargetIsPublishedError(String targetName) Return localized version of "You may not remove a distribution target assignment once an object has been published"
Supported API: truestatic final StringReturn localized version of "Transaction number is in number format only."
Supported API: truestatic final StringgetUnsupportedLocaleError(Locale locale) Return localized version of "Locale: '<argument>' is not a supported locale"
Supported API: truestatic final StringGet localized version of "The transaction had one or more warning messages".
-
Method Details
-
getBOMUnchangedError
Returns the localized version of the message, "The selected Bill of Materials has not changed since it was last successfully published.".
Supported API: true- Returns:
- String
-
getChangeActivityDescription
Returns localized version of "ESI generated change activity".
Supported API: true- Returns:
- String
-
getChangeActivityName
Returns localized version of "ESI generated change activity".
Supported API: true- Returns:
- String
-
getChangeOrderDescription
Returns localized version of "ESI generated change order".
Supported API: true- Returns:
- String
-
getChangeOrderName
Returns localized version of "ESI generated change order".
Supported API: true- Returns:
- String
-
getChangeRequestDescription
Returns localized version of "ESI generated change request".
Supported API: true- Returns:
- String
-
getChangeRequestName
Returns localized version of "ESI generated change request".
Supported API: true- Returns:
- String
-
getDeleteActiveTransactionError
Returns localized version of "The transaction cannot be deleted because it still active".
Supported API: true- Returns:
- String
-
getDeletePartWithHistoryError
Returns localized version of "The ESI target cannot be deleted because it has associated ESI release activity entries".
Supported API: true- Returns:
- String
-
getDeletePartWithTransactionError
Returns localized version of "The part cannot be deleted because it has associated ESI transaction entries".
Supported API: true- Returns:
- String
-
getDeleteTargetWithAssignmentsError
Returns localized version of "The ESI target cannot be deleted because it has been assigned as a destination".
Supported API: true- Returns:
- String
-
getDeleteTargetWithHistoryError
Returns localized version of "The ESI target cannot be deleted because it has associated release activity entries".
Supported API: true- Returns:
- String
-
getDeleteTargetWithOrganizationsError
Returns localized version of "The ESI target cannot be deleted because it has associated WTOrganization entries".
Supported API: true- Returns:
- String
-
getInconsistentClasses
Returns localized version of "The argument collection contained multiple classes".
Supported API: true- Returns:
- String
-
getInconsistentTransactionError
Returns localized version of "An ESI Virtual Database Builder has been given inconsistent transaction numbers".
Supported API: true- Returns:
- String
-
getInvalidActionError
Returns localized version of "Action must be ADD, CHANGE, or DELETE". The action codes in upper case are not localizable.
Supported API: true- Returns:
- String
-
getInvalidBooleanArgumentError
Returns localized version of "The argument was neither 'true' nor 'false' ".
Supported API: true- Returns:
- String
-
getInvalidChangeableError
Returns localized version of "The Change Object has an invalid changeable".
Supported API: true- Returns:
- String
-
getInvalidUfidError
Returns localized version of "The argument '<argument>' is not a valid Unique Federation Identifier".
Supported API: true- Parameters:
ufid-- Returns:
- String
-
getInvalidUserError
Returns localized version of "The argument '<argument>' is not a properly formatted user".
Supported API: true- Parameters:
user-- Returns:
- String
-
getMissingArgumentError
Returns localized version of "Missing argument".
Supported API: true- Returns:
- String
-
getMissingComponentQuantityError
Returns localized version of "You may not publish components when the quantity is 0"
Supported API: true- Returns:
- String
-
getMissingFileError
Returns localized version of "Could not find file".
Supported API: true- Returns:
- String
-
getMissingOrgAssignmentError
Returns localized version of "No target assignment for object".
Supported API: true- Returns:
- String
-
getMissingOrgError
Returns localized version of "Could not find ESI target".
Supported API: true- Returns:
- String
-
getMissingParameter
Returns localized version of "The following required parameter is missing: " with the argument appended.
Supported API: true- Parameters:
paramName-- Returns:
- String
-
getMissingTransactionError
Returns localized version of "The ESI transaction '<argument>' did not exist in the database".
Supported API: true- Parameters:
txnID-- Returns:
- String
-
getNoESIMessageLog
Returns localized version of "There is no log message".
Supported API: true- Returns:
- String
-
getNoLineNumberError
Return localized version of "At least one component of '<argument>' does not have a line number."
Supported API: true- Parameters:
part-- Returns:
- String
-
getNoRpcResponseError
Returns localized version of "An ESI Remote Procedure Call request returned no result".
Supported API: true- Returns:
- String
-
getPartUnchangedError
Returns the localized version of the message, "The selected part has not changed since it was last successfully published".
Supported API: true- Returns:
- String
-
getPendingMessage
Returns localized version of "pending".
Supported API: true- Returns:
- String
-
getPendingTransactionError
Returns localized version of "The object cannot be published because another publishing request is already active".
Supported API: true- Returns:
- String
-
getPropertiesError
Returns the result of getMissingFileError().
Supported API: true- Returns:
- String
-
getSuccessFailureMsg
If the argument is "true" (case-insensitive) return localized version of "success"; otherwise return localized value of "failure".
Supported API: true- Parameters:
success-- Returns:
- String
-
getTargetAlreadyExistsError
Returns localized version of "No database action was required".
Supported API: true- Returns:
- String
-
getTargetAlreadyExistsError
Returns localized version of "Distribution target targetNames already assigned".
Supported API: true- Parameters:
targetNames- The target names to be passed into the localized message.- Returns:
- String
-
getTransactionNumberFormatError
Return localized version of "Transaction number is in number format only."
Supported API: true- Returns:
- String
-
getTargetIsPublishedError
Return localized version of "You may not remove a distribution target assignment once an object has been published"
Supported API: true- Parameters:
targetName-- Returns:
- String
-
getUnsupportedLocaleError
Return localized version of "Locale: '<argument>' is not a supported locale"
Supported API: true- Parameters:
locale- The unsupported locale- Returns:
- String
-
getWarningMessagesError
Get localized version of "The transaction had one or more warning messages".
Supported API: true- Returns:
- String
-
getMessageForReleaseWarnings
Returns the localized version of the message, "One or more warning messages were received while processing the release".
Supported API: true- Returns:
- String
-
getProcessPlanUnchangedError
Returns localized version of "The selected Process Plan has not changed since the last successful release by ESI".
Supported API: true- Returns:
- String
-
getNoMatchingVersionFoundError
Returns the localized version of "No qualifying version found for the master <identity>, either because the user does not have the necessary privileges to access the version or there is no version defined that matches the configuration specification."
Supported API: true- Returns:
- String
-
getMessageForPreprocessingError
Returns the localized version of the message, "An error occurred while creating transactions for targets. See the error logs for more information.".
Supported API: true- Returns:
- String
-
getMessageForResponseGenError
Returns the localized version of the message, "An error occurred while generating the ESI response. See the error logs for more information.".
Supported API: true- Returns:
- String
-
getMessageForResponseSenderError
Returns the localized version of the message, "An error occurred while sending the ESI response to the distribution target "<argument>". See the error logs for more information.".
Supported API: true- Parameters:
distributionTargetNumber- - Number of the distribution target to be used in the output error message.- Returns:
- Localized version of the error message.
-
getMessageForMultipleTgtsInTxnError
Returns the localized version of the message, "There are multiple distribution targets associated to a transaction with the ID: <ID>".
Supported API: true- Parameters:
txnId- ID of the given transaction.- Returns:
- String - localized verson of the error message.
-
getESIReleaseFailureMsg
Returns the localized version of the message, "Resubmit the ESI failure after making corrections to your system, as appropriate."
Supported API: true- Returns:
- String - localized verson of the message.
-
getHeadingForExceptionMsg
Returns the localized version of the message, "Message associated with the exception caused by the error:"
Supported API: true- Returns:
- String - localized verson of the message.
-
getReleaseUpdateMessage
Returns the localized version of the message, "The release status has been updated by the administrator."
Supported API: true- Returns:
- String - localized verson of the message.
-
getCADStructureUnchangedError
Returns the localized version of the message, "The selected CAD document <identity> has not changed since it was last successfully published.".
Supported API: true- Parameters:
identity- A string that is representative of the CAD document for which to return the message.- Returns:
- String
-
getObjectUnchangedError
Returns the localized version of the message, "The selected object <identity> has not changed since it was last successfully published."
Supported API: true- Parameters:
identity- A string that is representative of the object for which to return the message.- Returns:
- String
-
getMissingTargetAssignmentError
Returns localized version of "The object being published does not have distribution targets assigned to it.".
Supported API: true- Parameters:
identity- - Display identity of the object for which this message need to be displayed.- Returns:
- Localized version of the message "The object being published does not have distribution targets assigned to it.". Returned message will have the object identity embedded in it.
-
getCheckLinkHistoryWarning
Returns the localized version of the message, "Cannot update the release status for the unchanged link of type <type>, as no release history is available for such links."
Supported API: true- Parameters:
linkClass- - Class instance for the object for which to return the message.- Returns:
- Localized version of the message, "Cannot update the release status for the unchanged link of type <type>, as no release history is available for such links."
-
getMissingTargetAssignmentsError
Returns localized version of "The following objects being published does not have distribution targets assigned to it.".
Supported API: true- Parameters:
identity- - Display identity of the object for which this message need to be displayed.- Returns:
- Localized version of the message "The following objects being published does not have distribution targets assigned to it.". Returned message will have the object identity embedded in it.
-
getPublishObjectNonReleasableError
Returns localized version of
Publication of {1} is not supported, since its class does not implement the interface "Releasable".
Supported API: true- Parameters:
identity- - Display identity of the object for which this message need to be displayed.- Returns:
- Localized version of the message Publication of {1} is not supported, since its class does not implement the interface "Releasable". Returned message will have the localized object identity embedded in it.
-
getPublishObjectUserNotFoundWarning
Returns localized version of
Unable to find user hence using administrator to initiate publication for \"{0}\" .
Supported API: true- Parameters:
identity- - Display identity of the object for which this message need to be displayed.- Returns:
- Localized version of the message Unable to find user hence using administrator to initiate publication for \"{0}\". Returned message will have the localized object identity embedded in it.
-
getNoFolderPermissionError
Returns the localized version of the message, "User does not have necessary permissions to write in the folder specified by 'Folder where baselines will be created' preference."
Supported API: true- Returns:
- String
-
getNoDefaultFolderPermissionError
Returns the localized version of the message, "User does not have necessary permissions to write in the default folder location in organization context."
Supported API: true- Returns:
- String
-
getNoCreateBaselinePermissionError
Returns the localized version of the message, "User does not have necessary permissions to create baselines."
Supported API: true- Returns:
- String
-
getNoChangeablesIncorrectUserConfigurationError
Returns the localized version of the message, "No changeables were found for the Change Notice <identifier>, possibly owing to an inappropriately configured publishing user. See the MethodServer logs for more information."
Supported API: true- Parameters:
objectIdentifier- - Identifier of the Change Notice for which to fetch the output message.- Returns:
- Localized version of the output message, if it was fetched successfully; otherwise, the English message.
-
getPartResourceValidatonErrorForBOM
Returns the localized version of the message, "User does not have necessary permissions to write in the default folder location in organization context."
Supported API: true- Returns:
- String
-