Revision 39076
Added by Antonis Lempesis over 8 years ago
BudgetManager.java | ||
---|---|---|
12 | 12 |
*/ |
13 | 13 |
public interface BudgetManager { |
14 | 14 |
|
15 |
public Budget saveBudget(Budget budget);
|
|
15 |
public Budget saveBudget(Budget budget);
|
|
16 | 16 |
|
17 |
public BudgetInfo getBudget(String budgetId);
|
|
17 |
public BudgetInfo getBudget(String budgetId);
|
|
18 | 18 |
|
19 |
public List<BudgetInfo> getBudgets();
|
|
19 |
public List<BudgetInfo> getBudgets();
|
|
20 | 20 |
|
21 |
public List<BudgetInfo> getBudgetsForUser(String userId);
|
|
21 |
public List<BudgetInfo> getBudgetsForUser(String userId);
|
|
22 | 22 |
|
23 |
public List<BudgetInfo> getBudgetsForOrganization(List<String> organizationId);
|
|
23 |
public List<BudgetInfo> getBudgetsForOrganization(List<String> organizationId);
|
|
24 | 24 |
|
25 |
public void approveBudget(String budgetId, String comment, float amountGranted);
|
|
25 |
public void approveBudget(String budgetId, String comment, float amountGranted);
|
|
26 | 26 |
|
27 |
public void rejectBudget(String budgetId, String comment);
|
|
27 |
public void rejectBudget(String budgetId, String comment);
|
|
28 | 28 |
|
29 |
public void uploadTerms(String id, String contentType, InputStream inputStream);
|
|
29 |
public void uploadTerms(String id, String contentType, InputStream inputStream);
|
|
30 | 30 |
|
31 |
public BudgetFile downloadBudgetTerms(String budgetId);
|
|
31 |
public BudgetFile downloadBudgetTerms(String budgetId);
|
|
32 | 32 |
} |
Also available in: Unified diff
reformatted code