com.sapportals.portal.prt.component

Interface IPortalComponentURI


public interface IPortalComponentURI

An IPortalComponentURI represents an URI that can either change the root context, change the node mode, fire an event to a specific node


Method Summary
 String getContextName()
          Returns the new context name
 NodeMode getNodeMode()
          Gets the node mode
 IPortalRequestEvent getPortalRequestEvent()
          Gets the PortalRequestEvent
 INode getTargetNode()
          Gets the target node or null if none has been set
 void setContextName(String newContext)
          Sets the new context name
 void setNodeMode(NodeMode nodeMode)
          Sets a node mode
 void setPortalRequestEvent(IPortalRequestEvent portalRequestEvent)
          Sets the portalRequestEvent, if a target node has been set the toString () will produce an url that fire an event on the targetNode, if a new contextName has been set the event will be fired on the top most Portal Component.
 void setTargetNode(INode targetNode)
          Sets the target node
 

Method Detail

setPortalRequestEvent

void setPortalRequestEvent(IPortalRequestEvent portalRequestEvent)
Sets the portalRequestEvent, if a target node has been set the toString () will produce an url that fire an event on the targetNode, if a new contextName has been set the event will be fired on the top most Portal Component. Otherwise the url will fire the event on the current node

Parameters:
portalRequestEvent - an IPortalRequestEvent

getPortalRequestEvent

IPortalRequestEvent getPortalRequestEvent()
Gets the PortalRequestEvent

Returns:
an IPortalRequestEvent or null if none has been set

setContextName

void setContextName(String newContext)
Sets the new context name

Parameters:
newContext - the new context that will change the prtroot

getContextName

String getContextName()
Returns the new context name

Returns:
the new context name or null if none has been set

setTargetNode

void setTargetNode(INode targetNode)
Sets the target node

Parameters:
targetNode - the new targetNode

getTargetNode

INode getTargetNode()
Gets the target node or null if none has been set


setNodeMode

void setNodeMode(NodeMode nodeMode)
Sets a node mode


getNodeMode

NodeMode getNodeMode()
Gets the node mode

Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-BASIS-API [sap.com] epbc.prtapi._apideprecated default EP-PIN-PRT
[sap.com] EP-BASIS-API [sap.com] tc/epbc/prt/api api EP-PIN
[sap.com] EP-BASIS-API [sap.com] tc/epbc/prt/lib/api api EP-PIN
[sap.com] EP-RUNTIME [sap.com] tc/ep/semantics/api api EP-PIN
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2015 SAP AG Complete Copyright Notice