|
SAP NetWeaver 7.30 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IResultReceiver
Collects report result items.
A IResultReceiver collects items (results and errors) found by
a running report. The result receiver becomes invalid once either
abort() or finish() is called.
Both methods produce a IReportResult which represents the complete
result of the running report.
Copyright (c) SAP AG 2003-2004
| Method Summary | |
|---|---|
IReportResult |
abort(String description,
List propertyNames)
Abort reporting results and retrieve IReportResult object representing all collected, incomplete results and errors. |
IReportResult |
abort(String description,
List propertyNames,
List summaryProps)
Abort reporting results and retrieve IReportResult object representing all collected, incomplete results and errors. |
void |
addError(com.sapportals.wcm.util.uri.RID rid,
String description,
Throwable ex)
Add an error to the collected report results. |
void |
addItem(IResultItem item)
Adds an item to the collected report results. |
void |
checkInterrupt()
This method will throw InterruptedException when the report was terminated by the user. |
IReportResult |
finish(String description,
List propertyNames)
Finish reporting results and retrieve IReportResult object representing all collected results and errors. |
IReportResult |
finish(String description,
List propertyNames,
List summaryProps)
Finish reporting results and retrieve IReportResult object representing all collected results and errors. |
int |
getResultSize()
Retrieve the number of result items, including errors, added so far. |
void |
investigating(com.sapportals.wcm.util.uri.RID currentScope)
Inform the receiver which part of the resource namespace is currently investigated. |
void |
setShowResultItemDescriptions(boolean visible)
Set the visibility of result item descriptions for future display to a user. |
void |
setShowResultItemRIDs(boolean visible)
Set the visibility of result item RIDs for future display to a user. |
| Method Detail |
|---|
int getResultSize()
void addItem(IResultItem item)
throws ResourceException,
InterruptedException
item - to add to result
InterruptedException - when report was terminated from outside (e.g. administrator)
ResourceException - when encountering errors persisting results
void addError(com.sapportals.wcm.util.uri.RID rid,
String description,
Throwable ex)
throws ResourceException,
InterruptedException
rid - where error was encountereddescription - of errorex - exception encountered or null
InterruptedException - when report was terminated from outside (e.g. administrator)
ResourceException - when encountering errors persisting results
IReportResult abort(String description,
List propertyNames)
throws ResourceException,
InterruptedException
description - of report outcomepropertyNames - list of IPropertyNames valid in result items
InterruptedException - when report was terminated from outside (e.g. administrator)
ResourceException - when encountering errors persisting results
IReportResult abort(String description,
List propertyNames,
List summaryProps)
throws ResourceException,
InterruptedException
description - of report outcomepropertyNames - list of IPropertyNames valid in result itemssummaryProps - list of IPropertys which give a summary of the report execution
InterruptedException - when report was terminated from outside (e.g. administrator)
ResourceException - when encountering errors persisting results
IReportResult finish(String description,
List propertyNames)
throws ResourceException,
InterruptedException
description - of report outcomepropertyNames - list of IPropertyNames valid in result items
InterruptedException - when report was terminated from outside (e.g. administrator)
ResourceException - when encountering errors persisting results
IReportResult finish(String description,
List propertyNames,
List summaryProps)
throws ResourceException,
InterruptedException
description - of report outcomepropertyNames - list of IPropertyNames valid in result itemssummaryProps - list of IPropertys which give a summary of the report execution
InterruptedException - when report was terminated from outside (e.g. administrator)
ResourceException - when encountering errors persisting results
void investigating(com.sapportals.wcm.util.uri.RID currentScope)
throws InterruptedException
InterruptedException - when report run should be aborted.
void checkInterrupt()
throws InterruptedException
InterruptedException - when report run should be aborted.void setShowResultItemRIDs(boolean visible)
visible - to render the RIDs visiblyvoid setShowResultItemDescriptions(boolean visible)
visible - to render the descriptions visibly| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
|
SAP NetWeaver 7.30 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||