public class NewsFeed extends Object implements com.google.gwt.core.client.EntryPoint
https://web.liferay.com/community/wiki/-/wiki/Main/Client-side+Inter-Portlet-Communication+%28IPC%29%20using+Java+Script| Constructor and Description |
|---|
NewsFeed() |
| Modifier and Type | Method and Description |
|---|---|
static void |
exportReceiveEventJavascriptFunction()
this is a JSNI method mapping the Javascript function handleReceiveEvent to the Java method handleReceiveEvent
|
static NewsFeedPanel |
getInstance() |
static void |
handleReceiveEvent(String jsonizedClientPostInstance)
the Java method handleReceiveEvent
|
static void |
injectLiferayIPCEventReceiver()
this is a JSNI method that injects the Liferay Javascript function listening for events from ShareUpdates
|
void |
onModuleLoad() |
public static NewsFeedPanel getInstance()
public void onModuleLoad()
onModuleLoad in interface com.google.gwt.core.client.EntryPointpublic static void injectLiferayIPCEventReceiver()
public static void exportReceiveEventJavascriptFunction()
public static void handleReceiveEvent(String jsonizedClientPostInstance)
jsonizedClientPostInstance - the jsonized ClientPost sent by ShareUpdatesCopyright © 2018. All Rights Reserved.