|
SAP NetWeaver 7.30 (SP05) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sap.netweaver.bc.uwl.substitution.SubstitutionStatus
public class SubstitutionStatus
This class provides the detailed status of the substitution definition for each substitution manager's system
| Constructor Summary | |
|---|---|
SubstitutionStatus(int errorCode,
Exception ex,
String providerId,
String systemName)
Create the status with the basic status data: error code(if any), message and system name. |
|
SubstitutionStatus(int errorCode,
Exception ex,
String providerId,
String systemName,
boolean ignoreUnknownProblem)
|
|
SubstitutionStatus(int errorCode,
String message,
String providerId,
String systemName)
Create the status with the basic status data: error code(if any), message and system name. |
|
SubstitutionStatus(int errorCode,
String message,
String providerId,
String systemName,
boolean ignoreUnknownProblem)
Create the status with the basic status data: error code(if any), message and system name. |
|
SubstitutionStatus(String providerId,
String systemName,
Locale lc)
Create the good status with the basic status data: system name. |
|
| Method Summary | |
|---|---|
void |
appendMessage(String message)
|
int |
getErrorCode()
|
String |
getErrorMessage()
|
String |
getProviderId()
|
String |
getSystemName()
|
boolean |
isFailed()
if the substitution action is considered to be a real error. |
boolean |
isReConnectable()
|
boolean |
isSuccess()
If the substitution action is successful. |
void |
setErrorCode(int errCode)
|
void |
setMessage(String message)
|
void |
setSystemName(String sysName)
|
void |
supressMinorProblem()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SubstitutionStatus(String providerId,
String systemName,
Locale lc)
providerId - name of the substitution manager providersystemName - Name of the system, required.lc - The user locale for the successful message.
public SubstitutionStatus(int errorCode,
String message,
String providerId,
String systemName)
errorCode - Codes found in class com.sap.netweaver.bc.uwl.ErrorMessages.
If no error, use 0. Any error code other than 0 will have failed status.message - Error message. Leave it empty if there is none.providerId - name of the substitution manager providersystemName - Name of the system, required.
public SubstitutionStatus(int errorCode,
Exception ex,
String providerId,
String systemName)
errorCode - Codes found in class com.sap.netweaver.bc.uwl.ErrorMessages.
If no error, use 0. Any error code other than 0 will have failed status.ex - Exception. Name and error message will be extracted for the status.providerId - name of the substitution manager providersystemName - Name of the system, required.
public SubstitutionStatus(int errorCode,
String message,
String providerId,
String systemName,
boolean ignoreUnknownProblem)
errorCode - Codes found in class com.sap.netweaver.bc.uwl.ErrorMessages.
If no error, use 0. Only major known error code will have failed status.message - Error message. Leave it empty if there is none.providerId - name of the substitution manager providersystemName - Name of the system, required.ignoreUnknownProblem - true if only major known error is considered to be failed (eg. provider internal error)
public SubstitutionStatus(int errorCode,
Exception ex,
String providerId,
String systemName,
boolean ignoreUnknownProblem)
| Method Detail |
|---|
public int getErrorCode()
public String getErrorMessage()
public boolean isSuccess()
public boolean isFailed()
public void supressMinorProblem()
public String getSystemName()
public void setSystemName(String sysName)
public String getProviderId()
public void setMessage(String message)
public void appendMessage(String message)
public void setErrorCode(int errCode)
public boolean isReConnectable()
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] UWLJWF
|
[sap.com] tc/kmc/bc.uwl/api
|
-
|
EP-BC-UWL
|
[sap.com] UWLJWF
|
[sap.com] tc/kmc/bc.uwl/api
|
default
|
EP-BC-UWL
|
|
SAP NetWeaver 7.30 (SP05) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||