Package com.dassault_systemes.catweb.base.net.url.event

   
Class PortalURLEvent

 
Class Hierarchy
java.lang.Object
  |
  +-java.util.EventObject
        |
        +-com.dassault_systemes.catweb.base.net.url.event.PortalURLEvent
Class Location

Framework : PortalBase

Module : PLBbase

Class Description

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.

Field Summary
int PORTAL_URL_SELECTED

Constructor Summary
PortalURLEvent(Object source, PortalURL[] urls, int id)
PortalURLEvent(Object source, PortalURL[] urls, int id, ICATlet sourceCATlet)

Method Summary
PortalURL[] getPortalURLList()
int getPortalURLCount()
PortalURL getPortalURL(int index)
ICATlet getSourceCATlet()


Field Detail

PORTAL_URL_SELECTED

    int PORTAL_URL_SELECTED


Constructor Detail

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

Method Detail

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