Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.theme.webwidgets.ui
Class Editor

java.lang.Object
  extended by org.nuxeo.theme.webwidgets.ui.Editor

public class Editor
extends Object


Method Summary
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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addWidget

public static void addWidget(int areaUid,
                             String widgetTypeName,
                             int order)
                      throws WidgetEditorException
Throws:
WidgetEditorException

moveWidget

public static String moveWidget(int srcArea,
                                String srcUid,
                                int destArea,
                                int destOrder)
                         throws WidgetEditorException
Throws:
WidgetEditorException

removeWidget

public static void removeWidget(String providerName,
                                String uid)
                         throws WidgetEditorException
Throws:
WidgetEditorException

setWidgetState

public static void setWidgetState(String providerName,
                                  String widgetUid,
                                  String state)
                           throws WidgetEditorException
Throws:
WidgetEditorException

setWidgetPreference

public static void setWidgetPreference(String providerName,
                                       String widgetUid,
                                       String dataName,
                                       String src)
                                throws WidgetEditorException
Throws:
WidgetEditorException

updateWidgetPreferences

public static void updateWidgetPreferences(String providerName,
                                           String widgetUid,
                                           Map<String,String> preferencesMap)
                                    throws WidgetEditorException
Throws:
WidgetEditorException

uploadFile

public static String uploadFile(HttpServletRequest req,
                                String providerName,
                                String widgetUid,
                                String dataName)
                         throws WidgetEditorException
Throws:
WidgetEditorException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.