|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MutableDocument
| Method Summary | |
|---|---|
void |
addAccount(MutableAccount account)
Adds an account to the model |
void |
addAccountType(MutableAccountType type)
Adds a type to the model |
void |
addBudgetCategory(MutableBudgetCategory budgetCategory)
Adds a budget category to the model |
void |
addScheduledTransaction(MutableScheduledTransaction scheduledTransaction)
Adds a scheduled transaction to the model |
void |
addTransaction(MutableTransaction transaction)
Adds a transaction to the model |
MutableAccount |
getAccount(java.lang.String name)
Returns the account referenced by the given name. |
MutableAccountType |
getAccountType(java.lang.String name)
Returns the type referenced by the given name. |
MutableBudgetCategory |
getBudgetCategory(java.lang.String fullName)
Returns the budget category referenced by the given full name. |
Document |
getModel()
Returns the wrapped object from the underlying data model. |
java.util.List<MutableAccount> |
getMutableAccounts()
Returns a list of all immutable accounts in the model |
java.util.List<MutableAccountType> |
getMutableAccountTypes()
Returns a list of all immutable types in the model |
java.util.List<MutableBudgetCategory> |
getMutableBudgetCategories()
Returns a list of all immutable budget categories in the model |
java.util.List<MutableTransaction> |
getMutableTransactions()
Returns a list of all immutable transactions in the model |
java.util.List<MutableTransaction> |
getMutableTransactions(java.util.Date startDate,
java.util.Date endDate)
Returns a list of all immutable transactions in the model which are between startDate and endDate |
java.util.List<MutableTransaction> |
getMutableTransactions(MutableSource source)
Returns a list of all immutable transactions in the model which are associatd with the given source |
java.util.List<MutableTransaction> |
getMutableTransactions(MutableSource source,
java.util.Date startDate,
java.util.Date endDate)
Returns a list of all immutable transactions in the model which are associated with source and between startDate and endDate |
void |
removeAccount(MutableAccount account)
Removes the given account from the model |
void |
removeBudgetCategory(MutableBudgetCategory budgetCategory)
Removes the given budget category from the model |
void |
removeScheduledTransaction(MutableScheduledTransaction scheduledTransaction)
Removes the given scheduled transaction from the model |
void |
removeTransaction(MutableTransaction transaction)
Removes the given transaction from the model |
void |
removeType(MutableAccountType type)
Removes the given type from the model |
| Methods inherited from interface org.homeunix.thecave.buddi.plugin.api.model.ImmutableDocument |
|---|
getBudgetCategoryType, getBudgetCategoryType, getImmutableAccounts, getImmutableAccountTypes, getImmutableBudgetCategories, getImmutableTransactions, getImmutableTransactions, getImmutableTransactions, getImmutableTransactions, getNetWorth |
| Methods inherited from interface org.homeunix.thecave.buddi.plugin.api.model.ImmutableModelObject |
|---|
getModified, getRaw, getUid |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
MutableAccount getAccount(java.lang.String name)
getAccount in interface ImmutableDocumentname -
java.util.List<MutableAccount> getMutableAccounts()
java.util.List<MutableBudgetCategory> getMutableBudgetCategories()
MutableBudgetCategory getBudgetCategory(java.lang.String fullName)
getBudgetCategory in interface ImmutableDocumentfullName -
Document getModel()
getModel in interface ImmutableDocumentjava.util.List<MutableTransaction> getMutableTransactions()
java.util.List<MutableTransaction> getMutableTransactions(java.util.Date startDate,
java.util.Date endDate)
java.util.List<MutableTransaction> getMutableTransactions(MutableSource source)
java.util.List<MutableTransaction> getMutableTransactions(MutableSource source,
java.util.Date startDate,
java.util.Date endDate)
MutableAccountType getAccountType(java.lang.String name)
getAccountType in interface ImmutableDocumentname -
java.util.List<MutableAccountType> getMutableAccountTypes()
void addAccount(MutableAccount account)
throws ModelException
account -
ModelException
void addAccountType(MutableAccountType type)
throws ModelException
type -
ModelException
void addBudgetCategory(MutableBudgetCategory budgetCategory)
throws ModelException
budgetCategory -
ModelException
void addScheduledTransaction(MutableScheduledTransaction scheduledTransaction)
throws ModelException
scheduledTransaction -
ModelException
void addTransaction(MutableTransaction transaction)
throws ModelException
transaction -
ModelException
void removeAccount(MutableAccount account)
throws ModelException
account -
ModelException
void removeBudgetCategory(MutableBudgetCategory budgetCategory)
throws ModelException
budgetCategory -
ModelException
void removeScheduledTransaction(MutableScheduledTransaction scheduledTransaction)
throws ModelException
scheduledTransaction -
ModelException
void removeTransaction(MutableTransaction transaction)
throws ModelException
transaction -
ModelException
void removeType(MutableAccountType type)
throws ModelException
type -
ModelException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||