public class ChangeLayoutPageLocationPartMediator extends AbstractChangeBusinessObjectPartMediatorImpl
Constructor and Description |
---|
ChangeLayoutPageLocationPartMediator() |
Modifier and Type | Method and Description |
---|---|
void |
create(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method populates the physical data container with the Page Location physical SDO to create.
|
void |
delete(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method removes the Page Location physical SDO from the physical data container.
|
java.lang.Object |
findPhysicalEntity(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method returns the physical SDO from the
PhysicalDataContainer
that matches the Page Location noun part. |
java.lang.String[] |
getNounPartXPaths()
Returns the NounPart part XPaths supported by this mediator.
|
void |
initialize(java.util.Map aMapNounPart,
PhysicalDataContainer aParentPhysicalDataContainer)
Initializes the change part mediator, resolves the noun parts and initializes the physical data container.
|
void |
update(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method updates the physical data container with the modified the Page Location physical SDO.
|
java.util.List |
validateChange(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method checks if the Page Location noun part can be changed.
|
java.util.List |
validateCreate(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method checks if the Page Location noun part can be created.
|
java.util.List |
validateDelete(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method checks if the Page Location noun part can be deleted.
|
applyChanges, convertToBigDecimal, convertToDate, convertToDouble, convertToInteger, convertToLong, getNounParts, getParentPhysicalDataContainer, getPhysicalDataContainer
getUpdateAccessProfile, setUpdateAccessProfile
initializeConfig
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getUpdateAccessProfile, setUpdateAccessProfile
initializeConfig
public ChangeLayoutPageLocationPartMediator()
public void create(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
aNoun
- The logical LayoutType
SDO to create.Cannot be null.aNounPart
- The logical PageLocationType
SDO to create.Cannot be null.AbstractApplicationException
public void delete(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
aNoun
- The logical LayoutType
SDO. Cannot be null.aNounPart
- The logical PageLocationType
SDO. Cannot be null.AbstractApplicationException
public void update(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
aNoun
- The logical LayoutType
SDO. Cannot be null.aNounPart
- The logical PageLocationType
SDO. Cannot be null.AbstractApplicationException
public java.lang.Object findPhysicalEntity(java.lang.Object aNoun, java.lang.Object aNounPart)
PhysicalDataContainer
that matches the Page Location noun part.aNoun
- The logical LayoutType
SDO. Cannot be null.aNounPart
- The logical PageLocationType
SDO. Cannot be null.PageLayoutLocation
object if it is found, otherwise it returns null.public java.lang.String[] getNounPartXPaths()
ChangeBusinessObjectPartMediator
ChangeBusinessObjectPartMediator.getNounPartXPaths()
public java.util.List validateCreate(java.lang.Object aNoun, java.lang.Object aNounPart) throws DataMediatorException
aNoun
- The logical LayoutType
SDO. Cannot be null.aNounPart
- The logical PageLocationType
SDO. Cannot be null.ApplicationError
if
there are any errors, otherwise the list will be empty. Cannot be null.DataMediatorException
public java.util.List validateChange(java.lang.Object aNoun, java.lang.Object aNounPart) throws DataMediatorException
aNoun
- The logical LayoutType
SDO to validate. Cannot be null.aNounPart
- The logical PageLocationType
SDO. Cannot be null.ApplicationError
if
there are any errors, otherwise the list will be empty. Cannot be null.DataMediatorException
public java.util.List validateDelete(java.lang.Object aNoun, java.lang.Object aNounPart) throws DataMediatorException
aNoun
- The logical LayoutType
SDO.Cannot be null.aNounPart
- The logical PageLocationType
SDO.Cannot be null.ApplicationError
if
there are any errors, otherwise the list will be empty.Cannot be null.DataMediatorException
public void initialize(java.util.Map aMapNounPart, PhysicalDataContainer aParentPhysicalDataContainer) throws java.lang.Exception
initialize
in interface ChangeBusinessObjectPartMediator
initialize
in class AbstractChangeBusinessObjectPartMediatorImpl
aMapNounPart
- The noun part detailsaParentPhysicalDataContainer
- The parent containerjava.lang.Exception
com.ibm.commerce.foundation.server.services.dataaccess.bom.mediator.ChangeBusinessObjectPartMediator#initialize(java.lang.Object, java.util.List, com.ibm.commerce.foundation.server.services.dataaccess.PhysicalDataContainer, java.lang.Object)