All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.univocity.api.entity.custom.UpdateProcess Maven / Gradle / Ivy

There is a newer version: 1.0.6
Show newest version
/*******************************************************************************
 * Copyright (c) 2013 uniVocity Software Pty Ltd. All rights reserved.
 * This file is subject to the terms and conditions defined in file
 * 'LICENSE.txt', which is part of this source code package.
 ******************************************************************************/
package com.univocity.api.entity.custom;

/**
 * A process for updating records of a {@link CustomDataEntity}.
 * Instances of this process must created when {@link CustomDataEntity#prepareToUpdate(String[], String[])} is called from a user-provided entity implementation
 *
 * @see CustomDataEntity
 * @see CustomProcess
 *
 * @author uniVocity Software Pty Ltd - [email protected]
 *
 */
public interface UpdateProcess extends CustomProcess {

	/**
	 * Updates an existing row of data in the custom data entity that originated this update process.
	 * @param updatedValues a row with updated values for the fields provided by uniVocity when calling {@link CustomDataEntity#prepareToUpdate(String[], String[])}
	 * @param matchingValues identifies which row must be updated. The field name sequence for the matching values is provided by uniVocity in {@link CustomDataEntity#prepareToUpdate(String[], String[])}
	 */
	public void updateNext(Object[] updatedValues, Object[] matchingValues);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy