|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.esi.utl.ESIMessages
Provides consistent localized messages for all ESI classes.
Supported API: true
Extendable: false
Field Summary | |
static String |
ALL
|
private static String |
CLASSNAME
|
private static String |
ESI_RESOURCE
|
static String |
NONE
|
private static String |
RESOURCE
|
static String |
SOME
|
Constructor Summary | |
ESIMessages()
|
Method Summary | |
static String |
getAssignmentScopeMessage(String msg)
Returns the assignment scope message. |
static String |
getBOMUnchangedError()
Returns localized version of "The selected BOM has not changed since the last successful release by ESI". |
static String |
getChangeActivityDescription()
Returns localized version of "ESI generated change activity". |
static String |
getChangeActivityName()
Returns localized version of "ESI generated change activity". |
static String |
getChangeOrderDescription()
Returns localized version of "ESI generated change order". |
static String |
getChangeOrderName()
Returns localized version of "ESI generated change order". |
static String |
getChangeRequestDescription()
Returns localized version of "ESI generated change request". |
static String |
getChangeRequestName()
Returns localized version of "ESI generated change request". |
static String |
getDeleteActiveTransactionError()
Returns localized version of "The transaction cannot be deleted because it still active". |
static String |
getDeletePartWithHistoryError()
Returns localized version of "The ESI target cannot be deleted because it has associated ESI release activity entries". |
static String |
getDeletePartWithTransactionError()
Returns localized version of "The part cannot be deleted because it has associated ESI transaction entries". |
static String |
getDeleteTargetWithAssignmentsError()
Returns localized version of "The ESI target cannot be deleted because it has been assigned as a destination". |
static String |
getDeleteTargetWithHistoryError()
Returns localized version of "The ESI target cannot be deleted because it has associated release activity entries". |
static String |
getDeleteTargetWithOrganizationsError()
Returns localized version of "The ESI target cannot be deleted because it has associated WTOrganization entries". |
static String |
getInconsistentClasses()
Returns localized version of "The argument collection contained multiple classes". |
static String |
getInconsistentTransactionError()
Returns localized version of "An ESI Virtual Database Builder has been given inconsistent transaction numbers". |
static String |
getInvalidActionError()
Returns localized version of "Action must be ADD, CHANGE, or DELETE". |
static String |
getInvalidBooleanArgumentError()
Returns localized version of "The argument was neither 'true' nor 'false' ". |
static String |
getInvalidChangeableError()
Returns localized version of "The Change Object has an invalid changeable". |
static String |
getInvalidUfidError(String ufid)
Returns localized version of "The argument ' |
static String |
getInvalidUserError(String user)
Returns localized version of "The argument ' |
private static Locale |
getLocale()
|
static String |
getMissingArgumentError()
Returns localized version of "Missing argument". |
static String |
getMissingArgumentError(String paramName)
|
static String |
getMissingComponentQuantityError()
Returns localized version of "You may not publish components when the quantity is 0" Supported API: true |
static String |
getMissingFileError()
Returns localized version of "Could not find file". |
static String |
getMissingOrgAssignmentError()
Returns localized version of "No target assignment for object". |
static String |
getMissingOrgError()
Returns localized version of "Could not find ESI target". |
static String |
getMissingParameter(String paramName)
Returns localized version of "The following required parameter is missing: " with the argument appended. |
static String |
getMissingTransactionError(String txnID)
Returns localized version of "The ESI transaction ' |
static String |
getMultipleOccurancesError(String assemblyPartNumber)
Get localized version of "This part appears in multiple locations on the product structure that has part number: ". |
static String |
getNoESIMessageLog()
Returns localized version of "There is no log message". |
static String |
getNoLineNumberError(WTPart part)
Return localized version of "At least one component of ' Supported API: true |
static String |
getNoRpcResponseError()
Returns localized version of "An ESI Remote Procedure Call request returned no result". |
static String |
getNotFoundSourceLocaleError(Locale locale)
|
static String |
getPartUnchangedError()
Returns localized version of "The selected Part has not changed since the last successful publishing by ESI". |
static String |
getPendingMessage()
Returns localized version of "pending". |
static String |
getPendingTransactionError()
Returns localized version of "The object cannot be published because another publishing request is already active". |
static String |
getPropertiesError()
Returns the result of getMissingFileError(). |
static String |
getSuccessFailureMsg(String success)
If the argument is "true" (case-insensitive) return localized version of "success"; otherwise return localized value of "failure". |
static String |
getTargetAlreadyExistsError()
Returns localized version of "No database action was required". |
static String |
getTargetAlreadyExistsError(String targetNames)
Returns localized version of "Target: targetNames already assigned". |
static String |
getTargetIsPublishedError(String targetName)
Return localized version of "You may not remove a distribution target assignment once an object has been published" Supported API: true |
static String |
getTransactionNumberFormatError()
Return localized version of "Transaction number is in number format only." Supported API: true |
static String |
getUnsupportedLocaleError(Locale locale)
Return localized version of "Locale: ' Supported API: true |
static String |
getWarningMessagesError()
Get localized version of "The transaction had one or more warning messages". |
static void |
main(String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final String ALL
public static final String SOME
public static final String NONE
private static final String ESI_RESOURCE
Constructor Detail |
public ESIMessages()
Method Detail |
public static final String getAssignmentScopeMessage(String msg)
msg
- Should be "FULL", "SOME", or "NONE".
public static final String getBOMUnchangedError()
public static final String getChangeActivityDescription()
public static final String getChangeActivityName()
public static final String getChangeOrderDescription()
public static final String getChangeOrderName()
public static final String getChangeRequestDescription()
public static final String getChangeRequestName()
public static final String getDeleteActiveTransactionError()
public static final String getDeletePartWithHistoryError()
public static final String getDeletePartWithTransactionError()
public static final String getDeleteTargetWithAssignmentsError()
public static final String getDeleteTargetWithHistoryError()
public static final String getDeleteTargetWithOrganizationsError()
public static final String getInconsistentClasses()
public static final String getInconsistentTransactionError()
public static final String getInvalidActionError()
public static final String getInvalidBooleanArgumentError()
public static final String getInvalidChangeableError()
public static final String getInvalidUfidError(String ufid)
ufid
-
public static final String getInvalidUserError(String user)
user
-
public static final String getMissingArgumentError()
public static final String getMissingComponentQuantityError()
public static final String getMissingFileError()
public static final String getMissingOrgAssignmentError()
public static final String getMissingOrgError()
public static final String getMissingParameter(String paramName)
paramName
-
public static final String getMissingTransactionError(String txnID)
txnID
-
public static final String getNoESIMessageLog()
public static final String getNoLineNumberError(WTPart part)
part
-
public static final String getNoRpcResponseError()
public static final String getPartUnchangedError()
public static final String getPendingMessage()
public static final String getPendingTransactionError()
public static final String getPropertiesError()
public static final String getSuccessFailureMsg(String success)
success
-
public static final String getTargetAlreadyExistsError()
public static final String getTargetAlreadyExistsError(String targetNames)
targetNames
- The target names to be passed into the localized message.
public static final String getTransactionNumberFormatError()
public static final String getTargetIsPublishedError(String targetName)
targetName
-
public static final String getUnsupportedLocaleError(Locale locale)
locale
- The unsupported locale
public static final String getWarningMessagesError()
public static final String getMultipleOccurancesError(String assemblyPartNumber)
assemblyPartNumber
-
public static final String getMissingArgumentError(String paramName)
public static void main(String[] args)
private static Locale getLocale()
public static final String getNotFoundSourceLocaleError(Locale locale)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |