public class ChangeInventoryRequirementBasePartMediator extends AbstractChangeBusinessObjectPartMediatorImpl
Constructor and Description |
---|
ChangeInventoryRequirementBasePartMediator() |
Modifier and Type | Method and Description |
---|---|
void |
create(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method performs no actions as creating noun is done by the
ChangeInventoryRequirementMediator . |
void |
delete(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method performs no actions as the deleting noun is done by the
ChangeInventoryRequirementMediator . |
java.lang.Object |
findPhysicalEntity(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method returns the
Inventoryrequirement physical SDO from the
PhysicalDataContainer that was created in the
ChangeInventoryRequirementMediator 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
Inventoryrequirement
object. |
java.util.List |
validateChange(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method checks if the logical
InventoryRequirementType 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
ChangeInventoryRequirementMediator . |
java.util.List |
validateDelete(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method performs no checking as the validation is done by the
ChangeInventoryRequirementMediator . |
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 ChangeInventoryRequirementBasePartMediator()
public java.lang.String[] getNounPartXPaths()
public void create(java.lang.Object aNoun, java.lang.Object aNounPart) throws BusinessObjectMediatorException, DataMediatorException
ChangeInventoryRequirementMediator
.aNoun
- The logical InventoryRequirementType
SDO business object.aNounPart
- The logical InventoryRequirementBaseType
SDO business object.BusinessObjectMediatorException
DataMediatorException
public void update(java.lang.Object aNoun, java.lang.Object aNounPart) throws BusinessObjectMediatorException, DataMediatorException
Inventoryrequirement
object.aNoun
- The logical InventoryRequirementType
SDO business object to update.aNounPart
- The logical InventoryRequirementType
SDO business object to update.BusinessObjectMediatorException
DataMediatorException
public void delete(java.lang.Object aNoun, java.lang.Object aNounPart) throws BusinessObjectMediatorException, DataMediatorException
ChangeInventoryRequirementMediator
.aNoun
- The logical InventoryRequirementType
SDO business object.aNounPart
- The logical InventoryRequirementType
SDO business object.BusinessObjectMediatorException
DataMediatorException
public java.util.List validateCreate(java.lang.Object aNoun, java.lang.Object aNounPart) throws DataMediatorException
ChangeInventoryRequirementMediator
.aNoun
- The logical InventoryRequirementType
SDO business object.aNounPart
- The logical InventoryRequirementType
SDO business object.DataMediatorException
public java.util.List validateChange(java.lang.Object aNoun, java.lang.Object aNounPart) throws DataMediatorException
InventoryRequirementType
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 InventoryRequirementType
SDO business object to validate.aNounPart
- The logical InventoryRequirementType
SDO business object.ApplicationError
if there are any
errors, otherwise the list will be empty.DataMediatorException
public java.util.List validateDelete(java.lang.Object aNoun, java.lang.Object aNounPart) throws DataMediatorException
ChangeInventoryRequirementMediator
.aNoun
- The logical InventoryRequirementType
SDO business object.aNounPart
- The logical InventoryRequirementType
SDO business object.DataMediatorException
public java.lang.Object findPhysicalEntity(java.lang.Object aNoun, java.lang.Object aNounPart) throws DataMediatorException
Inventoryrequirement
physical SDO from the
PhysicalDataContainer
that was created in the
ChangeInventoryRequirementMediator
mediator.aNoun
- The logical InventoryRequirementType
SDO.aNounPart
- The logical InventoryRequirementType
SDO.Inventoryrequirement
object if it is found, otherwise it returns null.DataMediatorException