|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CentraSiteImportValidator
Method Summary | |
---|---|
java.util.Collection |
getIgnoredObjects()
Return collection of objects that have been ignored because they are already present in the registry with the same state. |
javax.xml.registry.infomodel.RegistryObject |
getImportedObject(java.lang.String id)
Get the imported registry object, organized in a separate cache. |
java.util.Collection |
getReplacingObjects()
Return collection of objects that must be replaced in the registry because they are already present with a different state. |
void |
importObject(java.lang.String xml)
Import an object |
void |
importObject(java.lang.String xml,
java.lang.String centrasiteUrl,
java.util.Collection lifecycleStages)
Import an object, check lifecycle stages |
boolean |
removeImportedObject(java.lang.String id)
Remove a previously imported object from this ImportValidator. |
void |
setConflictListener(CentraSiteConflictListener conflictListener)
Set a listener for "Conflict" situations during ImportValidation |
void |
setImportGroups(boolean importGroups)
Sets whether the group objects can be included for import |
void |
setKeepOwner()
Set whether to keep the owner of the validated objects in contrast to set to the importing user. |
javax.xml.registry.BulkResponse |
validate()
Validate imported objects, that is verify all outgoing references are satisfied by persistent objects or objects imported in the same chunk. |
Method Detail |
---|
void importObject(java.lang.String xml) throws javax.xml.registry.JAXRException
xml
- the XML representation of the object to be imported
javax.xml.registry.JAXRException
void importObject(java.lang.String xml, java.lang.String centrasiteUrl, java.util.Collection lifecycleStages) throws javax.xml.registry.JAXRException
xml
- the XML representation of the object to be importedcentrasiteUrl
- the URL of the connectionlifecycleStages
- collection of lifecycle stages the object can be
imported into
javax.xml.registry.JAXRException
boolean removeImportedObject(java.lang.String id) throws javax.xml.registry.JAXRException
id
- the key id of the object to be removed
javax.xml.registry.JAXRException
java.util.Collection getIgnoredObjects()
java.util.Collection getReplacingObjects()
javax.xml.registry.BulkResponse validate() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
void setKeepOwner()
void setImportGroups(boolean importGroups)
importGroups
- void setConflictListener(CentraSiteConflictListener conflictListener)
conflictListener
- a listenerjavax.xml.registry.infomodel.RegistryObject getImportedObject(java.lang.String id) throws javax.xml.registry.JAXRException
id
- the id of the object
javax.xml.registry.JAXRException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |