public class ChangeLayoutWidgetExtendedDataPartMediator extends ChangeLayoutWidgetPartMediator
Constructor and Description |
---|
ChangeLayoutWidgetExtendedDataPartMediator() |
Modifier and Type | Method and Description |
---|---|
protected void | buildWidgetProperties(WidgetType widgetType, PageLayoutWidget widgetPSDO)
Populates the widget properties for the widget logical noun part according to widget physical data object.
|
void | create(java.lang.Object noun, java.lang.Object nounPart)
This method performs widget extended data creation.
|
void | delete(java.lang.Object noun, java.lang.Object nounPart)
This method performs widget extended data deletion.
|
PageLayoutWidget | findPhysicalEntity(java.lang.Object noun, java.lang.Object nounPart)
This method finds Layout in the physical data container that matches with the page layout widget noun part.
|
java.lang.String[] | getNounPartXPaths()
This method is to get the noun part XPath.
|
protected PageLayoutFactory | getPageLayoutFactory()
This method returns the default instance of the PageLayout Factory.
|
protected PageLayoutWidget | getPageLayoutWidgetPhysicalObject()
Gets the physical data object of the page layout widget.
|
protected WidgetType | getWidget(LayoutType layout)
Returns widget noun part inside the layout noun.
|
protected java.lang.String | getWidgetUniqueId()
Returns widget unique id this mediator is currently working on.
|
protected java.lang.String | getWidgetUniqueId(LayoutType layout)
Returns widget unique id inside the layout noun.
|
protected PhysicalDataContainer | initializePhysicalDataContainer(java.util.Map mapNounPart)
This method initializes the physical data container for this mediator.
|
protected boolean | resolveByExternalIdentifier(java.lang.Object aNoun, java.lang.Object aNounPart)
This method performs no actions as the resolve is done by the Change Layout mediator.
|
protected void | setPageLayoutWidgetPhysicalObject(PageLayoutWidget pageLayoutWidget)
Sets the physical data object of the page layout widget.
|
void | update(java.lang.Object noun, java.lang.Object nounPart)
This method updates the physical data container with the modified physical SDO object.
|
java.util.List | validateChange(java.lang.Object noun, java.lang.Object nounPart)
This method checks if the logical LayoutSlot noun part can be updated.
|
java.util.List | validateCreate(java.lang.Object noun, java.lang.Object nounPart)
This method checks if the logical widget child slot noun part can be created.
|
java.util.List | validateDelete(java.lang.Object noun, java.lang.Object nounPart)
This method checks whether this LayoutSlotType object can be deleted or not.
|
public ChangeLayoutWidgetExtendedDataPartMediator()
protected PhysicalDataContainer initializePhysicalDataContainer(java.util.Map mapNounPart) throws DataMediatorException
public void create(java.lang.Object noun, java.lang.Object nounPart) throws AbstractApplicationException
public void update(java.lang.Object noun, java.lang.Object nounPart) throws AbstractApplicationException
public void delete(java.lang.Object noun, java.lang.Object nounPart) throws AbstractApplicationException
public PageLayoutWidget findPhysicalEntity(java.lang.Object noun, java.lang.Object nounPart) throws AbstractApplicationException
public java.lang.String[] getNounPartXPaths()
public java.util.List validateChange(java.lang.Object noun, java.lang.Object nounPart) throws AbstractApplicationException
public java.util.List validateCreate(java.lang.Object noun, java.lang.Object nounPart) throws AbstractApplicationException
public java.util.List validateDelete(java.lang.Object noun, java.lang.Object nounPart) throws AbstractApplicationException
protected boolean resolveByExternalIdentifier(java.lang.Object aNoun, java.lang.Object aNounPart) throws DataMediatorException
protected java.lang.String getWidgetUniqueId(LayoutType layout)
protected WidgetType getWidget(LayoutType layout)
protected java.lang.String getWidgetUniqueId()
protected PageLayoutWidget getPageLayoutWidgetPhysicalObject()
protected void setPageLayoutWidgetPhysicalObject(PageLayoutWidget pageLayoutWidget)
protected void buildWidgetProperties(WidgetType widgetType, PageLayoutWidget widgetPSDO)
protected PageLayoutFactory getPageLayoutFactory()