public class ChangePageSEOURLPartMediator extends AbstractChangeBusinessObjectPartMediatorImpl
ChangePageSEOURLPartMediator
persists updates to a Page SEO URL noun part to database.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright field.
|
Constructor and Description |
---|
ChangePageSEOURLPartMediator() |
Modifier and Type | Method and Description |
---|---|
void |
create(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method populates the physical data container with the SEO URL physical SDO to create.
|
void |
delete(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method removes the SEO URL physical SDO from the physical data container.
|
java.lang.Object |
findPhysicalEntity(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method returns the physical SDO from the
PhysicalDataContainer that was created in the
ChangePageMediator mediator. |
java.lang.String[] |
getNounPartXPaths()
This method gets the XPath for the main Page noun part.
|
void |
update(java.lang.Object aNoun,
java.lang.Object aNounPart)
This method updates the physical data container with the modified SEO URL
physical SDO object.
|
java.util.List |
validateChange(java.lang.Object noun,
java.lang.Object nounPart)
This method checks if the SEO URL noun part can be changed.
|
java.util.List |
validateCreate(java.lang.Object noun,
java.lang.Object nounPart)
This method checks if the SEOURL noun part can be created.
|
java.util.List |
validateDelete(java.lang.Object noun,
java.lang.Object nounPart)
This method checks if the SEOURL 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 static final java.lang.String COPYRIGHT
public void create(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
aNoun
- The logical PageType
SDO business object.aNounPart
- The logical SEOURLType
SDO business object.AbstractApplicationException
- exception could be thrown if any error occurspublic void update(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
aNoun
- The logical PageType
SDO business object to
update.aNounPart
- The logical SEOURLType
SDO business object to
update.AbstractApplicationException
- exception could be thrown if any error occurspublic void delete(java.lang.Object aNoun, java.lang.Object aNounPart) throws AbstractApplicationException
aNoun
- The logical PageType
SDO business object.aNounPart
- The logical SEOURLType
SDO business object.AbstractApplicationException
- exception could be thrown if any error occurspublic java.lang.String[] getNounPartXPaths()
public java.util.List validateCreate(java.lang.Object noun, java.lang.Object nounPart) throws DataMediatorException
noun
- The logical PageType
SDO. Cannot be null.nounPart
- The logical SEOURLType
SDO. Cannot be null.ApplicationError
if
there are any errors, otherwise the list will be empty. Cannot be null.DataMediatorException
public java.util.List validateDelete(java.lang.Object noun, java.lang.Object nounPart) throws DataMediatorException
noun
- The logical PageType
SDO.Cannot be null.nounPart
- The logical SEOURLType
SDO.Cannot be null.ApplicationError
if
there are any errors, otherwise the list will be empty.Cannot be null.DataMediatorException
public java.util.List validateChange(java.lang.Object noun, java.lang.Object nounPart) throws DataMediatorException
noun
- The logical PageType
SDO to validate. Cannot be null.nounPart
- The logical SEOURLType
SDO. Cannot be null.ApplicationError
if
there are any errors, otherwise the list will be empty. Cannot be null.DataMediatorException
public java.lang.Object findPhysicalEntity(java.lang.Object aNoun, java.lang.Object aNounPart) throws DataMediatorException
PhysicalDataContainer
that was created in the
ChangePageMediator
mediator.aNoun
- The logical PageType
SDO.aNounPart
- The logical SEOURLType
SDO.PhysicalPage
object if it is
found, otherwise it returns null.DataMediatorException
- exception could be thrown if any error occurs