com.sapportals.portal.navigation

Class AbstractNavigationRedirector

java.lang.Object
  extended by com.sapportals.portal.navigation.AbstractNavigationRedirector
All Implemented Interfaces:
INavigationRedirector

public abstract class AbstractNavigationRedirector
extends Object
implements INavigationRedirector

The base class for redirector. Redirects the original URL that initiated the navigation to a different URL. You do not have to implement a redirector for your navigation connector.
A redirector is responsible for translating the URL from the original URL to another URL format. The returned object should always contain both the URL and the new prefix. If the new prefix is a connector prefix, no additional redirection is required. If the prefix is a redirector prefix, then cascading redirection is required.
Note: A redirector is bound to a specific prefix, and is registered with that prefix.
For example, when calling the client-side eventing doNavigate method using navigationTarget, pcd:portal_content/portal/firstPage is not recognized by any registered connector. This URL should first be redirected using the PCD redirector implementation. Assume that in this case, the returned value contains the ROLES prefix, so the URL can now be processed.
Examples of redirectors are:

See Also:
INavigationRedirectorResult

Constructor Summary
AbstractNavigationRedirector()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sapportals.portal.navigation.INavigationRedirector
redirect
 

Constructor Detail

AbstractNavigationRedirector

public AbstractNavigationRedirector()
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-RUNTIME [sap.com] tc/ep/navigation/api api EP-PIN


Copyright 2015 SAP AG Complete Copyright Notice