public class ChangeLayoutWidgetPartMediator extends AbstractChangeBusinessObjectPartMediatorImpl
Constructor and Description |
---|
ChangeLayoutWidgetPartMediator() |
Modifier and Type | Method and Description |
---|---|
void |
create(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method creates the widget part for the layout.
|
void |
delete(java.lang.Object noun,
java.lang.Object nounPart)
This method deletes the widget from the layout by deleting the
widget's properties, slots and removing it from the parent widget.
|
java.lang.Object |
findPhysicalEntity(java.lang.Object noun,
java.lang.Object nounPart)
This method finds Layout in the physical data container that matches with the Layout noun
|
java.lang.String[] |
getNounPartXPaths()
Returns the NounPart part XPaths supported by this mediator.
|
void |
update(java.lang.Object noun,
java.lang.Object nounPart)
This method updates the widget's properties.
|
java.util.List |
validateChange(java.lang.Object noun,
java.lang.Object nounPart)
This method checks if the logical Widget noun part can be updated.
|
java.util.List |
validateCreate(java.lang.Object noun,
java.lang.Object nounPart)
This method checks if the logical widget noun part can be created.
|
java.util.List |
validateDelete(java.lang.Object noun,
java.lang.Object nounPart)
This method performs custom business logic validation when deleting a noun part.
|
applyChanges, convertToBigDecimal, convertToDate, convertToDouble, convertToInteger, convertToLong, getNounParts, getParentPhysicalDataContainer, getPhysicalDataContainer, initialize
getUpdateAccessProfile, setUpdateAccessProfile
initializeConfig
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getUpdateAccessProfile, setUpdateAccessProfile
initializeConfig
public void create(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
aNoun
- The logical LayoutType
SDO business object to create.aNounPart
- The logic AuthoringWidgetType
SDO business object to create.AbstractApplicationException
public void delete(java.lang.Object noun, java.lang.Object nounPart) throws AbstractApplicationException
noun
- The logical LayoutType
SDO business object.nounPart
- The logical AuthoringWidgetType
SDO business object.AbstractApplicationException
public java.lang.Object findPhysicalEntity(java.lang.Object noun, java.lang.Object nounPart) throws AbstractApplicationException
noun
- The logical nounnounPart
- The logical noun partAbstractApplicationException
ChangeBusinessObjectPartMediator.findPhysicalEntity(java.lang.Object,
java.lang.Object)
public java.lang.String[] getNounPartXPaths()
ChangeBusinessObjectPartMediator
ChangeBusinessObjectPartMediator.getNounPartXPaths()
public void update(java.lang.Object noun, java.lang.Object nounPart) throws AbstractApplicationException
noun
- The logical LayoutType
SDO business object to update.nounPart
- The logical AuthoringWidgetType
SDO business object to update.AbstractApplicationException
public java.util.List validateChange(java.lang.Object noun, java.lang.Object nounPart) throws AbstractApplicationException
noun
- The logical LayoutType
SDO business object to validate.nounPart
- The logical AuthoringWidgetType
SDO business object.ApplicationError
if there are any
errors, otherwise the list will be empty.AbstractApplicationException
public java.util.List validateCreate(java.lang.Object noun, java.lang.Object nounPart) throws AbstractApplicationException
noun
- The logical LayoutType
SDO business object to validate.nounPart
- The logical AuthoringWidgetType
SDO business object to validate.ApplicationError
if there are any
errors, otherwise the list will be empty.AbstractApplicationException
public java.util.List validateDelete(java.lang.Object noun, java.lang.Object nounPart) throws AbstractApplicationException
noun
- The noun to perform the operation on.nounPart
- The part of the noun to delete.ApplicationError
if there are any
errors, otherwise the list will be empty.AbstractApplicationException
- A problem occurred while adding the noun part.