com.sapportals.wcm.rendering.base

Class AbstractResourceListEvent

java.lang.Object
  extended byWdfEvent
      extended bycom.sapportals.wcm.rendering.base.AbstractProxyEvent
          extended bycom.sapportals.wcm.rendering.base.AbstractResourceListEvent

public abstract class AbstractResourceListEvent
extends AbstractProxyEvent

This class is used to for complex screenflows that use an AbstractProxyControl as a control in a pane of the screenflow. It allows to send information on the resourcelist or the parent-resource to render. It also holds an instance of an IUIBaseCommand that will be executed within this screenflow.

See Also:
Serialized Form

Constructor Summary
AbstractResourceListEvent(com.sapportals.wcm.control.base.Habitat habitat, String explanationtext, IUIBaseCommand command)
          creates a new event.
AbstractResourceListEvent(IResourceList list, String startUri, String explanationtext, IUIBaseCommand command)
          creates a new event.
AbstractResourceListEvent(RID rid, String startUri, String explanationtext, IUIBaseCommand command)
          creates a new event.
 
Method Summary
 String getExplanationtext()
           
 IResourceList getList()
           
 RID getRID()
           
 String getStartUri()
           
 IUIBaseCommand getUICommand()
           
 void setExplanationtext(String text)
          sets the explanation text attribute
 void setResourceList(IResourceList list)
          sets the resource list attribute
 void setRID(RID rid)
           
 void setStartUri(String startUri)
          sets the start uri attribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractResourceListEvent

public AbstractResourceListEvent(RID rid,
                                 String startUri,
                                 String explanationtext,
                                 IUIBaseCommand command)
creates a new event.

Parameters:
rid - - the resource's rid that acts as parent-resource for the receiving control
explanationtext - - information for the user on how to proceed when carrying out the action.
command - - the command that is active during the screenflow

AbstractResourceListEvent

public AbstractResourceListEvent(IResourceList list,
                                 String startUri,
                                 String explanationtext,
                                 IUIBaseCommand command)
creates a new event.

Parameters:
list - - the resources that are displayed by the receiving control
explanationtext - - information for the user on how to proceed when carrying out the action.
command - - the command that is active during the screenflow

AbstractResourceListEvent

public AbstractResourceListEvent(com.sapportals.wcm.control.base.Habitat habitat,
                                 String explanationtext,
                                 IUIBaseCommand command)
creates a new event.

Parameters:
explanationtext - - information for the user on how to proceed when carrying out the action.
command - - the command that is active during the screenflow
Method Detail

setExplanationtext

public void setExplanationtext(String text)
sets the explanation text attribute

Parameters:
text - - the explantion to show within the screenflow

getExplanationtext

public String getExplanationtext()
Returns:
the explanation text attribute, can be null

getUICommand

public IUIBaseCommand getUICommand()
Returns:
the encapsulated command, can be null

setRID

public void setRID(RID rid)

getRID

public RID getRID()
Returns:
the RID of the IResource to render, can be null

getList

public IResourceList getList()
Returns:
the list of resources to render, can be null

setResourceList

public void setResourceList(IResourceList list)
sets the resource list attribute

Parameters:
list - - the resource list to display by the receiving control

setStartUri

public void setStartUri(String startUri)
sets the start uri attribute

Parameters:
startUri - - the highest folder in the hiearchy the user may navigate to

getStartUri

public String getStartUri()
Returns:
the highest folder in the hierarchy the user may navigate to, can be null


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.