public interface RecordPersistencePreProcessor
ImportPersister
saves a RecordParseResult
RecordPersistencePostProcessor}
Modifier and Type | Method and Description |
---|---|
void |
prePersist(RecordParseResult parseResult,
ImportContext context)
Invoked prior to the
ImportPersister persisting the RecordParseResult.getMainRequest() but after
the LateIdResolver has had a chance to run. |
void prePersist(RecordParseResult parseResult, ImportContext context) throws org.broadleafcommerce.common.exception.ServiceException
Invoked prior to the ImportPersister
persisting the RecordParseResult.getMainRequest()
but after
the LateIdResolver
has had a chance to run. This way, the given RecordParseResult.getMainRequest()
should already have the real id property already filled in and available for use.
Anything about the parseResult can be modified or changed that needs to happen prior to persisting
parseResult
- org.broadleafcommerce.common.exception.ServiceException
- if there was a some sort of problem in pre-processing the parseResultCopyright © 2020. All rights reserved.