|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjgnash.engine.ReconcileManager
public class ReconcileManager
Manages the reconciliation options.
Both reconcileIncomeExpense and reconcileBothSides can be false, but only one can be true
| Field Summary | |
|---|---|
private static java.lang.String |
RECONCILE_BOTHSIDES
|
private static java.lang.String |
RECONCILE_INCOMEEXPENSE
|
private static boolean |
reconcileBothSides
|
private static boolean |
reconcileIncomeExpense
|
| Constructor Summary | |
|---|---|
private |
ReconcileManager()
|
| Method Summary | |
|---|---|
static boolean |
getAutoReconcileBothSides()
Determines if both sides of a transaction should be automatically reconciled |
static boolean |
getAutoReconcileIncomeExpense()
Determines if the income or expense side of a transaction should be automatically reconciled |
static boolean |
isAutoReconcileDisabled()
|
static void |
reconcileTransaction(Account account,
Transaction t,
boolean reconciled)
Sets the reconciled state of the transaction using the rules set by the user |
static void |
reconcileTransaction(Account account,
Transaction t,
ReconciledState reconciled)
Sets the reconciled state of the transaction using the rules set by the user |
static void |
setAutoReconcileBothSides(boolean reconcile)
Set so both sides of a double entry transaction are automatically reconciled |
static void |
setAutoReconcileIncomeExpense(boolean reconcile)
Set so the income or expense side of a transaction is automatically reconciled |
static void |
setDoNotAutoReconcile()
Disables auto reconciliation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final java.lang.String RECONCILE_INCOMEEXPENSE
private static final java.lang.String RECONCILE_BOTHSIDES
private static boolean reconcileIncomeExpense
private static boolean reconcileBothSides
| Constructor Detail |
|---|
private ReconcileManager()
| Method Detail |
|---|
public static void setAutoReconcileIncomeExpense(boolean reconcile)
reconcile - true if income and expense accounts should be
automatically reconciledpublic static boolean getAutoReconcileIncomeExpense()
public static void setAutoReconcileBothSides(boolean reconcile)
reconcile - true if income and expense accounts should be
automatically reconciledpublic static boolean getAutoReconcileBothSides()
public static boolean isAutoReconcileDisabled()
public static void setDoNotAutoReconcile()
public static void reconcileTransaction(Account account,
Transaction t,
ReconciledState reconciled)
account - Base accountt - Transaction to reconcilereconciled - Reconciled state
public static void reconcileTransaction(Account account,
Transaction t,
boolean reconciled)
account - Base accountt - Transaction to reconcilereconciled - ReconciledState.RECONCILED if true; ReconciledState.NOT_RECONCILED if false
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||