1 16 17 package org.apache.jetspeed.services.forward; 18 19 import java.util.Collection ; 20 import java.util.Map ; 21 22 import org.apache.turbine.services.Service; 23 import org.apache.turbine.util.RunData; 24 import org.apache.turbine.util.DynamicURI; 25 26 import org.apache.jetspeed.services.forward.configuration.Forward; 27 import org.apache.jetspeed.services.forward.configuration.PortletForward; 28 29 30 42 43 public interface ForwardService extends Service 44 { 45 46 47 public String SERVICE_NAME = "ForwardService"; 48 49 50 58 public DynamicURI forward(RunData rundata, String forwardName); 59 60 61 70 public DynamicURI forward(RunData rundata, String portlet, String target); 71 72 73 83 public DynamicURI forwardDynamic(RunData rundata, String forwardName, Map parameters); 84 85 86 97 public DynamicURI forwardDynamic(RunData rundata, 98 String portlet, 99 String target, 100 Map parameters); 101 102 103 108 public Collection getForwards(); 109 110 115 public Collection getPortletForwards(); 116 117 123 public Forward getForward(String forwardName); 124 125 132 public PortletForward getPortletForward(String portlet, String target); 133 134 } 135 | Popular Tags |