com.leonarduk.clearcheckbook.calls.BulkProcessable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clearcheckbookapi Show documentation
Show all versions of clearcheckbookapi Show documentation
A Java library to access the HTTP developer API for
Clearcheckbook.com, the money management website.
/**
* BulkProcessable
*
* @author ${author}
* @since 10-Jul-2016
*/
package com.leonarduk.clearcheckbook.calls;
import java.util.List;
import com.leonarduk.clearcheckbook.ClearcheckbookException;
import com.leonarduk.clearcheckbook.dto.AbstractDataType;
/**
* The Interface BulkProcessable.
*
* @param
* the generic type
*/
public interface BulkProcessable> {
/**
* See {@link AbstractCall#bulkProcess(List)}.
*
* @param dataTypeList
* the data type list
* @return the list
* @throws ClearcheckbookException
* the clearcheckbook exception
*/
public List bulkProcess(List dataTypeList) throws ClearcheckbookException;
/**
* See {@link AbstractCall#process(AbstractDataType)}.
*
* @param dataType
* the data type
* @return the string
* @throws ClearcheckbookException
* the clearcheckbook exception
*/
public String process(T dataType) throws ClearcheckbookException;
}