public class ChangeInventoryAvailabilityBasePartMediator extends AbstractChangeBusinessObjectPartMediatorImpl
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
Constructor and Description |
---|
ChangeInventoryAvailabilityBasePartMediator() |
Modifier and Type | Method and Description |
---|---|
void |
create(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method creates the physical entity corresponding to the logical InventoryAvailability noun.
|
void |
delete(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method performs no actions as the deleting noun is done by the
ChangeInventoryAvailabilityMediator . |
java.lang.Object |
findPhysicalEntity(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method returns the
Inventoryavailability physical SDO from the
PhysicalDataContainer that was created in the
ChangeInventoryAvailabilityMediator mediator. |
java.lang.String[] |
getNounPartXPaths()
This method gets the
xpath for the main noun part. |
void |
update(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method updates the physical data container with the modified
Inventoryavailability
object. |
java.util.List |
validateChange(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method checks if the logical
InventoryAvailabilityType noun can be updated. |
java.util.List |
validateCreate(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method performs no checking as the validation is done by the
ChangeInventoryAvailabilityMediator . |
java.util.List |
validateDelete(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method performs no checking as the validation is done by the
ChangeInventoryAvailabilityMediator . |
applyChanges, convertToBigDecimal, convertToDate, convertToDouble, convertToInteger, convertToLong, getNounParts, getParentPhysicalDataContainer, getPhysicalDataContainer, initialize
getUpdateAccessProfile, setUpdateAccessProfile
initializeConfig
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getUpdateAccessProfile, setUpdateAccessProfile
initializeConfig
public static final java.lang.String COPYRIGHT
public ChangeInventoryAvailabilityBasePartMediator()
public java.lang.String[] getNounPartXPaths()
xpath
for the main noun part.xpath
for the main noun part.public void create(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
aNoun
- The logical InventoryAvailabilityType
SDO
business object.aNounPart
- The logical InventoryAvailabilityType
SDO
business object.AbstractApplicationException
public void update(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
Inventoryavailability
object.aNoun
- The logical InventoryAvailabilityType
SDO
business object to update.aNounPart
- The logical InventoryAvailabilityType
SDO
business object to update.AbstractApplicationException
public void delete(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
ChangeInventoryAvailabilityMediator
.aNoun
- The logical InventoryAvailabilityType
SDO
business object.aNounPart
- The logical InventoryAvailabilityType
SDO
business object.AbstractApplicationException
public java.util.List validateCreate(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
ChangeInventoryAvailabilityMediator
.aNoun
- The logical InventoryAvailabilityType
SDO
business object.aNounPart
- The logical InventoryAvailabilityType
SDO
business object.AbstractApplicationException
public java.util.List validateChange(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
InventoryAvailabilityType
noun can be updated. It checks that
the noun exists in the physical data container.
If the noun cannot be updated, the appropriate error exception is added to the
list of exceptions to be returned to the caller.aNoun
- The logical InventoryAvailabilityType
SDO
business object to validate.aNounPart
- The logical InventoryAvailabilityType
SDO
business object.ApplicationError
if there are any
errors, otherwise the list will be empty.AbstractApplicationException
public java.util.List validateDelete(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
ChangeInventoryAvailabilityMediator
.aNoun
- The logical InventoryAvailabilityType
SDO
business object.aNounPart
- The logical InventoryAvailabilityType
SDO
business object.AbstractApplicationException
public java.lang.Object findPhysicalEntity(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
Inventoryavailability
physical SDO
from the
PhysicalDataContainer
that was created in the
ChangeInventoryAvailabilityMediator
mediator.aNoun
- The logical InventoryAvailabilityType
SDO
.aNounPart
- The logical InventoryAvailabilityType
SDO
.Inventoryavailability
object if it is found, otherwise it returns null.AbstractApplicationException