Package com.dassault_systemes.catweb.base.net.url.event |
java.lang.Object
|
+-java.util.EventObject
|
+-com.dassault_systemes.catweb.base.net.url.event.PortalURLEvent
Framework : PortalBase
Module : PLBbase
public class PortalURLEvent
This PortalURLEvent is fired by CATlet on the Hookup. It is received
directly by the Portal which analyses the URL, launches the right CATlet
and calls it back through the PortalURLHandler interface on the handlePortalURL method.
If the source catlet is specified, the portal uses it in order to create a new activity or
to join an existing activity for the target catlet.
PORTAL_URL_SELECTED
int PORTAL_URL_SELECTED
PortalURLEvent
PortalURLEvent(Object source, PortalURL[] urls, int id)
Constructs a PortalURLEvent object with the specified source object and PortalURL array.
- Parameters:
source
- - the object where the event originated
urls
- - the array of PortalURL
id
- - the type of event
PortalURLEvent
PortalURLEvent(Object source, PortalURL[] urls, int id, ICATlet sourceCATlet)
Constructs a PortalURLEvent object with the specified source object, PortalURL array
and source CATlet. The source CATlet is used for the creation of activity in the RouteBook.
- Parameters:
source
- - the object where the event originated
urls
- - the array of PortalURL
id
- - the type of event
sourceCATlet
- - the catlet instance where the event originated
getPortalURLList
PortalURL[] getPortalURLList()
Returns the PortalURL array contained in this event.
getPortalURLCount
int getPortalURLCount()
Returns the count of PortalURL contained in this event.
getPortalURL
PortalURL getPortalURL(int index)
Returns the PortalURL at the specified index of the array of PortalURL.
getSourceCATlet
ICATlet getSourceCATlet()
Returns the source CATlet of this event.
Copyright © 2000, Dassault Systèmes. All rights reserved