|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface for resource observer functionality inside a IReport.
Copyright (c) SAP AG 2003-2005
| Method Summary | |
void |
endCollection(ICollection col)
Invoked when traversal of a collection was finished. |
boolean |
isStillListening()
Signals that any further invocations of startCollection(ICollection),
endCollection(ICollection) and observe(IResource) will have
no effect. |
void |
observe(IResource resource)
Invoked when a resource is to be inspected. |
void |
observeError(RID rid,
String message,
Throwable t)
|
boolean |
startCollection(ICollection col)
Invoked before a collection is entered. |
| Method Detail |
public boolean isStillListening()
startCollection(ICollection),
endCollection(ICollection) and observe(IResource) will have
no effect.
true if the observer is still interested in more resources
to be observed.
public boolean startCollection(ICollection col)
throws ResourceException,
InterruptedException
col - collection being entered
true if and only if collection should be traversed.
ResourceException - when execution should be aborted
InterruptedException
public void endCollection(ICollection col)
throws ResourceException,
InterruptedException
col - collection being entered
ResourceException - when execution should be aborted
InterruptedException
public void observe(IResource resource)
throws ResourceException,
InterruptedException
resource - the IResource being inspected. Note: do not rely on
IResource.isCollection() returning true for internal links
to collections.
ResourceException - when execution should be aborted (in general, most exceptions should be caught
and recorded)
InterruptedException - if execution was explicitly aborted
public void observeError(RID rid,
String message,
Throwable t)
throws ResourceException,
InterruptedException
rid - The rid to the reource where the error occuredmessage - An error messaget - The exception that was caught
ResourceException
InterruptedException
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||