Interface ImportedObjectPreProcessor
- All Known Implementing Classes:
AttachmentContentStatusPreProcessor
,BandanaXStreamUpgradePreProcessor
,ChainedImportedObjectPreProcessor
,ContentPropertyFilterPreProcessor
,NotNullBandanaRecordPreProcessor
,SkipObjectPreProcessor
,SkipObjectPropertyPreProcessor
,SkipObjectWithReferencePreProcessor
Deprecated.
since 7.17.0.
Allows imported objects to be modified before they are persisted. For example, we may want to change the spacekey of a space object
before it's actually in the system
-
Method Summary
Modifier and TypeMethodDescriptionboolean
handles
(ImportedObject object) Deprecated.process
(ImportedObject object) Deprecated.Takes an ImportedObject and returns a new, processed ImportedObject, or null if the ImportedObject should be skipped.
-
Method Details
-
handles
Deprecated.- Parameters:
object
- The object to be processed- Returns:
true
if this preprocessor should be applied to the object, otherwisefalse
.
-
process
Deprecated.Takes an ImportedObject and returns a new, processed ImportedObject, or null if the ImportedObject should be skipped. This method will not execute unlesshandles(ImportedObject)
returns true- Parameters:
object
- The object that needs to be processed- Returns:
- An ImportedObject with the relevant changes, or null if the object should not be imported.
-