|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface BudgetCategory
| Method Summary | |
|---|---|
java.util.List<BudgetCategory> |
getAllChildren()
Returns a list of all children for this budget category, inluding deleted ones. |
long |
getAmount(java.util.Date periodDate)
Returns the budgeted amount associated with this given budget category, for the date in which the given period date exists. |
long |
getAmount(java.util.Date startDate,
java.util.Date endDate)
Returns the budgeted amount associated with this budget category, over the given date range. |
java.util.List<java.util.Date> |
getBudgetedDates()
Returns a list of all dates for this budget period which have budget information set for them. |
BudgetCategoryType |
getBudgetPeriodType()
Returns the Budget Period type. |
java.util.List<BudgetCategory> |
getChildren()
Returns a list of children for this budget category. |
BudgetCategory |
getParent()
Returns the parent budget category |
boolean |
isIncome()
Does this budget category represent an income category? |
void |
setAmount(java.util.Date periodDate,
long amount)
Sets the budgeted amount for the given time period. |
void |
setIncome(boolean income)
Sets the income flag on this budget category |
void |
setParent(BudgetCategory parent)
Sets the parent for this budget category. |
void |
setPeriodType(BudgetCategoryType periodType)
Sets the Budget Period type. |
| Methods inherited from interface org.homeunix.thecave.buddi.model.Source |
|---|
getFullName, getName, getNotes, isDeleted, setDeleted, setName, setNotes |
| Methods inherited from interface org.homeunix.thecave.buddi.model.ModelObject |
|---|
compareTo, getDocument, getModified, getUid, setChanged, setDocument |
| Methods inherited from interface org.homeunix.thecave.buddi.model.Expandable |
|---|
isExpanded, setExpanded |
| Method Detail |
|---|
long getAmount(java.util.Date periodDate)
periodDate -
long getAmount(java.util.Date startDate,
java.util.Date endDate)
startDate - endDate -
BudgetCategoryType getBudgetPeriodType()
BudgetCategory getParent()
java.util.List<BudgetCategory> getChildren()
java.util.List<BudgetCategory> getAllChildren()
boolean isIncome()
void setAmount(java.util.Date periodDate,
long amount)
throws InvalidValueException
periodDate - amount -
InvalidValueException
void setIncome(boolean income)
throws InvalidValueException
income -
InvalidValueException
void setParent(BudgetCategory parent)
throws InvalidValueException
parent -
InvalidValueException
void setPeriodType(BudgetCategoryType periodType)
throws InvalidValueException
periodType -
InvalidValueExceptionjava.util.List<java.util.Date> getBudgetedDates()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||