Class DefaultOperationResolver
java.lang.Object
com.broadleafcommerce.common.dataimport.util.DefaultOperationResolver
- All Implemented Interfaces:
 OperationResolver
- Author:
 - Phillip Verheyden (phillipuniverse)
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionresolveOperation(String recordType, OperationType suppliedOperation, String suppliedId, Map<String, String> row) Determine the id that should be used forBatchRecord.getResourceTierIdentifier()for the parsed record from a file 
- 
Constructor Details
- 
DefaultOperationResolver
public DefaultOperationResolver() 
 - 
 - 
Method Details
- 
resolveOperation
public OperationType resolveOperation(String recordType, @Nullable OperationType suppliedOperation, @Nullable String suppliedId, Map<String, String> row) Description copied from interface:OperationResolverDetermine the id that should be used forBatchRecord.getResourceTierIdentifier()for the parsed record from a file- Specified by:
 resolveOperationin interfaceOperationResolver- Parameters:
 recordType- the type of record being resolvedsuppliedOperation- the operation that was given by the user in the file, can benullsuppliedId- the primary key resolved from the file, can benullrow- the record parsed from the file- Returns:
 - operation that should be used for the record
 
 
 -