Interface | osid.financials.budgeting.batch.BudgetBatchAdminSession | ||
---|---|---|---|
Implements | osid.financials.budgeting.BudgetAdminSession | ||
Description |
This session creates, updates, and deletes Create and update operations differ in their usage. To
create a The Once a batch of For updates, Once a batch of The delete operations delete | ||
Method | getBudgetFormsForCreate | ||
Description |
Gets the budget forms for creating a bunch of new budgets. A new form is returned for each supplied activity and fiscal period pair. | ||
Parameters | osid.financials.budgeting.batch.BudgetPeerList | peers | a list of activities and fiscal periods |
osid.type.Type[] | budgetRecordTypes | array of budget record types to be included in each create operation or an empty list if none | |
Return | osid.financials.budgeting.batch.BudgetBatchFormList | the budget forms | |
Errors | NOT_FOUND | an activityId or fiscalPeriodId is not found | |
NULL_ARGUMENT | peers or budgetRecordTypes is null
| ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | unable to request forms with given record types | ||
Compliance | mandatory | This method must be implemented. | |
Method | createBudgets | ||
Description |
Creates a new set of | ||
Parameters | osid.financials.budgeting.batch.BudgetBatchFormList | budgetForms | the budget forms |
Return | osid.transaction.batch.CreateResponseList | the create responses | |
Errors | NULL_ARGUMENT | budgetForms is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getBudgetFormsForUpdate | ||
Description |
Gets the budget forms for updating an existing set of budgets. A new budget form should be requested for each update transaction. | ||
Parameters | osid.id.IdList | budgetIds | the Ids of the Budget |
Return | osid.financials.budgeting.batch.BudgetBatchFormList | the budget form | |
Errors | NOT_FOUND | a budgetId is not found | |
NULL_ARGUMENT | budgetIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | updateBudgets | ||
Description |
Updates existing budgets. This method returns an error
if the entire operation fails. Otherwise, the status of an
individual update operation is indicated in the | ||
Parameters | osid.financials.budgeting.batch.BudgetBatchFormList | budgetForms | the form containing the elements to be updated |
Return | osid.transaction.batch.UpdateResponseList | the update responses | |
Errors | NULL_ARGUMENT | budgetForms is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | deleteAllBudgets | ||
Description |
Deletes all | ||
Return | osid.transaction.batch.DeleteResponseList | the delete responses | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | deleteBudgets | ||
Description |
Deletes budgets for the given | ||
Parameters | osid.id.IdList | budgetIds | the Ids of the budgets to delete |
Return | osid.transaction.batch.DeleteResponseList | the delete responses | |
Errors | NULL_ARGUMENT | budgetIds is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | deleteBudgetsForActivity | ||
Description |
Deletes budgets for the given activity. | ||
Parameters | osid.id.Id | activityId | the Id of an activity |
Return | osid.transaction.batch.DeleteResponseList | the delete responses | |
Errors | NULL_ARGUMENT | activityId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | deleteBudgetsForFiscalPeriod | ||
Description |
Deletes budgets for the given fiscal period. | ||
Parameters | osid.id.Id | fiscalPeriodId | the Id of a fiscal period |
Return | osid.transaction.batch.DeleteResponseList | the delete responses | |
Errors | NULL_ARGUMENT | fiscalPeriodId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | deleteIneffectiveBudgetsByDate | ||
Description |
Deletes budgets expired before the given date. | ||
Parameters | osid.calendaring.DateTime | date | a date |
Return | osid.transaction.batch.DeleteResponseList | the delete responses | |
Errors | NULL_ARGUMENT | date is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | aliasBudgets | ||
Description |
Adds an | ||
Parameters | osid.transaction.batch.AliasRequestList | aliasRequests | the alias requests |
Return | osid.transaction.batch.AliasResponseList | the alias responses | |
Errors | NULL_ARGUMENT | aliasRequests is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |