|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.moneydance.apps.md.model.AccountUtil
public abstract class AccountUtil
Miscellaneous functions
| Field Summary | |
|---|---|
static int |
ACCOUNT
|
static int |
ACTION
|
static int |
AMOUNT
|
static int |
CHECKNUM
|
static int |
CHECKNUM_INT
|
static int |
DATE
|
static int |
DATE_ENTERED
|
static int |
DATE_THEN_AMOUNT
|
static int |
DATE_THEN_CHECKNUM
|
static int |
DATE_THEN_STATUS
|
static int |
DESCRIPTION
|
static int |
STATUS_THEN_CKNUM
|
static int |
STATUS_THEN_DATE
|
| Constructor Summary | |
|---|---|
AccountUtil()
|
|
| Method Summary | |
|---|---|
static int |
compAccountDateEntered(AbstractTxn t1,
AbstractTxn t2)
|
static int |
compAccountDateEntered(java.lang.String t1AcctStr,
AbstractTxn t1,
AbstractTxn t2)
|
static long |
compAmount(AbstractTxn t1,
AbstractTxn t2)
|
static int |
compCheckIntId(AbstractTxn t1,
AbstractTxn t2)
|
static int |
compCheckNumId(AbstractTxn t1,
AbstractTxn t2)
|
static int |
compDate(AbstractTxn t1,
AbstractTxn t2)
|
static int |
compDateCheckNum(AbstractTxn t1,
AbstractTxn t2)
|
static int |
compDateDateEntered(AbstractTxn t1,
AbstractTxn t2)
|
static int |
compDateEntered(AbstractTxn t1,
AbstractTxn t2)
|
static long |
compDateThenAmount(AbstractTxn t1,
AbstractTxn t2)
|
static int |
compDateThenStatus(AbstractTxn t1,
AbstractTxn t2)
|
static int |
compDescription(AbstractTxn t1,
AbstractTxn t2)
|
static int |
compDescriptionDate(AbstractTxn t1,
AbstractTxn t2)
|
static int |
compDescriptionDateEntered(AbstractTxn t1,
AbstractTxn t2)
|
static int |
compId(AbstractTxn t1,
AbstractTxn t2)
|
static int |
compStatus(AbstractTxn t1,
AbstractTxn t2)
|
static int |
compStatusChecknum(AbstractTxn t1,
AbstractTxn t2)
|
static java.util.Iterator |
getAccountIterator(Account account)
Return an iterator for all of the accounts that are under the given account. |
static Account |
getDefaultCategoryForAcct(Account acct)
Get the default category for use transactions in the given account. |
static int |
insertSortedTransaction(TxnSet transactions,
AbstractTxn t,
int sortedBy)
Inserts the given transaction into the specified array in sorted order. |
static boolean |
isCompatibleWith(OnlineAccountInfo olAcct,
Account acct)
Returns true iff the given online account can be associated with the given local account. |
static boolean |
isTransactionSorted(int index,
AbstractTxn t,
TxnSet transactions,
int sortedBy)
|
static void |
sortTransactions(TxnSet transactions,
int sortField)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DATE
public static final int DATE_ENTERED
public static final int DESCRIPTION
public static final int AMOUNT
public static final int STATUS_THEN_DATE
public static final int ACCOUNT
public static final int DATE_THEN_STATUS
public static final int DATE_THEN_AMOUNT
public static final int DATE_THEN_CHECKNUM
public static final int CHECKNUM
public static final int ACTION
public static final int CHECKNUM_INT
public static final int STATUS_THEN_CKNUM
| Constructor Detail |
|---|
public AccountUtil()
| Method Detail |
|---|
public static final Account getDefaultCategoryForAcct(Account acct)
public static java.util.Iterator getAccountIterator(Account account)
public static boolean isCompatibleWith(OnlineAccountInfo olAcct,
Account acct)
public static int insertSortedTransaction(TxnSet transactions,
AbstractTxn t,
int sortedBy)
public static long compAmount(AbstractTxn t1,
AbstractTxn t2)
public static long compDateThenAmount(AbstractTxn t1,
AbstractTxn t2)
public static int compDateThenStatus(AbstractTxn t1,
AbstractTxn t2)
public static int compStatus(AbstractTxn t1,
AbstractTxn t2)
public static int compStatusChecknum(AbstractTxn t1,
AbstractTxn t2)
public static int compDescriptionDateEntered(AbstractTxn t1,
AbstractTxn t2)
public static int compDescriptionDate(AbstractTxn t1,
AbstractTxn t2)
public static int compDescription(AbstractTxn t1,
AbstractTxn t2)
public static int compDateCheckNum(AbstractTxn t1,
AbstractTxn t2)
public static int compDate(AbstractTxn t1,
AbstractTxn t2)
public static int compDateDateEntered(AbstractTxn t1,
AbstractTxn t2)
public static int compAccountDateEntered(AbstractTxn t1,
AbstractTxn t2)
public static int compAccountDateEntered(java.lang.String t1AcctStr,
AbstractTxn t1,
AbstractTxn t2)
public static final int compDateEntered(AbstractTxn t1,
AbstractTxn t2)
public static final int compCheckNumId(AbstractTxn t1,
AbstractTxn t2)
public static final int compCheckIntId(AbstractTxn t1,
AbstractTxn t2)
public static int compId(AbstractTxn t1,
AbstractTxn t2)
public static boolean isTransactionSorted(int index,
AbstractTxn t,
TxnSet transactions,
int sortedBy)
public static void sortTransactions(TxnSet transactions,
int sortField)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||