public class Manager extends Object
Modifier and Type | Method and Description |
---|---|
static String |
addPanelDecoration(String decorationName,
String mode,
String regionName,
String content) |
static void |
addWidget(int area,
String widgetTypeName,
int order) |
static AreaFragment |
getAreaById(int area) |
static List<String> |
getDecorationNames() |
static DecorationType |
getDecorationType(String name) |
static String |
getPanelData(int area,
String mode) |
static Provider |
getProvider(String name) |
static List<String> |
getProviderNames() |
static ProviderType |
getProviderType(String name) |
static Service |
getService() |
static WidgetData |
getWidgetData(Provider provider,
Widget widget,
String dataName) |
static WidgetData |
getWidgetData(String providerName,
String uid,
String dataName) |
static String |
getWidgetDataContent(String providerName,
String uid,
String dataName) |
static String |
getWidgetDataInfo(String providerName,
String uid,
String dataName) |
static Map<String,String> |
getWidgetDecoration(String decorationName) |
static byte[] |
getWidgetIconContent(String widgetTypeName) |
static String |
getWidgetIconPath(String widgetTypeName) |
static Map<String,String> |
getWidgetPreferences(Provider provider,
Widget widget) |
static WidgetState |
getWidgetState(Provider provider,
Widget widget) |
static WidgetType |
getWidgetType(String widgetTypeName) |
static String |
moveWidget(int srcArea,
String srcUid,
int destArea,
int destOrder) |
static void |
removeWidget(String providerName,
String uid) |
static void |
setWidgetData(Provider provider,
Widget widget,
String dataName,
WidgetData data) |
static void |
setWidgetData(String providerName,
String uid,
String dataName,
WidgetData data) |
static void |
setWidgetPreference(String providerName,
String uid,
String name,
String value) |
static void |
setWidgetPreferences(Provider provider,
Widget widget,
Map<String,String> preferences) |
static void |
setWidgetState(Provider provider,
Widget widget,
WidgetState state) |
static void |
setWidgetState(String providerName,
String uid,
String stateName) |
static void |
updateWidgetPreferences(String providerName,
String uid,
Map<String,String> preferences) |
static String |
uploadFile(HttpServletRequest request,
String providerName,
String uid,
String dataName) |
public static Service getService()
public static Provider getProvider(String name) throws WidgetException
WidgetException
public static AreaFragment getAreaById(int area) throws WidgetException
WidgetException
public static ProviderType getProviderType(String name)
public static DecorationType getDecorationType(String name)
public static WidgetType getWidgetType(String widgetTypeName)
public static String addPanelDecoration(String decorationName, String mode, String regionName, String content)
public static void addWidget(int area, String widgetTypeName, int order) throws WidgetException, ProviderException
WidgetException
ProviderException
public static String moveWidget(int srcArea, String srcUid, int destArea, int destOrder) throws WidgetException, ProviderException
WidgetException
ProviderException
public static void removeWidget(String providerName, String uid) throws WidgetException, ProviderException
WidgetException
ProviderException
public static Map<String,String> getWidgetPreferences(Provider provider, Widget widget) throws ProviderException
ProviderException
public static void setWidgetPreferences(Provider provider, Widget widget, Map<String,String> preferences) throws ProviderException
ProviderException
public static void updateWidgetPreferences(String providerName, String uid, Map<String,String> preferences) throws WidgetException, ProviderException
WidgetException
ProviderException
public static void setWidgetPreference(String providerName, String uid, String name, String value) throws WidgetException, ProviderException
WidgetException
ProviderException
public static void setWidgetState(Provider provider, Widget widget, WidgetState state) throws ProviderException
ProviderException
public static void setWidgetState(String providerName, String uid, String stateName) throws WidgetException, ProviderException
WidgetException
ProviderException
public static WidgetState getWidgetState(Provider provider, Widget widget) throws ProviderException
ProviderException
public static void setWidgetData(String providerName, String uid, String dataName, WidgetData data) throws WidgetException, ProviderException
WidgetException
ProviderException
public static void setWidgetData(Provider provider, Widget widget, String dataName, WidgetData data) throws ProviderException
ProviderException
public static WidgetData getWidgetData(String providerName, String uid, String dataName) throws WidgetException, ProviderException
WidgetException
ProviderException
public static WidgetData getWidgetData(Provider provider, Widget widget, String dataName) throws ProviderException
ProviderException
public static String uploadFile(HttpServletRequest request, String providerName, String uid, String dataName) throws WidgetException, ProviderException
WidgetException
ProviderException
public static String getWidgetDataContent(String providerName, String uid, String dataName) throws WidgetException, ProviderException
WidgetException
ProviderException
public static String getWidgetDataInfo(String providerName, String uid, String dataName) throws WidgetException, ProviderException
WidgetException
ProviderException
public static String getPanelData(int area, String mode) throws WidgetException, ProviderException
WidgetException
ProviderException
public static byte[] getWidgetIconContent(String widgetTypeName)
Copyright © 2011 Nuxeo SA. All Rights Reserved.