com.sapportals.portal.prt.event

Interface IPortalRequestEventData


public interface IPortalRequestEventData

The IPortalComponentEventData represents a set of multi-valued attributes that are attached to a IPortalRequestEvent.


Method Summary
 void add(String attribute, String value)
          add an attribute with value.
 String getAttribute(String name)
          Return the value of an attributes Note: If the attribute is multi-valued, any one the values can be the result of a call to this method.
 String[] getAttributeNames()
          Gets the attributes names as an array.
 Enumeration getAttributesEnumeration()
          Gets an Enumeration of attributes names.
 String[] getAttributeValues(String name)
          gets the attributes values associated to a specific name.
 Iterator getAttributeValuesIterator(String name)
          Gets an iterator on the values associated to a name.
 void remove(String attribute)
          remove an attribute with all values.
 void remove(String attribute, String value)
          remove an attribute/value combination from this event's data.
 String toFormEncodedString()
          Gets this PortalComponentEventData as a Form Encoded String.
 

Method Detail

add

public void add(String attribute,
                String value)
add an attribute with value. Note: attributes can be multi-valued

Parameters:
attribute - The name of the attribute.
value - The value of the attribute to be added

remove

public void remove(String attribute)
remove an attribute with all values.

Parameters:
attribute - The name of the attribute.

remove

public void remove(String attribute,
                   String value)
remove an attribute/value combination from this event's data.

Parameters:
attribute - The name of the attribute.
value - The value of the attribute to be removed.

getAttributesEnumeration

public Enumeration getAttributesEnumeration()
Gets an Enumeration of attributes names.

Returns:
An Enumeration of attribute names.

getAttributeNames

public String[] getAttributeNames()
Gets the attributes names as an array.

Returns:
An array of attribute names.

getAttributeValues

public String[] getAttributeValues(String name)
gets the attributes values associated to a specific name.

Parameters:
name - The name of the queried attribute
Returns:
An array of values of an attribute.

getAttributeValuesIterator

public Iterator getAttributeValuesIterator(String name)
Gets an iterator on the values associated to a name.

Parameters:
name - The name of the queried attribute
Returns:
An Iterator over the values of an attribute.

getAttribute

public String getAttribute(String name)
Return the value of an attributes Note: If the attribute is multi-valued, any one the values can be the result of a call to this method.

Parameters:
name -

toFormEncodedString

public String toFormEncodedString()
Gets this PortalComponentEventData as a Form Encoded String. For example, if we have attributes a and b with value {"Hey You", "4"} for a and "go" for b we possibly get: "a=Hey%20You&a=4&b=go".



Copyright 2006 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.