public class WebContentHelper extends Object
Modifier and Type | Method and Description |
---|---|
static void |
createOpenSocialGadget(Space space,
CoreSession session,
Locale currentLocale,
String gadgetName,
int zoneIndex,
int unitIndex,
int position)
Creates an OpenSocial gadget in the given
space at the given
position. |
static void |
createOpenSocialGadget(Space space,
CoreSession session,
Locale currentLocale,
String gadgetName,
int zoneIndex,
int unitIndex,
int position,
Map<String,String> additionalPreferences)
Creates an OpenSocial gadget in the given
space at the given
position. |
public static void createOpenSocialGadget(Space space, CoreSession session, Locale currentLocale, String gadgetName, int zoneIndex, int unitIndex, int position, Map<String,String> additionalPreferences) throws ClientException
space
at the given
position.
If the additionalPreferences
map is not null and not empty, the
gadget's additionalPreferences will be initialized with that map.
ClientException
public static void createOpenSocialGadget(Space space, CoreSession session, Locale currentLocale, String gadgetName, int zoneIndex, int unitIndex, int position) throws ClientException
space
at the given
position.ClientException
Copyright © 2013 Nuxeo SA. All Rights Reserved.