public abstract class AbstractChangeBusinessObjectPartMediatorImpl extends AbstractTransformBusinessObjectMediatorImpl implements ChangeBusinessObjectPartMediator
Constructor and Description |
---|
AbstractChangeBusinessObjectPartMediatorImpl() |
Modifier and Type | Method and Description |
---|---|
protected void | addUpdateSQLStatement(java.lang.String astrQueryName, java.util.Map aQueryParameters)
Adds the update statement to the list of statements that are executed after saving the physical data container.
|
void | applyChanges()
Saves the changes for the physical data container associated with this mediator This method executes the statements added via the addUpdateSQLStatement method and then calls the postInvoke method
|
java.math.BigDecimal | convertToBigDecimal(java.lang.String name, java.lang.String value)
Deprecated.
|
java.util.Date | convertToDate(java.lang.String name, java.lang.String value)
Deprecated.
|
double | convertToDouble(java.lang.String name, java.lang.String value)
Deprecated.
|
int | convertToInteger(java.lang.String name, java.lang.String value)
Deprecated.
|
long | convertToLong(java.lang.String name, java.lang.String value)
Deprecated.
|
java.util.List | getNounParts()
Returns the noun parts handled by this mediator.
|
PhysicalDataContainer | getParentPhysicalDataContainer()
Returns the parent physical data container for this mediator.
|
PhysicalDataContainer | getPhysicalDataContainer()
Returns the physical data container for 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
|
protected abstract PhysicalDataContainer | initializePhysicalDataContainer(java.util.Map aMapNounPart)
Initializes the physical data container based on the nouns and noun parts.
|
protected void | postInvoke()
Abstract implementation, does no operation
|
protected abstract boolean | resolveByExternalIdentifier(java.lang.Object aNoun, java.lang.Object aNounPart)
Resolves the noun part.
|
protected void | updateNameValuePairType(java.util.Map attributes, java.lang.Object aLogicalObject, java.lang.Object aPhysicalObject)
Updates the noun part level attributes by copying values from the logical object to the physical entity.
|
public AbstractChangeBusinessObjectPartMediatorImpl()
public void initialize(java.util.Map aMapNounPart, PhysicalDataContainer aParentPhysicalDataContainer) throws java.lang.Exception
public PhysicalDataContainer getParentPhysicalDataContainer()
public java.util.List getNounParts()
public PhysicalDataContainer getPhysicalDataContainer()
protected abstract PhysicalDataContainer initializePhysicalDataContainer(java.util.Map aMapNounPart) throws java.lang.Exception
protected abstract boolean resolveByExternalIdentifier(java.lang.Object aNoun, java.lang.Object aNounPart) throws java.lang.Exception
protected void updateNameValuePairType(java.util.Map attributes, java.lang.Object aLogicalObject, java.lang.Object aPhysicalObject) throws AbstractApplicationException
public void applyChanges() throws AbstractApplicationException
protected void addUpdateSQLStatement(java.lang.String astrQueryName, java.util.Map aQueryParameters)
protected void postInvoke() throws AbstractApplicationException
public int convertToInteger(java.lang.String name, java.lang.String value)
public java.math.BigDecimal convertToBigDecimal(java.lang.String name, java.lang.String value)
public java.util.Date convertToDate(java.lang.String name, java.lang.String value)
public double convertToDouble(java.lang.String name, java.lang.String value)
public long convertToLong(java.lang.String name, java.lang.String value)