com.plumtree.uiinfrastructure.common
Class DisplayJavascriptHelper

java.lang.Object
  extended by com.plumtree.uiinfrastructure.common.DisplayJavascriptHelper
All Implemented Interfaces:
IDisplayJavascriptHelper

public class DisplayJavascriptHelper
extends java.lang.Object
implements IDisplayJavascriptHelper

This helper class handles the processing of the DisplayJavascript PEIs and returns the end result scripts.

Author:
donh

Method Summary
static HTMLScriptCollection DoDisplayJavascriptPEI(AActivitySpace _asSession)
          Deprecated.  
 HTMLScriptCollection DoDisplayJavascriptPEIs(AActivitySpace _asSession)
          This helper method handles the processing of the DisplayJavascript PEIs.
static IDisplayJavascriptHelper getInstance()
           
static void setTestInstance(IDisplayJavascriptHelper 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 IDisplayJavascriptHelper getInstance()
Returns:
The singleton config helper.

setTestInstance

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


DoDisplayJavascriptPEIs

public HTMLScriptCollection DoDisplayJavascriptPEIs(AActivitySpace _asSession)
Description copied from interface: IDisplayJavascriptHelper
This helper method handles the processing of the DisplayJavascript PEIs.

Specified by:
DoDisplayJavascriptPEIs in interface IDisplayJavascriptHelper
Parameters:
_asSession - The current space
Returns:
HTMLScriptCollection the resulting javascript to be added to the pages. Can be null.

DoDisplayJavascriptPEI

public static HTMLScriptCollection DoDisplayJavascriptPEI(AActivitySpace _asSession)
Deprecated. 

This helper method handles the processing of the DisplayJavascript PEIs.

Parameters:
_asSession - The current space
Returns:
HTMLScriptCollection the resulting javascript to be added to the pages. Can be null.



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