|
SAP NetWeaver 7.30 (SP02) 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.SubstitutionResult
public final class SubstitutionResult
This class contains the result set from
IProviderSubstitutionManager that involves multiple records in the result,
like methods createSubstitutions(), removeSubstitutions().
This can clearly presents both the successful and bad results when multiple actions are carried out.
com.sap.netweaver.bc.uwl.connect.IProviderSubstitutionManager| Field Summary | |
|---|---|
static int |
TYPE_ALL_BAD
Indicates that none of the requested records can be processed |
static int |
TYPE_ALL_GOOD
Indicates that all the requested records are processed successfully |
static int |
TYPE_PARTIAL
Indicates that only part of the requested records are processed successfully while part of them are not |
static int |
TYPE_UNKNOWN
|
| Method Summary | |
|---|---|
void |
addToBadResult(List badList)
Append to the bad substitution result list |
void |
addToGoodResult(List goodList)
Append to the good substitution result list |
static SubstitutionResult |
createBadResult(List badSubs,
ProviderStatus stat)
Creates a totally failed substitution result set |
static SubstitutionResult |
createGoodResult(List goodSubs,
ProviderStatus stat)
Creates a totally successful substitution result set |
static SubstitutionResult |
createResults(List goodSubs,
List badSubs,
ProviderStatus stat)
Creates a result set capturing info about both successful and unsuccessful results. |
List |
getbadSubstitutions()
|
List |
getGoodSubstitutions()
|
Date |
getSystemTimestamp()
|
boolean |
hasError()
For Create & switchON: return true if not doable in ALL systems. |
boolean |
isResultAllBad()
|
boolean |
isResultAllGood()
|
boolean |
isResultPartial()
|
boolean |
isResultUnknown()
|
void |
setResultKnownProblem()
|
void |
setSystemTimestamp(Date time)
Provider substitution manager could retreive the timestamp from a particular host system and set here. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int TYPE_ALL_GOOD
public static final int TYPE_ALL_BAD
public static final int TYPE_PARTIAL
public static final int TYPE_UNKNOWN
| Method Detail |
|---|
public static SubstitutionResult createResults(List goodSubs,
List badSubs,
ProviderStatus stat)
goodSubs - list of good substitutionsbadSubs - list of bad substitutionsstat - can be null
public static SubstitutionResult createGoodResult(List goodSubs,
ProviderStatus stat)
goodSubs - list of all good substitutionsstat - could be null
public static SubstitutionResult createBadResult(List badSubs,
ProviderStatus stat)
badSubs - list of all bad substitutionsstat - could be null
public void addToGoodResult(List goodList)
public void addToBadResult(List badList)
public boolean isResultAllBad()
public boolean isResultAllGood()
public boolean isResultPartial()
public boolean isResultUnknown()
public List getGoodSubstitutions()
public List getbadSubstitutions()
public Date getSystemTimestamp()
public void setSystemTimestamp(Date time)
time - java time value , that is number of milliseconds since 1970 Jan 1.public void setResultKnownProblem()
public boolean hasError()
| 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 (SP02) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||