org.ztemplates.web.spring
Class ZActionServiceSpring

java.lang.Object
  extended by org.ztemplates.web.spring.ZActionServiceSpring
All Implemented Interfaces:
ZIActionService, ZIService

@Component(value="ZIActionService")
@Scope(value="request")
public class ZActionServiceSpring
extends Object
implements ZIActionService

Spring proxy for ZIActionService

Author:
gerd

Field Summary
 
Fields inherited from interface org.ztemplates.web.ZIActionService
SPRING_NAME
 
Constructor Summary
ZActionServiceSpring()
           
 
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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZActionServiceSpring

public ZActionServiceSpring()
Method Detail

process

public Object process(ZMatch.Protocol protocol,
                      String url,
                      Map<String,String[]> paramMap)
               throws Exception
Specified by:
process in interface ZIActionService
Throws:
Exception

createUrl

public String createUrl(Object action)
                 throws Exception
Description copied from interface: ZIActionService
Creates a url to the specified action object

Specified by:
createUrl in interface ZIActionService
Returns:
Throws:
Exception

createUrl

public String createUrl(ZMatch.Protocol requiresProtocol,
                        Object action)
                 throws Exception
Specified by:
createUrl in interface ZIActionService
Throws:
Exception

createNestedUrl

public String createNestedUrl(Object nestedAction)
                       throws Exception
Description copied from interface: ZIActionService
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.

Specified by:
createNestedUrl in interface ZIActionService
Returns:
Throws:
Exception

createUrl

public String createUrl(ZMatch.Protocol requiresProtocol,
                        String path)
                 throws Exception
Specified by:
createUrl in interface ZIActionService
Throws:
Exception


Copyright © 2011. All Rights Reserved.