public interface ChangeBusinessObjectPartMediator 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 in the physical data continer to the physical persistent storage.
|
void |
create(java.lang.Object aNoun,
java.lang.Object aNounPart)
Creates the physical entities corresponding to the logical noun part and adds to the root physical entity.
|
void |
delete(java.lang.Object aNoun,
java.lang.Object aNounPart)
Deletes the logical noun part.
|
java.lang.Object |
findPhysicalEntity(java.lang.Object aNoun,
java.lang.Object aNounPart)
Finds the physical entity corresponding to the noun in the
physical data container associated with this mediator.
|
java.util.List |
getNounParts()
Returns the list of noun parts associated with this mediator
|
java.lang.String[] |
getNounPartXPaths()
Returns the NounPart part XPaths supported by this mediator.
|
PhysicalDataContainer |
getPhysicalDataContainer()
Returns 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.Map aMapNounPart,
PhysicalDataContainer aParentPhysicalDataContainer)
Initializes the change part mediator and sets the parent physical data container
|
void |
setUpdateAccessProfile(java.lang.String astrAccessProfile)
This method sets the update access profile which defined in the wc-business-object-mediator.xml file
|
void |
update(java.lang.Object aNoun,
java.lang.Object aNounPart)
Updates the logical noun part.
|
java.util.List |
validateChange(java.lang.Object aNoun,
java.lang.Object aNounPart)
Performs basic validation if the physical entity
corresponding to the noun part is already present
in the physical data container that was initialized.
|
java.util.List |
validateCreate(java.lang.Object aNoun,
java.lang.Object aNounPart)
Performs basic validation if the physical entity
corresponding to the noun part is already present
in the physical data container that was initialized.
|
java.util.List |
validateDelete(java.lang.Object aNoun,
java.lang.Object aNounPart)
Performs basic validation if the physical entity
corresponding to the noun part is already present
in the physical data container that was initialized.
|
initializeConfig
static final java.lang.String COPYRIGHT
java.util.List getNounParts()
void initialize(java.util.Map aMapNounPart, PhysicalDataContainer aParentPhysicalDataContainer) throws java.lang.Exception
aMapNounPart
- The noun part detailsaParentPhysicalDataContainer
- The parent containerjava.lang.Exception
PhysicalDataContainer getPhysicalDataContainer()
java.util.List validateCreate(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
aNoun
- The nounaNounPart
- The noun partAbstractApplicationException
java.util.List validateChange(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
aNoun
- The nounaNounPart
- The noun partAbstractApplicationException
java.util.List validateDelete(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
aNoun
- The nounaNounPart
- The noun partAbstractApplicationException
void create(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
aNoun
- The logical noun that contains the noun partaNounPart
- The noun part for which the corresponding physical entities needs to be createdAbstractApplicationException
void update(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
aNoun
- The logical noun that contains the noun partaNounPart
- The noun part for which the corresponding physical entities needs to be updatedAbstractApplicationException
void delete(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
aNoun
- The logical noun having the noun part to be deletedaNounPart
- The logical noun part that needs to be deletedAbstractApplicationException
java.lang.Object findPhysicalEntity(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
aNoun
- The logical nounaNounPart
- The logical noun partAbstractApplicationException
java.lang.String[] getNounPartXPaths()
void applyChanges() throws AbstractApplicationException
AbstractApplicationException
void setUpdateAccessProfile(java.lang.String astrAccessProfile)
astrAccessProfile
- The name of the aceess profile.java.lang.String getUpdateAccessProfile()