com.softwareag.centrasite.appl.framework.persistence.mapper
Interface ChangeHandler


public interface ChangeHandler

This interface provides callback methods for handing changes to RegistryObjects and their representation as beans.


Method Summary
 void created(RegistryBean registryBean)
          Creates the RegistryBean in the registry.
 void deleted(javax.xml.registry.infomodel.RegistryObject registryObject)
          Deletes the RegistryObject.
 java.util.List<javax.xml.registry.infomodel.RegistryObject> getModifiedObjects()
          Obtains the list of RegistryObject modified when applying the changes.
 void updated(RegistryBean registryBean, javax.xml.registry.infomodel.RegistryObject registryObject)
          Updates the RegistryObject with the values from the RegistryBean.
 

Method Detail

updated

void updated(RegistryBean registryBean,
             javax.xml.registry.infomodel.RegistryObject registryObject)
             throws javax.xml.registry.JAXRException,
                    MappingException
Updates the RegistryObject with the values from the RegistryBean.

Parameters:
registryBean -
registryObject -
Throws:
javax.xml.registry.JAXRException
MappingException

deleted

void deleted(javax.xml.registry.infomodel.RegistryObject registryObject)
             throws javax.xml.registry.JAXRException
Deletes the RegistryObject.

Parameters:
registryObject -
Throws:
javax.xml.registry.JAXRException

created

void created(RegistryBean registryBean)
             throws javax.xml.registry.JAXRException,
                    MappingException
Creates the RegistryBean in the registry.

Parameters:
registryBean -
Throws:
javax.xml.registry.JAXRException
MappingException

getModifiedObjects

java.util.List<javax.xml.registry.infomodel.RegistryObject> getModifiedObjects()
Obtains the list of RegistryObject modified when applying the changes.

Returns:
List of the modified RegistryObject instances.