public class DefaultWidgetManager extends java.lang.Object implements WidgetManager
CURRENT_ENVIRONMENT, EXECUTION_TYPE_J2EE, EXECUTION_TYPE_J2SE
Constructor and Description |
---|
DefaultWidgetManager() |
Modifier and Type | Method and Description |
---|---|
void |
create(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType aLayout,
com.ibm.commerce.pagelayout.facade.datatypes.WidgetType aWidget)
This method performs no-operation.
|
void |
createExtendedData(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType aLayout,
com.ibm.commerce.pagelayout.facade.datatypes.WidgetType aWidget,
com.ibm.commerce.pagelayout.facade.datatypes.ExtendedDataType aExtendedData,
com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO)
This method performs no-operation.
|
void |
delete(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType aLayout,
com.ibm.commerce.pagelayout.facade.datatypes.WidgetType aWidget,
com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO)
This method performs no-operation.
|
void |
deleteExtendedData(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType aLayout,
com.ibm.commerce.pagelayout.facade.datatypes.WidgetType aWidget,
com.ibm.commerce.pagelayout.facade.datatypes.ExtendedDataType aextendedData,
com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO)
This method performs no-operation.
|
com.ibm.commerce.pagelayout.facade.datatypes.WidgetDefinitionType |
getWidgetDefinition()
Returns the logical widget definition data object for this widget.
|
void |
init(com.ibm.commerce.pagelayout.facade.datatypes.WidgetDefinitionType widgetDefinition)
This method initializes the widget manager with the widget definition that uses it.
|
void |
retrieve(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType aLayout,
com.ibm.commerce.pagelayout.facade.datatypes.WidgetType aWidget,
com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO,
java.lang.Object... parameters)
This method performs no-operation.
|
void |
retrieve(com.ibm.commerce.pagelayout.facade.datatypes.PageDesignType aPageDesign,
com.ibm.commerce.pagelayout.facade.datatypes.WidgetType aWidget,
java.lang.Object... parameters)
This method performs no-operation.
|
void |
retrieveExtendedData(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType aLayout,
com.ibm.commerce.pagelayout.facade.datatypes.WidgetType aWidget,
com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO,
java.lang.Integer[] aStorePath,
java.lang.Integer[] aLanguageIds,
SelectionCriteria aCriteria,
java.lang.Object... parameters)
This method performs no-operation.
|
void |
undo(com.ibm.commerce.foundation.internal.server.services.changehistory.beans.TaskGroupChangeHistoryDataSet tgchDataSet,
java.lang.String widgetId,
LayoutManagementResourceManager layoutResourceManager)
This method performs the operation to undo data specific to widgets.
|
void |
update(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType aLayout,
com.ibm.commerce.pagelayout.facade.datatypes.WidgetType aWidget,
com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO)
This method performs no-operation.
|
void |
updateExtendedData(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType aLayout,
com.ibm.commerce.pagelayout.facade.datatypes.WidgetType aWidget,
com.ibm.commerce.pagelayout.facade.datatypes.ExtendedDataType aExtendedData,
com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO)
This method performs no-operation.
|
java.util.List<ClientError> |
validateChange(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType layout,
com.ibm.commerce.pagelayout.facade.datatypes.WidgetType widget,
com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO)
This method validates the widget properties.
|
java.util.List<ClientError> |
validateChangeExtendedData(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType layout,
com.ibm.commerce.pagelayout.facade.datatypes.WidgetType widget,
com.ibm.commerce.pagelayout.facade.datatypes.ExtendedDataType extendedData,
com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO)
This method performs no-operation.
|
java.util.List<ClientError> |
validateCreate(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType layout,
com.ibm.commerce.pagelayout.facade.datatypes.WidgetType widget)
This method validates the widget properties.
|
java.util.List<ClientError> |
validateCreateExtendedData(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType layout,
com.ibm.commerce.pagelayout.facade.datatypes.WidgetType widget,
com.ibm.commerce.pagelayout.facade.datatypes.ExtendedDataType extendedData,
com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO)
This method performs no-operation.
|
java.util.List<ClientError> |
validateDelete(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType layout,
com.ibm.commerce.pagelayout.facade.datatypes.WidgetType widget,
com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO)
This method performs no-operation.
|
java.util.List<ClientError> |
validateDeleteExtendedData(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType layout,
com.ibm.commerce.pagelayout.facade.datatypes.WidgetType widget,
com.ibm.commerce.pagelayout.facade.datatypes.ExtendedDataType extendedData,
com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO)
This method performs no-operation.
|
public com.ibm.commerce.pagelayout.facade.datatypes.WidgetDefinitionType getWidgetDefinition()
getWidgetDefinition
in interface WidgetManager
public void create(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType aLayout, com.ibm.commerce.pagelayout.facade.datatypes.WidgetType aWidget) throws LayoutException
create
in interface WidgetManager
aLayout
- The layout object to which the widget belongs to.aWidget
- The widget being removed from the page layout.LayoutException
- This exception is to allow implementation classes to indicate
its invoker about the error that occurred while deleting the
widget.public void createExtendedData(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType aLayout, com.ibm.commerce.pagelayout.facade.datatypes.WidgetType aWidget, com.ibm.commerce.pagelayout.facade.datatypes.ExtendedDataType aExtendedData, com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO) throws LayoutException
createExtendedData
in interface WidgetManager
aLayout
- The layout object to which the widget belongs to.aWidget
- The widget where the extended data is being created.aExtendedData
- The extended data being created from the page layout.aWidgetSDO
- The physical data object object of the widget.LayoutException
- This exception is to allow implementation classes to indicate
its invoker about the error that occurred while deleting the
widget.public void updateExtendedData(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType aLayout, com.ibm.commerce.pagelayout.facade.datatypes.WidgetType aWidget, com.ibm.commerce.pagelayout.facade.datatypes.ExtendedDataType aExtendedData, com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO) throws LayoutException
updateExtendedData
in interface WidgetManager
aLayout
- The layout object to which the widget belongs to.aWidget
- The widget where the extended data is being updated.aExtendedData
- The extended data being updated from the page layout.aWidgetSDO
- The physical data object of the widget.LayoutException
- This exception is to allow implementation classes to indicate
its invoker about the error that occurred while deleting the
widget.public void deleteExtendedData(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType aLayout, com.ibm.commerce.pagelayout.facade.datatypes.WidgetType aWidget, com.ibm.commerce.pagelayout.facade.datatypes.ExtendedDataType aextendedData, com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO) throws LayoutException
deleteExtendedData
in interface WidgetManager
aLayout
- The layout object to which the widget belongs to.aWidget
- The widget where the extended data is being deleted.aextendedData
- The extended data being deleted from the page layout.aWidgetSDO
- The physical data object of the widget.LayoutException
- This exception is to allow implementation classes to indicate
its invoker about the error that occurred while deleting the
widget.public void delete(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType aLayout, com.ibm.commerce.pagelayout.facade.datatypes.WidgetType aWidget, com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO) throws LayoutException
delete
in interface WidgetManager
aLayout
- The layout object to which the widget belongs to.aWidget
- The widget being removed from the page layout.aWidgetSDO
- The physical data object of the widget.LayoutException
- This exception is to allow implementation classes to indicate
its invoker about the error that occurred while deleting the
widget.public void init(com.ibm.commerce.pagelayout.facade.datatypes.WidgetDefinitionType widgetDefinition)
init
in interface WidgetManager
widgetDefinition
- The widget definition objectpublic void retrieve(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType aLayout, com.ibm.commerce.pagelayout.facade.datatypes.WidgetType aWidget, com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO, java.lang.Object... parameters) throws LayoutException
retrieve
in interface WidgetManager
aLayout
- The layout object to which the widget belongs to.aWidget
- The widget object that needs to be populated.aWidgetSDO
- The physical data object of the widget.parameters
- This list would contain the selection criteria object.LayoutException
- This exception is to allow implementation classes to indicate
its invoker about the error that occurred while retrieving
the widget information.public void retrieve(com.ibm.commerce.pagelayout.facade.datatypes.PageDesignType aPageDesign, com.ibm.commerce.pagelayout.facade.datatypes.WidgetType aWidget, java.lang.Object... parameters) throws PageDesignException
retrieve
in interface WidgetManager
aPageDesign
- The page design object to which the widget belongs to.aWidget
- The widget object that needs to be populated.parameters
- This list would contain the selection criteria object.PageDesignException
- This exception is to allow implementation classes to indicate
its invoker about the error that occurred while retrieving
the widget information.public void update(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType aLayout, com.ibm.commerce.pagelayout.facade.datatypes.WidgetType aWidget, com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO) throws LayoutException
update
in interface WidgetManager
aLayout
- The layout object to which the widget belongs to.aWidget
- The widget being updated on a page layout.aWidgetSDO
- The physical data object of the widget.LayoutException
- This exception is to allow implementation classes to indicate
its invoker about the error that occurred while persisting
the widget.public java.util.List<ClientError> validateChange(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType layout, com.ibm.commerce.pagelayout.facade.datatypes.WidgetType widget, com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO) throws LayoutException
validateChange
in interface WidgetManager
layout
- The layout object to which the widget belongs to.widget
- The widget being updated on a page layout.aWidgetSDO
- The physical data object object of the widget.LayoutException
- This exception is to provide the implementation classes the
convenience of throwing an exception instead of returning a
list of application errors.public java.util.List<ClientError> validateCreate(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType layout, com.ibm.commerce.pagelayout.facade.datatypes.WidgetType widget) throws LayoutException
validateCreate
in interface WidgetManager
layout
- The layout object to which the widget is being added.widget
- The widget being added to the page layout.LayoutException
- This exception is to provide the implementation classes the
convenience of throwing an exception instead of returning a
list of application errors.public java.util.List<ClientError> validateDelete(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType layout, com.ibm.commerce.pagelayout.facade.datatypes.WidgetType widget, com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO) throws LayoutException
validateDelete
in interface WidgetManager
layout
- The layout object to which the widget belongs to.widget
- The widget being updated on a page layout.aWidgetSDO
- The physical data object object of the widget.LayoutException
- This exception is to provide the implementation classes the
convenience of throwing an exception instead of returning a
list of application errors.public java.util.List<ClientError> validateChangeExtendedData(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType layout, com.ibm.commerce.pagelayout.facade.datatypes.WidgetType widget, com.ibm.commerce.pagelayout.facade.datatypes.ExtendedDataType extendedData, com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO) throws LayoutException
validateChangeExtendedData
in interface WidgetManager
layout
- The layout object to which the widget is being upated.widget
- The widget where the extended data is being deleted.extendedData
- The extended data being deleted from the widget.aWidgetSDO
- The physical data object object of the widget.LayoutException
- This exception is to provide the implementation classes the
convenience of throwing an exception instead of returning a
list of application errors.public java.util.List<ClientError> validateCreateExtendedData(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType layout, com.ibm.commerce.pagelayout.facade.datatypes.WidgetType widget, com.ibm.commerce.pagelayout.facade.datatypes.ExtendedDataType extendedData, com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO) throws LayoutException
validateCreateExtendedData
in interface WidgetManager
layout
- The layout object to which the widget is being upated.widget
- The widget where the extended data is being deleted.extendedData
- The extended data being deleted from the widget.aWidgetSDO
- The physical data object object of the widget.LayoutException
- This exception is to provide the implementation classes the
convenience of throwing an exception instead of returning a
list of application errors.public java.util.List<ClientError> validateDeleteExtendedData(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType layout, com.ibm.commerce.pagelayout.facade.datatypes.WidgetType widget, com.ibm.commerce.pagelayout.facade.datatypes.ExtendedDataType extendedData, com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO) throws LayoutException
validateDeleteExtendedData
in interface WidgetManager
layout
- The layout object to which the widget is being upated.widget
- The widget where the extended data is being deleted.extendedData
- The extended data being deleted from the widget.aWidgetSDO
- The physical data object object of the widget.LayoutException
- This exception is to provide the implementation classes the
convenience of throwing an exception instead of returning a
list of application errors.public void retrieveExtendedData(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType aLayout, com.ibm.commerce.pagelayout.facade.datatypes.WidgetType aWidget, com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO, java.lang.Integer[] aStorePath, java.lang.Integer[] aLanguageIds, SelectionCriteria aCriteria, java.lang.Object... parameters) throws LayoutException
retrieveExtendedData
in interface WidgetManager
aLayout
- The layout object to which the widget belongs to.aWidget
- The widget object that needs to be populated.aWidgetSDO
- The physical data object of the widget.aStorePath
- The store path of the request.aLanguageIds
- The requested language ids.aCriteria
- The selection criteria of the request.parameters
- This list would contain the selection criteria object.LayoutException
- This exception is thrown when error occurs while retrieving
the widget display title information.public void undo(com.ibm.commerce.foundation.internal.server.services.changehistory.beans.TaskGroupChangeHistoryDataSet tgchDataSet, java.lang.String widgetId, LayoutManagementResourceManager layoutResourceManager) throws LayoutException
undo
in interface WidgetManager
tgchDataSet
- The change history recordwidgetId
- The widget idlayoutResourceManager
- The Layout Resource ManagerLayoutException
- If there is an error. This should be raised if all undo actions performed by the
underlying infrastructure should be rolled back.