Class DuplicateChecker
- java.lang.Object
-
- org.somda.sdc.biceps.provider.preprocessing.DuplicateChecker
-
- All Implemented Interfaces:
DescriptionPreprocessingSegment
public class DuplicateChecker extends Object implements DescriptionPreprocessingSegment
Preprocessing segment that checks for handle duplicates on inserted entities during description modifications.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeforeFirstModification(MdibDescriptionModifications modifications, MdibStorage mdibStorage)Function that is invoked before the first modification in the processing chain is applied.voidprocess(MdibDescriptionModifications allModifications, MdibDescriptionModification currentModification, MdibStorage storage)In a sequence of modifications this function processes one modification.StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.somda.sdc.biceps.common.storage.DescriptionPreprocessingSegment
afterLastModification
-
-
-
-
Method Detail
-
beforeFirstModification
public void beforeFirstModification(MdibDescriptionModifications modifications, MdibStorage mdibStorage)
Description copied from interface:DescriptionPreprocessingSegmentFunction that is invoked before the first modification in the processing chain is applied.Default behavior is do nothing.
- Specified by:
beforeFirstModificationin interfaceDescriptionPreprocessingSegment- Parameters:
modifications- all modifications for preprocessing.mdibStorage- the MDIB storage to be used by the callback.
-
process
public void process(MdibDescriptionModifications allModifications, MdibDescriptionModification currentModification, MdibStorage storage) throws Exception
Description copied from interface:DescriptionPreprocessingSegmentIn a sequence of modifications this function processes one modification.- Specified by:
processin interfaceDescriptionPreprocessingSegment- Parameters:
allModifications- all modifications.currentModification- the current modification to be processed.storage- the MDIB storage for access.- Throws:
Exception- an arbitrary exception if something goes wrong.
-
-