|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A CopyListener may be handed to the Macro helper in order to have more control on the copy operation. The CopyListener will be notified before and after copying any single resource that is target of the recursive copy operation.
Method Summary | |
void |
afterCopy(java.lang.String sourceUri,
java.lang.String destinationUri,
boolean isRootOfCopy)
This method is called after copying the resource to the given destinationUri . |
void |
beforeCopy(java.lang.String sourceUri,
java.lang.String destinationUri,
boolean isRootOfCopy)
This method is called prior to copying the resource associated by the given sourceUri . |
Method Detail |
public void beforeCopy(java.lang.String sourceUri, java.lang.String destinationUri, boolean isRootOfCopy) throws SlideException
sourceUri
. The copy can be prohibited by
throwing a SlideException.
sourceUri
- the Uri of the resource that will be copied.destinationUri
- the Uri of the copy.
SlideException
- this Exception will be passed to the caller
of the Macro helper (contained in the
MacroDeleteException.public void afterCopy(java.lang.String sourceUri, java.lang.String destinationUri, boolean isRootOfCopy) throws SlideException
destinationUri
.
sourceUri
- the Uri of the resource that has been copied.destinationUri
- the Uri of the copy.
SlideException
- this Exception will be passed to the caller
of the Macro helper (contained in the
MacroDeleteException.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |