Interface ImportedObjectPreProcessor
-
- All Known Implementing Classes:
AttachmentContentStatusPreProcessor
,BandanaXStreamUpgradePreProcessor
,ChainedImportedObjectPreProcessor
,ContentPropertyFilterPreProcessor
,NotNullBandanaRecordPreProcessor
,SkipObjectPreProcessor
,SkipObjectPropertyPreProcessor
,SkipObjectWithReferencePreProcessor
@Deprecated public interface ImportedObjectPreProcessor
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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
handles(ImportedObject object)
Deprecated.ImportedObject
process(ImportedObject object)
Deprecated.Takes an ImportedObject and returns a new, processed ImportedObject, or null if the ImportedObject should be skipped.
-
-
-
Method Detail
-
handles
boolean handles(ImportedObject object)
Deprecated.- Parameters:
object
- The object to be processed- Returns:
true
if this preprocessor should be applied to the object, otherwisefalse
.
-
process
ImportedObject process(ImportedObject object)
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.
-
-