| java.lang.Object br.com.gfp.ofc.tools.ImportUtils
ImportUtils | public class ImportUtils (Code) | | |
defineTypeForTransactions | public static void defineTypeForTransactions(ArrayList<PendingTransaction> transactions)(Code) | | This method will define the type of each transaction that was
parsed from ofc file. We will look at database to see what mapping
definition user have made.
The default is to set negative transactions as expense
and positive as revenue.
This method don't return data, it manipulates date from parser
throws: SQLException - |
existTransaction | public static boolean existTransaction(TransactionDAO<Transaction> lancamentoController, PendingTransaction lancamentoPendente, int desvioDia)(Code) | | This method check the existence of a transaction
Parameters: desvioDia - Days that will be added to the actual search day. |
setDefaultType | public static void setDefaultType(PendingTransaction pendingTransaction)(Code) | | Here we set the default type for the temporary transaction
Parameters: pendingTransaction - |
|
|