Interface DataConverterStoreHook


  • public interface DataConverterStoreHook
    A hook that is called immediately before each Item is stored by the DataConverter.
    Author:
    Kim Rutherford
    • Method Detail

      • processItem

        void processItem​(DataConverter dataConverter,
                         Item item)
        This method is called before storing an Item. The method is able to create new Items and call dataConverter.store(), but must not call store() on the "item" argument to the method.
        Parameters:
        dataConverter - the DataConverter
        item - the Item