|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.moneydance.apps.md.model.OnlineTxnList
public class OnlineTxnList
This class contains a set of transactions that are used for online banking and bill-payment. This information is very fluid and the structure will probably change, so all of the information is represented a StreamTable/Vector structure that can easily be serialized and deserialized from the data file.
Constructor Summary | |
---|---|
OnlineTxnList(StreamTable info)
|
Method Summary | |
---|---|
void |
addListener(OnlineTxnListener listener)
|
void |
addNewTxn(OnlineTxn txn)
|
StreamTable |
getInfo()
Should only be called from the io.*Writer classes for saving info in a file. |
OnlineTxn |
getTxn(int i)
Get a service object for the service at the specified index. |
int |
getTxnCount()
Get the number of online services that the user has access to. |
int |
indexOf(OnlineTxn txn)
returns true if the service information for this service is already in the service list. |
OnlineTxn |
newTxn()
Create a new OnlineTxn that is associated, but not yet a member of, this list. |
OnlineTxn |
newTxnFromString(java.lang.String serializedTxn)
Create a new OnlineTxn that is associated, but not yet a member of, this list. |
void |
removeListener(OnlineTxnListener listener)
|
void |
removeTxn(int i)
Remove the txn object at the specified index. |
boolean |
removeTxn(OnlineTxn txn)
Remove the given txn object from the list. |
void |
sortTransactions()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OnlineTxnList(StreamTable info)
Method Detail |
---|
public StreamTable getInfo()
public int getTxnCount()
public OnlineTxn getTxn(int i)
public int indexOf(OnlineTxn txn)
public void removeTxn(int i)
public boolean removeTxn(OnlineTxn txn)
public OnlineTxn newTxn()
public OnlineTxn newTxnFromString(java.lang.String serializedTxn)
public void addNewTxn(OnlineTxn txn)
public void addListener(OnlineTxnListener listener)
public void removeListener(OnlineTxnListener listener)
public void sortTransactions()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |