|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.opensocial.container.client.GadgetService
public class GadgetService
JSNI implementation of opensocial container
Constructor Summary | |
---|---|
GadgetService()
|
Method Summary | |
---|---|
static void |
_refreshGadget(String frameId)
|
static String |
getSpaceId()
|
static void |
refreshGadget()
|
static void |
registerService()
Registering available service |
static void |
resizeIframe(int height)
Resize gadget |
static void |
saveUserPref(String frameId)
|
static void |
setAuthToken(String iframeId,
String rpcToken)
Security : Setter of Auth token |
static void |
setHeight(String frameId,
int height)
|
static void |
setPref(String editToken,
String name,
String value)
Set new preference |
static void |
setRelayRpc(String iframeId,
String serverBase)
Security : Setter of rpc relay |
static void |
setTitle(String title)
Service : Set new title |
static void |
setTitleToGadget(String frameId,
String title)
|
static void |
setUserPref(String frameId,
String key,
String value)
|
static void |
showFancyBox(com.google.gwt.core.client.JsArray<com.google.gwt.core.client.JavaScriptObject> childs,
int current)
Service : Show List of image in Container |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GadgetService()
Method Detail |
---|
public static void registerService()
public static void resizeIframe(int height)
height
- public static void setHeight(String frameId, int height)
public static void setPref(String editToken, String name, String value)
editToken
- name
- value
- public static void saveUserPref(String frameId)
public static void setUserPref(String frameId, String key, String value)
public static void setTitle(String title)
title
- public static void setTitleToGadget(String frameId, String title)
public static void showFancyBox(com.google.gwt.core.client.JsArray<com.google.gwt.core.client.JavaScriptObject> childs, int current)
childs
- current
- public static void setRelayRpc(String iframeId, String serverBase)
iframeId
- rpcToken
- public static void setAuthToken(String iframeId, String rpcToken)
iframeId
- rpcToken
- public static String getSpaceId()
public static void refreshGadget()
public static void _refreshGadget(String frameId)
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |