public class ChangePageBasePartMediator extends AbstractChangeBusinessObjectPartMediatorImpl
ChangePageBasePartMediator
persists updates to a Page noun to database.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright field.
|
Constructor and Description |
---|
ChangePageBasePartMediator() |
Modifier and Type | Method and Description |
---|---|
void |
create(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method performs no actions as Page creation is done by the
ChangePageMediator |
void |
delete(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method performs no actions as Page deletion is done by the
ChangePageMediator |
java.lang.Object |
findPhysicalEntity(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method returns the physical SDO from the
PhysicalDataContainer that was created in the
ChangePageMediator mediator. |
java.lang.String[] |
getNounPartXPaths()
This method gets the XPath for the main Page noun part.
|
void |
update(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method updates the physical data container with the modified
physical SDO object.
|
java.util.List |
validateChange(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method checks if the logical Page noun can be updated.
|
java.util.List |
validateCreate(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method performs no checking as the validation is done by the Change
Page mediator.
|
java.util.List |
validateDelete(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method performs no checking as the validation is done by the Change
Page mediator.
|
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 static final java.lang.String COPYRIGHT
public void create(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
ChangePageMediator
aNoun
- The logical PageType
SDO business object.aNounPart
- The logical PageType
SDO business object.AbstractApplicationException
- exception could be thrown if any error occurspublic void update(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
aNoun
- The logical PageType
SDO business object to
update.aNounPart
- The logical PageType
SDO business object to
update.AbstractApplicationException
- exception could be thrown if any error occurspublic void delete(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
ChangePageMediator
aNoun
- The logical PageType
SDO business object.aNounPart
- The logical PageType
SDO business object.AbstractApplicationException
- exception could be thrown if any error occurspublic java.lang.String[] getNounPartXPaths()
public java.util.List validateCreate(java.lang.Object aNoun, java.lang.Object aNounPart) throws DataMediatorException
aNoun
- The logical PageType
SDO business object.aNounPart
- The logical PageType
SDO business object.DataMediatorException
- exception could be thrown if any error occurspublic java.util.List validateChange(java.lang.Object aNoun, java.lang.Object aNounPart) throws DataMediatorException
aNoun
- The logical PageType
SDO business object to
validate.aNounPart
- The logical PageType
SDO business object.ApplicationError
if
there are any errors, otherwise the list will be empty.DataMediatorException
- exception could be thrown if any error occurspublic java.util.List validateDelete(java.lang.Object aNoun, java.lang.Object aNounPart) throws DataMediatorException
aNoun
- The logical PageType
SDO business object.aNounPart
- The logical PageType
SDO business object.DataMediatorException
- exception could be thrown if any error occurspublic java.lang.Object findPhysicalEntity(java.lang.Object aNoun, java.lang.Object aNounPart) throws DataMediatorException
PhysicalDataContainer
that was created in the
ChangePageMediator
mediator.aNoun
- The logical PageType
SDO.aNounPart
- The logical PageType
SDO.PhysicalPage
object if it is
found, otherwise it returns null.DataMediatorException
- exception could be thrown if any error occurs