com.plumtree.portaluiinfrastructure.opener
Class PTOpenerService

java.lang.Object
  extended by com.plumtree.portaluiinfrastructure.opener.PTOpenerService
All Implemented Interfaces:
IPTOpenerHelper

public class PTOpenerService
extends java.lang.Object
implements IPTOpenerHelper


Method Summary
static IPTOpenerHelper getInstance()
           
 HTMLScriptCollection GetOpenerJavascript(AActivitySpace _asOwner)
          Returns the Javascript needed by the Common Opener.
static void setTestInstance(IPTOpenerHelper testHelper)
          Unit tests should use this method to overwrite/teardown existing helper singleton.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static IPTOpenerHelper getInstance()
Returns:
The singleton config helper.

setTestInstance

public static void setTestInstance(IPTOpenerHelper testHelper)
Unit tests should use this method to overwrite/teardown existing helper singleton. DO NOT USE for production code.


GetOpenerJavascript

public HTMLScriptCollection GetOpenerJavascript(AActivitySpace _asOwner)
Description copied from interface: IPTOpenerHelper
Returns the Javascript needed by the Common Opener. We add both dynamic script and static script. To provide a set of simpler API methods, some methods in the static script will call methods from the dynamic script. However, the static API will also include methods that don't depend on the dynamic API.

Specified by:
GetOpenerJavascript in interface IPTOpenerHelper
Returns:
This method returns the HTMLScript for the Common Opener.



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.