|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the interface to the Jetspeed Forward services. The interface defines methods for forwarding navigation to other pages or panes in the portal. The Forward service provides an abstraction, by removing the hard-coding of portal resources in your actions. Instead, all forward targets are defined in a centralized configuration file. By using the forward service, you use logical forward names in your java code.
Field Summary | |
static java.lang.String |
SERVICE_NAME
The name of this service |
Method Summary | |
org.apache.turbine.util.DynamicURI |
forward(org.apache.turbine.util.RunData rundata,
java.lang.String forwardName)
Forward to a specific forward by name. |
org.apache.turbine.util.DynamicURI |
forward(org.apache.turbine.util.RunData rundata,
java.lang.String portlet,
java.lang.String target)
For the given portlet and given action, forward to the target defined in the forward configuration for the portlet + action. |
org.apache.turbine.util.DynamicURI |
forwardDynamic(org.apache.turbine.util.RunData rundata,
java.lang.String forwardName,
java.util.Map parameters)
Forward to a specific forward by name. |
org.apache.turbine.util.DynamicURI |
forwardDynamic(org.apache.turbine.util.RunData rundata,
java.lang.String portlet,
java.lang.String target,
java.util.Map parameters)
For the given portlet and given action, forward to the target defined in the forward configuration for the portlet + action. |
Forward |
getForward(java.lang.String forwardName)
Lookup a single forward definition by forward name |
java.util.Collection |
getForwards()
Get a collection of all forwards in the system. |
PortletForward |
getPortletForward(java.lang.String portlet,
java.lang.String target)
Lookup a single portlet forward definition by portlet name + target name |
java.util.Collection |
getPortletForwards()
Get a collection of all portlet forwards in the system. |
Methods inherited from interface org.apache.turbine.services.Service |
getConfiguration, getName, getProperties, setName, setServiceBroker |
Methods inherited from interface org.apache.turbine.services.Initable |
getInit, init, init, setInitableBroker, shutdown |
Field Detail |
public static final java.lang.String SERVICE_NAME
Method Detail |
public org.apache.turbine.util.DynamicURI forward(org.apache.turbine.util.RunData rundata, java.lang.String forwardName)
rundata
- The turbine rundata context for this request.forwardName
- Forward to this abstract forward name.
public org.apache.turbine.util.DynamicURI forward(org.apache.turbine.util.RunData rundata, java.lang.String portlet, java.lang.String target)
portlet
- The name of the portlet for which we are forwarding.target
- A logical target name. Portlets can have 1 or more targets.
public org.apache.turbine.util.DynamicURI forwardDynamic(org.apache.turbine.util.RunData rundata, java.lang.String forwardName, java.util.Map parameters)
rundata
- The turbine rundata context for this request.forwardName
- Forward to this abstract forward name.parameters
- The dynamic Validation Parameters used in creating validation forwards
public org.apache.turbine.util.DynamicURI forwardDynamic(org.apache.turbine.util.RunData rundata, java.lang.String portlet, java.lang.String target, java.util.Map parameters)
portlet
- The name of the portlet for which we are forwarding.target
- A logical target name. Portlets can have 1 or more targets.parameters
- The dynamic Validation Parameters used in creating validation forwards
public java.util.Collection getForwards()
public java.util.Collection getPortletForwards()
public Forward getForward(java.lang.String forwardName)
forwardName
- The name of the Forward to find
public PortletForward getPortletForward(java.lang.String portlet, java.lang.String target)
portlet
- The name of the portlet in the Portlet Forward to findtarget
- The name of the target in the Portlet Forward to find
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |