|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Represents result of a report execution.
Copyright (c) SAP AG 2003-2004
| Method Summary | |
IReportInput |
getInput()
Get input data used for the generation of this result |
IResultItem |
getItem(int index)
Retrieve index-th result item. |
List |
getItems(int offset,
int length)
Get list of result items, starting at given offset with given maximum length. |
String |
getName()
Return name (not necessarily unique) of this result |
IName |
getReportName()
Get the name of the report which produced this result |
IResource |
getResource()
Get IResource this result is persisted in, if at all. |
List |
getResultPropertyNames()
Get the list of property names which are set for each result item. |
int |
getResultSize()
Get number of individual items reported. |
ReportStatus |
getStatus()
Determines status of report. |
String |
getStatusDescription()
Get description of result status. |
List |
getSummaryProperties()
Get the list of IPropertys which give a summary of the
report execution. |
IResultIterator |
iterator()
Get iterator over all individual IResultItems |
IReportResult |
setName(String name)
Create a IReportResult which is a clone of the current result with the name set to the given value. |
IReportResult |
setResource(IResource resource)
Create a IReportResult which is a clone of the current result with the resource set to the given value. |
boolean |
showResultItemDescription()
Hint for display the descriptions of result items to the user. |
boolean |
showResultItemRID()
Hint for display the RIDs of result items to the user. |
long |
took()
Get execution time of the report (milliseconds) |
Date |
wasExecuted()
Get date the report was executed |
| Method Detail |
public String getName()
public IName getReportName()
throws ResourceException
ResourceException
public IReportInput getInput()
throws ResourceException
ResourceException
public Date wasExecuted()
throws ResourceException
ResourceException
public long took()
throws ResourceException
ResourceExceptionpublic ReportStatus getStatus()
public String getStatusDescription()
public List getResultPropertyNames()
throws ResourceException
IPropertyNames
ResourceException
public List getSummaryProperties()
throws ResourceException
IPropertys which give a summary of the
report execution. The list maybe empty but is not null.
IPropertys
ResourceException
public int getResultSize()
throws ResourceException
ResourceException
public IResultIterator iterator()
throws ResourceException
IResultItems
IResultItems
ResourceException
public List getItems(int offset,
int length)
throws ResourceException
offset - to start list atlength - maximum length of returned list
IResultItems
ResourceException
public IResultItem getItem(int index)
throws ResourceException
index - of result item to get
ResourceException - on general failures
public IResource getResource()
throws ResourceException
null if
result was not persisted (yet)
ResourceExceptionpublic IReportResult setResource(IResource resource)
resource - to set in result
public IReportResult setName(String name)
name - to set in result
public boolean showResultItemRID()
public boolean showResultItemDescription()
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||