public interface CentraSiteConflictListener
Note: if enhancing this interface, backward compatibility must be considered !!!
Modifier and Type | Method and Description |
---|---|
Organization |
getEffectiveOrganization(RegistryObject regObj,
java.lang.String orgKey)
Get the effective target organization for the object given.
|
boolean |
isEqualReplace(RegistryObject regObj)
Check if the object, which was notified as "equal timestamp" is to be replaced.
|
boolean |
isNewOrganizationForced()
Decides if a new organization (by getEffectiveOrganization()) is forced to set to the objects.
|
boolean |
isReplace(RegistryObject regObj)
Check if the object, which was notified as "Conflict" because of different timestamp
is replaced anyway.
|
boolean isReplace(RegistryObject regObj) throws JAXRException
regObj
- the conflicting objectJAXRException
- if an internal error occursboolean isEqualReplace(RegistryObject regObj) throws JAXRException
regObj
- the conflicting objectJAXRException
- if an internal error occursOrganization getEffectiveOrganization(RegistryObject regObj, java.lang.String orgKey) throws JAXRException
regObj
- the registry object being importedorgKey
- the current key of the 'submittingOrganization' of the object (null: not present)JAXRException
- if an internal error occursboolean isNewOrganizationForced() throws JAXRException
JAXRException
- if an internal error occurs