public class Editor extends Object
Modifier and Type | Method and Description |
---|---|
static void |
addWidget(int areaUid,
String widgetTypeName,
int order) |
static String |
moveWidget(int srcArea,
String srcUid,
int destArea,
int destOrder) |
static void |
removeWidget(String providerName,
String uid) |
static void |
setWidgetPreference(String providerName,
String widgetUid,
String dataName,
String src) |
static void |
setWidgetState(String providerName,
String widgetUid,
String state) |
static void |
updateWidgetPreferences(String providerName,
String widgetUid,
Map<String,String> preferencesMap) |
static String |
uploadFile(HttpServletRequest req,
String providerName,
String widgetUid,
String dataName) |
public static void addWidget(int areaUid, String widgetTypeName, int order) throws WidgetEditorException
WidgetEditorException
public static String moveWidget(int srcArea, String srcUid, int destArea, int destOrder) throws WidgetEditorException
WidgetEditorException
public static void removeWidget(String providerName, String uid) throws WidgetEditorException
WidgetEditorException
public static void setWidgetState(String providerName, String widgetUid, String state) throws WidgetEditorException
WidgetEditorException
public static void setWidgetPreference(String providerName, String widgetUid, String dataName, String src) throws WidgetEditorException
WidgetEditorException
public static void updateWidgetPreferences(String providerName, String widgetUid, Map<String,String> preferencesMap) throws WidgetEditorException
WidgetEditorException
public static String uploadFile(HttpServletRequest req, String providerName, String widgetUid, String dataName) throws WidgetEditorException
WidgetEditorException
Copyright © 2013 Nuxeo SA. All Rights Reserved.