org.apache.slide.macro
Interface DeleteTargetRedirector


public interface DeleteTargetRedirector

A DeleteTargetRedirector may be passed to the Macro helper in order to have more control on the delete operation. A DeleteTargetRedirector may either return the given URI or any (redirected) URI.

Version:
$Revision: 1.3 $

Method Summary
 java.lang.String getRedirectedTargetUri(java.lang.String targetUri)
          Returns the (redirected) target Uri to use.
 

Method Detail

getRedirectedTargetUri

public java.lang.String getRedirectedTargetUri(java.lang.String targetUri)
                                        throws SlideException
Returns the (redirected) target Uri to use. Must not be null.

Parameters:
targetUri - the original target Uri.
Returns:
the (redirected) target Uri to use.
Throws:
SlideException - this Exception will be passed to the caller of the Macro helper (contained in the MacroDeleteException).