com.sap.netweaver.bc.uwl.connect

Interface IMultiItemLauncher


public interface IMultiItemLauncher

Interface that needs to be implemented by ActionHandlers if they support launching multiple items at the same time. As of Paris, UWL doesnt ship any action handlers that support launching multiple items at a time but this is a provision for connector implementors to come up with their own.


Method Summary
 String getUrl(UWLContext context, ItemCollection items, Action action, List actionPropertiesMap)
          Constructs and returns a fully qualified URL based upon the Item and properties defined for the Action.
 

Method Detail

getUrl

public String getUrl(UWLContext context,
                     ItemCollection items,
                     Action action,
                     List actionPropertiesMap)
              throws UWLException
Constructs and returns a fully qualified URL based upon the Item and properties defined for the Action. Method getUrl is called only if isLauncher() returns true.

Parameters:
context - not null
action - not null
actionPropertiesMap - not null. If there are dynamic properties defined for that action, they are first computed and then passed in the properties map. This is a list of hashmaps corresponding to each item passed in the items parameter.
Returns:
a fully qualified url which could be launched in the browser. To allow the navigation to leave a bread crumb in the portal return the keyword "ROLES://" with the location of the iview as the URL. The UI code will look for this keyword and call the doNavigate() javascript if found else it will redirect to the specified URL.
Throws:
UWLException - in case expected parameters are missing or URL can not be constructed.
See Also:
Action


Copyright 2006 SAP AG Complete Copyright Notice