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.
|
initializeConfig
static 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 nounAbstractApplicationException
java.util.List validateChange(java.lang.Object aNoun) throws AbstractApplicationException
aNoun
- The nounAbstractApplicationException
java.util.List validateDelete(java.lang.Object aNoun) throws AbstractApplicationException
aNoun
- The nounAbstractApplicationException
void create(java.lang.Object aNoun) throws AbstractApplicationException
aNoun
- The logical business object for which the physical entity needs to be createdAbstractApplicationException
void change(java.lang.Object aNoun) throws AbstractApplicationException
aNoun
- The logical noun with updated fieldsAbstractApplicationException
void delete(java.lang.Object aNoun) throws AbstractApplicationException
aNoun
- The logical noun that should be deletedAbstractApplicationException
java.lang.Object findPhysicalEntity(java.lang.Object aNoun) throws AbstractApplicationException
aNoun
- The logical nounAbstractApplicationException
ChangeBusinessObjectPartMediator getChangeNounPartMediator(java.util.Map aMapNoun) throws AbstractApplicationException
aMapNoun
- AbstractApplicationException
void applyChanges() throws AbstractApplicationException
AbstractApplicationException
void setUpdateAccessProfile(java.lang.String astrAccessProfile)
astrAccessProfile
- The name of the aceess profile.java.lang.String getUpdateAccessProfile()