com.unboundid.ldap.sdk.transformations
Interface LDIFChangeRecordTransformation

All Superinterfaces:
LDIFReaderChangeRecordTranslator, LDIFWriterChangeRecordTranslator
All Known Implementing Classes:
ExcludeAttributeTransformation, MoveSubtreeTransformation, RedactAttributeTransformation, RenameAttributeTransformation, ScrambleAttributeTransformation

@Extensible
@ThreadSafety(level=INTERFACE_THREADSAFE)
public interface LDIFChangeRecordTransformation
extends LDIFReaderChangeRecordTranslator, LDIFWriterChangeRecordTranslator

This class defines an API that may be used to apply some kind of transformation to an LDIF change record to alter its contents or suppress it from further processing.


Method Summary
 LDIFChangeRecord transformChangeRecord(LDIFChangeRecord changeRecord)
          Applies an appropriate transformation to the provided LDIF change record.
 
Methods inherited from interface com.unboundid.ldif.LDIFReaderChangeRecordTranslator
translate
 
Methods inherited from interface com.unboundid.ldif.LDIFWriterChangeRecordTranslator
translateChangeRecordToWrite
 

Method Detail

transformChangeRecord

LDIFChangeRecord transformChangeRecord(LDIFChangeRecord changeRecord)
Applies an appropriate transformation to the provided LDIF change record.

Parameters:
changeRecord - The LDIF change record to transform.
Returns:
A copy of the change record with any appropriate transformation applied, the original change record if no transformations were necessary, or null if the change record should be suppressed.