public class ChangePromotionDescriptionPartMediator extends AbstractChangeBusinessObjectPartMediatorImpl
Constructor and Description |
---|
ChangePromotionDescriptionPartMediator() |
Modifier and Type | Method and Description |
---|---|
void |
create(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method creates the Description noun part.
|
void |
delete(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method deletes the Description noun part.
|
java.lang.Object |
findPhysicalEntity(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method returns the
DescriptionType physical SDO from
the PhysicalDataContainer that was created in the
ChangePromotionMediator mediator. |
java.lang.String[] |
getNounPartXPaths()
This method gets the xpath for the noun part.
|
void |
update(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method updates the Description noun part.
|
java.util.List |
validateChange(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method checks if the logical
DescriptionType noun
part can be updated. |
java.util.List |
validateCreate(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method checks if the logical
DescriptionType noun
part can be created. |
java.util.List |
validateDelete(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method checks if the logical
DescriptionType noun
part can be deleted. |
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 ChangePromotionDescriptionPartMediator()
public java.lang.String[] getNounPartXPaths()
public void create(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
aNoun
- The logical PromotionType
SDO business object.aNounPart
- The noun part DescriptionType
SDO business
object.AbstractApplicationException
- when failed to create the noun part.public void update(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
aNoun
- The logical PromotionType
SDO business object.aNounPart
- The noun part DescriptionType
SDO business
object.AbstractApplicationException
- when failed to create the noun part.public void delete(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
aNoun
- The logical PromotionType
SDO business object.aNounPart
- The noun part DescriptionType
SDO business
object.AbstractApplicationException
- when failed to create the noun part.public java.util.List validateCreate(java.lang.Object aNoun, java.lang.Object aNounPart) throws DataMediatorException
DescriptionType
noun
part can be created. It checks that the noun exists in the physical data
container. If the noun part cannot be created, the appropriate error
exception is added to the list of exceptions to be returned to the
caller.aNoun
- The logical PromotionType
SDO business object
to validate.aNounPart
- The noun part DescriptionType
SDO business
object.ApplicationError
if
there are any errors, otherwise the list will be empty.DataMediatorException
- When error happens.public java.util.List validateChange(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
DescriptionType
noun
part can be updated. It checks that the noun exists in the physical data
container. If the noun part cannot be updated, the appropriate error
exception is added to the list of exceptions to be returned to the
caller.aNoun
- The logical PromotionType
SDO business object
to validate.aNounPart
- The noun part DescriptionType
SDO business
object.ApplicationError
if
there are any errors, otherwise the list will be empty.AbstractApplicationException
- When error happens.public java.util.List validateDelete(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
DescriptionType
noun
part can be deleted. It checks that the noun exists in the physical data
container. If the noun part cannot be deleted, the appropriate error
exception is added to the list of exceptions to be returned to the
caller.aNoun
- The logical PromotionType
SDO business object
to validate.aNounPart
- The noun part DescriptionType
SDO business
object.ApplicationError
if
there are any errors, otherwise the list will be empty.AbstractApplicationException
- When error happens.public java.lang.Object findPhysicalEntity(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
DescriptionType
physical SDO from
the PhysicalDataContainer
that was created in the
ChangePromotionMediator
mediator.aNoun
- The logical PromotionType
SDO.aNounPart
- The noun part DescriptionType
SDO.Px_description
object if
it is found, otherwise it returns null.AbstractApplicationException
- When error happens.