org.ztemplates.web
Interface ZIActionService

All Superinterfaces:
ZIService
All Known Implementing Classes:
ZActionServiceImpl, ZActionServiceSpring

public interface ZIActionService
extends ZIService


Field Summary
static String SPRING_NAME
           
 
Method Summary
 String createNestedUrl(Object nestedAction)
          Creates a url to the specified nested action object, the url is relative to the current nested action.
 String createUrl(Object action)
          Creates a url to the specified action object
 String createUrl(ZMatch.Protocol requiresProtocol, Object action)
           
 String createUrl(ZMatch.Protocol requiresProtocol, String path)
           
 Object process(ZMatch.Protocol protocol, String url, Map<String,String[]> paramMap)
           
 

Field Detail

SPRING_NAME

static final String SPRING_NAME
See Also:
Constant Field Values
Method Detail

process

Object process(ZMatch.Protocol protocol,
               String url,
               Map<String,String[]> paramMap)
               throws Exception
Throws:
Exception

createUrl

String createUrl(Object action)
                 throws Exception
Creates a url to the specified action object

Parameters:
action -
Returns:
Throws:
Exception

createUrl

String createUrl(ZMatch.Protocol requiresProtocol,
                 String path)
                 throws Exception
Throws:
Exception

createUrl

String createUrl(ZMatch.Protocol requiresProtocol,
                 Object action)
                 throws Exception
Throws:
Exception

createNestedUrl

String createNestedUrl(Object nestedAction)
                       throws Exception
Creates a url to the specified nested action object, the url is relative to the current nested action. Can only be while processing a nested action.

Parameters:
nestedAction -
Returns:
Throws:
Exception


Copyright © 2011. All Rights Reserved.