|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ImmutableDocument
The API version of DataModel. This contains methods to access all other objects in the model. This is the object passed to plugins which do not require write access (such as reports and export plugins)
| Method Summary | |
|---|---|
ImmutableAccount |
getAccount(java.lang.String name)
Returns the account referenced by the given name. |
ImmutableAccountType |
getAccountType(java.lang.String name)
Returns the type referenced by the given name. |
ImmutableBudgetCategory |
getBudgetCategory(java.lang.String fullName)
Returns the budget category referenced by the given full name. |
ImmutableBudgetCategoryType |
getBudgetCategoryType(BudgetCategoryTypes name)
Returns an ImmutableBudgetCategoryType object, with the given name. |
ImmutableBudgetCategoryType |
getBudgetCategoryType(java.lang.String name)
Returns an ImmutableBudgetCategoryType object, with the given name. |
java.util.List<ImmutableAccount> |
getImmutableAccounts()
Returns a list of all immutable accounts in the model |
java.util.List<ImmutableAccountType> |
getImmutableAccountTypes()
Returns a list of all immutable types in the model |
java.util.List<ImmutableBudgetCategory> |
getImmutableBudgetCategories()
Returns a list of all immutable budget categories in the model |
java.util.List<ImmutableTransaction> |
getImmutableTransactions()
Returns a list of all immutable transactions in the model |
java.util.List<ImmutableTransaction> |
getImmutableTransactions(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<ImmutableTransaction> |
getImmutableTransactions(ImmutableSource source)
Returns a list of all immutable transactions in the model which are associatd with the given source |
java.util.List<ImmutableTransaction> |
getImmutableTransactions(ImmutableSource 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 |
Document |
getModel()
Returns the wrapped object from the underlying data model. |
long |
getNetWorth(java.util.Date date)
Returns the net worth in the model as of the given date. |
| 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 |
|---|
ImmutableAccount getAccount(java.lang.String name)
name -
java.util.List<ImmutableAccount> getImmutableAccounts()
java.util.List<ImmutableBudgetCategory> getImmutableBudgetCategories()
ImmutableBudgetCategory getBudgetCategory(java.lang.String fullName)
fullName -
Document getModel()
java.util.List<ImmutableTransaction> getImmutableTransactions()
java.util.List<ImmutableTransaction> getImmutableTransactions(java.util.Date startDate,
java.util.Date endDate)
java.util.List<ImmutableTransaction> getImmutableTransactions(ImmutableSource source)
java.util.List<ImmutableTransaction> getImmutableTransactions(ImmutableSource source,
java.util.Date startDate,
java.util.Date endDate)
ImmutableAccountType getAccountType(java.lang.String name)
name -
java.util.List<ImmutableAccountType> getImmutableAccountTypes()
ImmutableBudgetCategoryType getBudgetCategoryType(BudgetCategoryTypes name)
name -
ImmutableBudgetCategoryType getBudgetCategoryType(java.lang.String name)
name -
long getNetWorth(java.util.Date date)
date - The date on which to calculate the net worth. Set this to null to return
the balance as of the last transaction.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||