Method | Description | |
---|---|---|
create ( String name, int cost, int budgetId ) : BudgetItem | ||
createObj ( BudgetItem e ) : BudgetItem | ||
deleteById ( int id ) : void | ||
getAll ( ) : List |
||
getByBudgetId ( int id ) : List |
||
getByID ( int id ) : BudgetItem | ||
update ( int id, String name, int cost, int budgetId ) : BudgetItem | ||
updateObj ( BudgetItem e ) : BudgetItem |
public static create ( String name, int cost, int budgetId ) : BudgetItem | ||
name | String | |
cost | int | |
budgetId | int | |
return | BudgetItem |
public static createObj ( BudgetItem e ) : BudgetItem | ||
e | BudgetItem | |
return | BudgetItem |
public static getByBudgetId ( int id ) : List |
||
id | int | |
return | List |
public static getByID ( int id ) : BudgetItem | ||
id | int | |
return | BudgetItem |
public static update ( int id, String name, int cost, int budgetId ) : BudgetItem | ||
id | int | |
name | String | |
cost | int | |
budgetId | int | |
return | BudgetItem |
public static updateObj ( BudgetItem e ) : BudgetItem | ||
e | BudgetItem | |
return | BudgetItem |