public class WidgetManagerFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Copyright field.
|
static WidgetManagerFactory |
SINGLETON
The singleton instance of the factory.
|
Modifier and Type | Method and Description |
---|---|
WidgetManager |
getWidgetManager(java.lang.String widgetDefinitionUniqueId)
This method retrieves the widget manager for the widget definition based
on the specified widget definition unique ID in current store.
|
WidgetManager |
getWidgetManager(java.lang.String widgeDefinitiontIdentifier,
java.lang.Integer storeId)
This method retrieves the widget manager for the widget definition based
on the widget definition's identifier and store Id specified.
|
WidgetManager |
getWidgetManagerByWidgetDefinitionUniqueId(java.lang.String widgetDefinitionUniqueId,
java.lang.Integer storeId)
This method retrieves the widget manager for the widget definition based
on the widget definition unique ID on the page layout for the specified store.
|
WidgetManager |
getWidgetManagerByWidgetUniqueId(java.lang.String widgetId,
java.lang.Integer storeId)
This method retrieves the widget manager for the widget definition based
on the unique ID of the widget placed on the page layout for the specified store.
|
public static final java.lang.String COPYRIGHT
public static WidgetManagerFactory SINGLETON
public WidgetManager getWidgetManager(java.lang.String widgetDefinitionUniqueId) throws WidgetDefinitionException
widgetDefinitionUniqueId
- The unique ID of the widget definitionWidgetDefinitionException
- This exception is thrown when the widget definition could not
be found.public WidgetManager getWidgetManager(java.lang.String widgeDefinitiontIdentifier, java.lang.Integer storeId) throws WidgetDefinitionException
widgeDefinitiontIdentifier
- The unique Identifier for the widget.storeId
- The store Id of the widget.WidgetDefinitionException
- This exception is thrown when the widget definition could not
found.public WidgetManager getWidgetManagerByWidgetUniqueId(java.lang.String widgetId, java.lang.Integer storeId) throws WidgetDefinitionException
widgetId
- The unique ID of the widget on the page layout.storeId
- The unique id of the storeWidgetDefinitionException
- This exception is thrown when the widget could not be found.public WidgetManager getWidgetManagerByWidgetDefinitionUniqueId(java.lang.String widgetDefinitionUniqueId, java.lang.Integer storeId) throws WidgetDefinitionException
widgetDefinitionUniqueId
- The unique ID of the widget definitionstoreId
- The unique id of the storeWidgetDefinitionException
- This exception is thrown when the widget definition could not be found.