public interface ChangeBusinessObjectMediator extends BusinessObjectMediator
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyChanges()
Applies changes of the physical data continer to the persistent storage
with the help of data service layer (DSL)
|
void |
change(java.lang.Object aNoun)
Updates the logical noun and the noun parts.
|
void |
create(java.lang.Object aNoun)
Creates the physical entity corresponding to the logical noun.
|
void |
delete(java.lang.Object aNoun)
Deletes the logical noun.
|
java.lang.Object |
findPhysicalEntity(java.lang.Object aNoun)
Finds the physical entity corresponding to the noun in the
physical data container associated with this mediator.
|
ChangeBusinessObjectPartMediator |
getChangeNounPartMediator(java.util.Map aMapNoun)
The map of noun and noun parts.
|
java.util.List |
getNouns()
Gets the list of nouns associated with this mediator.
|
PhysicalDataContainer |
getPhysicalDataContainer()
Gets the physical data container associated with this mediator.
|
java.lang.String |
getUpdateAccessProfile()
This method returns the update access profile defined for a particular part mediator.
|
void |
initialize(java.util.List aListNoun)
Initializes the change mediator with the nouns submitted for the change request.
|
void |
setUpdateAccessProfile(java.lang.String astrAccessProfile)
This method set the update access profile which is defined in the wc-business-object-mediator.xml file
|
java.util.List |
validateChange(java.lang.Object aNoun)
Performs basic validation if the physical entity
corresponding to the noun is already present
in the physical data container that was initialized.
|
java.util.List |
validateCreate(java.lang.Object aNoun)
Performs basic validation if the physical entity
corresponding to the noun is already present
in the physical data container that was initialized.
|
java.util.List |
validateDelete(java.lang.Object aNoun)
Performs basic validation if the physical entity
corresponding to the noun is already present
in the physical data container that was initialized.
|
initializeConfigstatic final java.lang.String COPYRIGHT
java.util.List getNouns()
void initialize(java.util.List aListNoun)
throws java.lang.Exception
aListNoun - The list of nouns containing the noun parts that has changejava.lang.Exception - Error while initializingPhysicalDataContainer getPhysicalDataContainer()
java.util.List validateCreate(java.lang.Object aNoun)
throws AbstractApplicationException
aNoun - The nounAbstractApplicationExceptionjava.util.List validateChange(java.lang.Object aNoun)
throws AbstractApplicationException
aNoun - The nounAbstractApplicationExceptionjava.util.List validateDelete(java.lang.Object aNoun)
throws AbstractApplicationException
aNoun - The nounAbstractApplicationExceptionvoid create(java.lang.Object aNoun)
throws AbstractApplicationException
aNoun - The logical business object for which the physical entity needs to be createdAbstractApplicationExceptionvoid change(java.lang.Object aNoun)
throws AbstractApplicationException
aNoun - The logical noun with updated fieldsAbstractApplicationExceptionvoid delete(java.lang.Object aNoun)
throws AbstractApplicationException
aNoun - The logical noun that should be deletedAbstractApplicationExceptionjava.lang.Object findPhysicalEntity(java.lang.Object aNoun)
throws AbstractApplicationException
aNoun - The logical nounAbstractApplicationExceptionChangeBusinessObjectPartMediator getChangeNounPartMediator(java.util.Map aMapNoun) throws AbstractApplicationException
aMapNoun - AbstractApplicationExceptionvoid applyChanges()
throws AbstractApplicationException
AbstractApplicationExceptionvoid setUpdateAccessProfile(java.lang.String astrAccessProfile)
astrAccessProfile - The name of the aceess profile.java.lang.String getUpdateAccessProfile()