Interface SubscriptionBatchForm

All Superinterfaces:
Extensible, Identifiable, OsidBrowsableForm, OsidExtensibleForm, OsidForm, OsidIdentifiableForm, OsidObjectForm, OsidRelationshipForm, OsidTemporalForm, SubscriptionForm, Suppliable

public interface SubscriptionBatchForm extends SubscriptionForm

This is the form for creating and updating subscriptions in bulk. Like all OsidForms, various data elements may be set here for use in the create and update methods in the PublisherBatchAdminSession. For each data element that may be set, metadata may be examined to provide display hints or data constraints.

  • Method Details

    • getDispatchId

      Id getDispatchId()
      Gets the Dispatch of the subscription if this is a create transaction.
      Returns:
      the dispatch Id
      Throws:
      IllegalStateException - isForUpdate() is true
      Compliance:
      mandatory - This method must be implemented.
    • getSubscriberId

      Id getSubscriberId()
      Gets the Id of the subscriber resource if this is a create transaction.
      Returns:
      the resource Id
      Throws:
      IllegalStateException - isForUpdate() is true
      Compliance:
      mandatory - This method must be implemented.
    • getSubscriptionId

      Id getSubscriptionId()
      Gets the Id of the subscription to be updated if this is an update transaction.
      Returns:
      the subscription Id
      Throws:
      IllegalStateException - isForUpdate() is false
      Compliance:
      mandatory - This method must be implemented.