public class ChangePageMediator extends AbstractChangeBusinessObjectMediatorImpl
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The IBM copyright field.
|
protected com.ibm.commerce.base.objects.ServerJDBCHelperAccessBean | jdbcHelper
Instance of ServerJDBCHelperAccessBean JDBC Helper class.
|
protected static java.lang.String | QUERY_FIND_PLPAGE_IN_BASE_SCHEMA
SQL to fetch the page from the base schema
|
Constructor and Description |
---|
ChangePageMediator() |
Modifier and Type | Method and Description |
---|---|
void | change(java.lang.Object aNoun)
This method performs no actions as Page updates are done by the change Page part mediator.
|
void | create(java.lang.Object aNoun)
This method populates the physical data container with the physical SDO object to create.
|
void | delete(java.lang.Object aNoun)
This method updates the physical data container with the physical SDO object to delete.
|
java.lang.Object | findPhysicalEntity(java.lang.Object aNoun)
This method returns the physical SDO from the PhysicalDataContainer that was created in the initializePhysicalDataContainer method that matches the provided noun.
|
protected CommerceFoundationFactory | getCommerceFoundationFactory()
This method returns the default instance of the Commerce Foundation Factory.
|
protected PhysicalDataContainer | initializePhysicalDataContainer(java.util.List aListNoun)
This method initializes the physical data container for this mediator.
|
protected boolean | resolveByExternalIdentifier(java.lang.Object aNoun)
This method sets the unique ID in the noun if it does not have the unique ID set but has the external identifier set.
|
java.util.List | validateChange(java.lang.Object aNoun)
This method checks if the logical Page noun can be updated.
|
java.util.List | validateCreate(java.lang.Object aNoun)
This method checks if the logical Page noun can be created.
|
java.util.List | validateDelete(java.lang.Object aNoun)
This method checks if the logical Page noun can be deleted.
|
public static final java.lang.String COPYRIGHT
protected final com.ibm.commerce.base.objects.ServerJDBCHelperAccessBean jdbcHelper
protected static final java.lang.String QUERY_FIND_PLPAGE_IN_BASE_SCHEMA
public void create(java.lang.Object aNoun) throws AbstractApplicationException
public void change(java.lang.Object aNoun) throws AbstractApplicationException
public void delete(java.lang.Object aNoun) throws AbstractApplicationException
public java.lang.Object findPhysicalEntity(java.lang.Object aNoun) throws DataMediatorException
protected PhysicalDataContainer initializePhysicalDataContainer(java.util.List aListNoun) throws DataMediatorException
protected boolean resolveByExternalIdentifier(java.lang.Object aNoun) throws DataMediatorException
public java.util.List validateCreate(java.lang.Object aNoun) throws DataMediatorException
public java.util.List validateChange(java.lang.Object aNoun) throws DataMediatorException
public java.util.List validateDelete(java.lang.Object aNoun) throws DataMediatorException
protected CommerceFoundationFactory getCommerceFoundationFactory()