|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.wcm.javascript.XJavascriptService
public class XJavascriptService
Created by The eXo Platform SAS Author : Hoa.Pham hoa.pham@exoplatform.com Apr 9, 2008
| Constructor Summary | |
|---|---|
XJavascriptService()
Instantiates a new x javascript service. |
|
| Method Summary | |
|---|---|
java.lang.String |
getActiveJavaScript(javax.jcr.Node webcontent)
Get active java script. |
void |
start()
|
void |
stop()
|
void |
updatePortalJSOnModify(javax.jcr.Node portalNode,
javax.jcr.Node jsFile)
Update and merged all Java Script in all portal when content of js file is modified. |
void |
updatePortalJSOnRemove(javax.jcr.Node portalNode,
javax.jcr.Node jsFile)
Update and merged all Java Script in all portal when content of js file is modified. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XJavascriptService()
throws java.lang.Exception
repositoryService - the repository servicejsConfigService - the js config serviceservletContext - the servlet contextconfigurationService - the configuration servicecontentInitializerService - the content initializer service
java.lang.Exception - the exception| Method Detail |
|---|
public java.lang.String getActiveJavaScript(javax.jcr.Node webcontent)
throws java.lang.Exception
home - the home
java.lang.Exception - the exception
public void updatePortalJSOnModify(javax.jcr.Node portalNode,
javax.jcr.Node jsFile)
throws java.lang.Exception
jsFile - the js filesessionProvider - the session provider
java.lang.Exception - the exception
public void updatePortalJSOnRemove(javax.jcr.Node portalNode,
javax.jcr.Node jsFile)
throws java.lang.Exception
jsFile - the js filesessionProvider - the session provider
java.lang.Exception - the exceptionpublic void start()
start in interface org.picocontainer.Startablepublic void stop()
stop in interface org.picocontainer.Startable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||