com.liferay.faces.util.context.internal
Class FacesRequestContextImpl

java.lang.Object
  extended by com.liferay.faces.util.context.FacesRequestContext
      extended by com.liferay.faces.util.context.internal.FacesRequestContextImpl

public class FacesRequestContextImpl
extends FacesRequestContext

Author:
Kyle Stiemann

Constructor Summary
FacesRequestContextImpl()
           
 
Method Summary
 void addScript(Script script)
          Adds the specified Script to the list of scripts that are to be executed on the client.
 void addScript(String script)
          Adds the specified script to the list of scripts that are to be executed on the client.
 List<Script> getScripts()
          Returns an immutable list of scripts that were added via the FacesRequestContext.addScript(Script) or FacesRequestContext.addScript(String) method.
 void release()
          Releases any resources that are associated with this FacesRequestContext instance.
 
Methods inherited from class com.liferay.faces.util.context.FacesRequestContext
getCurrentInstance, setCurrentInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacesRequestContextImpl

public FacesRequestContextImpl()
Method Detail

addScript

public void addScript(Script script)
Description copied from class: FacesRequestContext
Adds the specified Script to the list of scripts that are to be executed on the client.

Specified by:
addScript in class FacesRequestContext

addScript

public void addScript(String script)
Description copied from class: FacesRequestContext
Adds the specified script to the list of scripts that are to be executed on the client.

Specified by:
addScript in class FacesRequestContext

release

public void release()
Description copied from class: FacesRequestContext
Releases any resources that are associated with this FacesRequestContext instance.

Specified by:
release in class FacesRequestContext

getScripts

public List<Script> getScripts()
Description copied from class: FacesRequestContext
Returns an immutable list of scripts that were added via the FacesRequestContext.addScript(Script) or FacesRequestContext.addScript(String) method.

Specified by:
getScripts in class FacesRequestContext


Copyright © 2015 Liferay, Inc.. All rights reserved.