Class PTPortletServices

Object
   |
   +--PTPortletServices

class PTPortletServices

PTPortletServices object constructor

Defined in PTPortletServices.js


Field Summary

  public var func
          
  public var id
          
  public var regEvents
          
  private var WindowEventURN
          WindowEventURN
  public static var VERSION
          VERSION
  public static var initialized
          
  private static var _eventListenerCount
          _eventListenerCount
 

Constructor Summary

PTPortletServices ()
           
 

Method Summary

  public function ClearSessionState(sNamespaceURN, sName) DEPRECATED
           Clear name/value pair from session state
  public function ClearWindowEvent(eventListenerID)
           Clears a window event
  public function GetSessionState(sNamespaceURN, sName) DEPRECATED
           Retrieve name/value pair from session state
  public function IsEventRegistered(namespaceURN, eventName, sFunction)
           Checks to see if a given function signature has already been registered as a callback for a given namespace and event
  public function PutSessionState(sNamespaceURN, sName, objValue) DEPRECATED
           Store name/value pair in session state
  public function RaiseEvent(sNamespaceURN, eventName, objEventArgs)
           Raise event, notifying PCC that an event occurred
  public function RaiseWindowEvent(objEventArgs)
           Raise window event
  public function RegisterForEvent(namespaceURN, eventName, sFunction)
           Register an event with PCC
  public function RegisterForWindowEvent(eventName, sFunction)
           Register for window event
  public function RegisterOnceForEvent(namespaceURN, eventName, sFunction)
           Register an event with PCC, if and only if an identical event function has not already been registered for a given namespace and event
  public function RegisterOnceForWindowEvent(eventName, sFunction)
           Register a window event with PCC, if and only if an identical event function has not already been registered for a given namespace and event
  public function _eventListener(func)
          
  private function InitializeEvents()
           Iterates over common window and document event handlers and registers them with the PCC if they are defined and aren't already registered with the PCC.

Field Detail

func

public var func

id

public var id

regEvents

public var regEvents

WindowEventURN

private var WindowEventURN

VERSION

public static var VERSION

initialized

public static var initialized

_eventListenerCount

private static var _eventListenerCount

Constructor Detail

PTPortletServices

function PTPortletServices()

Method Detail

ClearSessionState

  public function ClearSessionState(sNamespaceURN, sName)

ClearWindowEvent

  public function ClearWindowEvent(eventListenerID)

GetSessionState

  public function GetSessionState(sNamespaceURN, sName)

IsEventRegistered

  public function IsEventRegistered(namespaceURN, eventName, sFunction)

PutSessionState

  public function PutSessionState(sNamespaceURN, sName, objValue)

RaiseEvent

  public function RaiseEvent(sNamespaceURN, eventName, objEventArgs)

RaiseWindowEvent

  public function RaiseWindowEvent(objEventArgs)

RegisterForEvent

  public function RegisterForEvent(namespaceURN, eventName, sFunction)

RegisterForWindowEvent

  public function RegisterForWindowEvent(eventName, sFunction)

RegisterOnceForEvent

  public function RegisterOnceForEvent(namespaceURN, eventName, sFunction)

RegisterOnceForWindowEvent

  public function RegisterOnceForWindowEvent(eventName, sFunction)

_eventListener

  public function _eventListener(func)

InitializeEvents

  private function InitializeEvents()