Interface | osid.subscription.batch.PublisherBatchAdminSession | ||
---|---|---|---|
Implements | osid.subscription.PublisherAdminSession | ||
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 | getPublisherFormsForCreate | ||
Description |
Gets the publisher forms for creating a bunch of new publishers. | ||
Parameters | cardinal | number | the number of forms to retrieve |
osid.type.Type[] | publisherRecordTypes | array of publisher record types to be included in each create operation or an empty list if none | |
Return | osid.subscription.batch.PublisherBatchFormList | the publisher forms | |
Errors | NULL_ARGUMENT | publisherRecordTypes 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 | createPublishers | ||
Description |
Creates a new set of | ||
Parameters | osid.subscription.batch.PublisherBatchFormList | publisherForms | the publisher forms |
Return | osid.transaction.batch.CreateResponseList | the create responses | |
Errors | NULL_ARGUMENT | publisherForms is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getPublisherFormsForUpdate | ||
Description |
Gets the publisher forms for updating an existing set of publishers. A new publisher form should be requested for each update transaction. | ||
Parameters | osid.id.IdList | publisherIds | the Ids of the Publisher |
Return | osid.subscription.batch.PublisherBatchFormList | the publisher form | |
Errors | NOT_FOUND | a publisherId is not found | |
NULL_ARGUMENT | publisherIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | updatePublishers | ||
Description |
Updates existing publishers. This method returns an
error if the entire operation fails. Otherwise, the status
of an individual update operation is indicated in the
| ||
Parameters | osid.subscription.batch.PublisherBatchFormList | publisherForms | the form containing the elements to be updated |
Return | osid.transaction.batch.UpdateResponseList | the update responses | |
Errors | NULL_ARGUMENT | publisherForms is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | deleteAllPublishers | ||
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 | deletePublishers | ||
Description |
Deletes publishers for the given | ||
Parameters | osid.id.IdList | publisherIds | the Ids of the publishers to delete |
Return | osid.transaction.batch.DeleteResponseList | the delete responses | |
Errors | NULL_ARGUMENT | publisherIds is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | aliasPublishers | ||
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. |