public class ChangeCatalogGroupRuleMediator extends AbstractChangeBusinessObjectPartMediatorImpl
Constructor and Description |
---|
ChangeCatalogGroupRuleMediator() |
Modifier and Type | Method and Description |
---|---|
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)
Find the physical Catalog Group record.
|
java.lang.String[] |
getNounPartXPaths()
Returns the NounPart part XPaths supported by this mediator.
|
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 the following validations:
Checks if the catalog group entry to be changed is present in the
physical data container.
|
java.util.List |
validateCreate(java.lang.Object aNoun,
java.lang.Object aNounPart)
Checks if the object to be created is present in the physical data
container.
|
java.util.List |
validateDelete(java.lang.Object aNoun,
java.lang.Object aNounPart)
Checks if the object to be removed is present in the physical data
container.
|
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 void create(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
aNoun
- (CatalogGroupType) The logical noun that contains the noun
partaNounPart
- (CatalogGroupIdentifierType) The noun part for which the
corresponding physical entities needs to be created
(CatalogGroup) The root physical entity which will hold the
created physical entities for the noun partAbstractApplicationException
public void update(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
aNoun
- (CatalogGroupType) The logical noun that contains the noun
partaNounPart
- (RuleType) The noun part for which the corresponding physical
entities needs to be updated (CatalogGroup) The root physical
entity which will hold the updated physical entities for the
noun partAbstractApplicationException
public void delete(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
aNoun
- The CatalogGroup
nounaNounPart
- The RuleType
noun partAbstractApplicationException
com.ibm.commerce.foundation.server.services.dataaccess.bom.mediator.ChangeBusinessObjectPartMediator#delete(java.lang.Object,
java.lang.Object, java.lang.Object)
public java.lang.Object findPhysicalEntity(java.lang.Object aNoun, java.lang.Object aNounPart)
aNoun
- The CatalogGroup
nounaNounPart
- The RuleType
noun partDataMediatorException
ChangeBusinessObjectPartMediator.findPhysicalEntity(java.lang.Object,
java.lang.Object)
public java.util.List validateCreate(java.lang.Object aNoun, java.lang.Object aNounPart)
aNoun
- The nounaNounPart
- The noun partChangeBusinessObjectPartMediator.validateCreate(java.lang.Object,
java.lang.Object)
public java.util.List validateChange(java.lang.Object aNoun, java.lang.Object aNounPart)
aNoun
- The nounaNounPart
- The noun partChangeBusinessObjectPartMediator.validateChange(java.lang.Object,
java.lang.Object)
public java.util.List validateDelete(java.lang.Object aNoun, java.lang.Object aNounPart)
aNoun
- The nounaNounPart
- The noun partChangeBusinessObjectPartMediator.validateDelete(java.lang.Object,
java.lang.Object)
public java.lang.String[] getNounPartXPaths()
ChangeBusinessObjectPartMediator
ChangeBusinessObjectPartMediator.getNounPartXPaths()