PortalEvent

A PortalEvent is an event generated by the uPortal framework and broadcast to affected channels.

Kinds of PortalEvents

Framework-generated events

SESSION_DONE_EVENT

Session done signifies the end of the user session. Channels that have been instantiated in the course of the user's session receive the event "sessionDone" when that session ends.

UNSUBSCRIBE_EVENT

Sent to channels which the user permanently removes from his or her layout.

Layout-generated events

EDIT_BUTTON

Sent to channels when the user actuates the channel's edit button.

HELP_BUTTON

Sent to channels when the user actuates the channel's help button.

ABOUT_BUTTON

Sent to channels when the user actuates the channel's about button.

DETACH_BUTTON

Sent to channels when the user actuates the channel's detach button.

MINIMIZE

Sent to channels when the user actuates the channel's minimize button.

MAXIMIZE

Sent to channels when the user actuates the channel's maximize button.

View the source code