|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A DeleteListener may be handed to the Macro helper in order to have more control on the delete operation. The DeleteListener will be notified before and after deleting any single resource that is target of the recursive delete operation.
Method Summary | |
void |
afterDelete(java.lang.String targetUri)
This method is called after deleting the resource associated by the given targetUri . |
void |
beforeDelete(java.lang.String targetUri)
This method is called prior to deleting the resource associated by the given targetUri . |
Method Detail |
public void beforeDelete(java.lang.String targetUri) throws SlideException
targetUri
. The deletion can be prohibited by
throwing a SlideException.
targetUri
- the Uri of the resource that will be deleted.
SlideException
- this Exception will be passed to the caller
of the Macro helper (contained in the
MacroDeleteException.public void afterDelete(java.lang.String targetUri) throws SlideException
targetUri
.
targetUri
- the Uri of the resource that has been deleted.
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 |