Interface | osid.personnel.batch.AppointmentBatchAdminSession | ||
---|---|---|---|
Implements | osid.personnel.AppointmentAdminSession | ||
Description |
This session creates, updates, and deletes Create and update operations differ in their usage. To
create an The Once a batch of For updates, Once a batch of The delete operations delete | ||
Method | getAppointmentFormsForCreate | ||
Description |
Gets the appointment forms for creating a bunch of new appointments. A form is returned for each supplied position and resource pair. | ||
Parameters | osid.personnel.batch.AppointmentPeerList | peers | the relationship peers |
osid.type.Type[] | appointmentRecordTypes | array of appointment record types to be included in each create operation or an empty list if none | |
Return | osid.personnel.batch.AppointmentBatchFormList | the appointment forms | |
Errors | NOT_FOUND | a personId or positionId is not found | |
NULL_ARGUMENT | peers or appointmentRecordTypes 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 | createAppointments | ||
Description |
Creates a new set of | ||
Parameters | osid.personnel.batch.AppointmentBatchFormList | appointmentForms | the appointment forms |
Return | osid.transaction.batch.CreateResponseList | the create responses | |
Errors | NULL_ARGUMENT | appointmentForms is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getAppointmentFormsForUpdate | ||
Description |
Gets the appointment forms for updating an existing set of appointments. A new appointment form should be requested for each update transaction. | ||
Parameters | osid.id.IdList | appointmentIds | the Ids of the Appointment |
Return | osid.personnel.batch.AppointmentBatchFormList | the appointment form | |
Errors | NOT_FOUND | an appointmentId is not found | |
NULL_ARGUMENT | appointmentIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | updateAppointments | ||
Description |
Updates existing appointments. This method returns an
error if the entire operation fails. Otherwise, the status
of an individual update operation is indicated in the
| ||
Parameters | osid.personnel.batch.AppointmentBatchFormList | appointmentForms | the form containing the elements to be updated |
Return | osid.transaction.batch.UpdateResponseList | the update responses | |
Errors | NULL_ARGUMENT | appointmentForms is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | deleteAllAppointments | ||
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 | deleteAppointments | ||
Description |
Deletes appointments for the given | ||
Parameters | osid.id.IdList | appointmentIds | the Ids of the appointments to delete |
Return | osid.transaction.batch.DeleteResponseList | the delete responses | |
Errors | NULL_ARGUMENT | appointmentIds is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | deleteAppointmentsForPerson | ||
Description |
Deletes appointments for the given person. | ||
Parameters | osid.id.Id | personId | an Id of a person |
Return | osid.transaction.batch.DeleteResponseList | the delete responses | |
Errors | NULL_ARGUMENT | personId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | deleteAppointmentsForPosition | ||
Description |
Deletes appointments for the given position. | ||
Parameters | osid.id.Id | positionId | an Id of a position |
Return | osid.transaction.batch.DeleteResponseList | the delete responses | |
Errors | NULL_ARGUMENT | positionId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | deleteIneffectiveAppointmentsByDate | ||
Description |
Deletes appointments 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 | aliasAppointments | ||
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. |