Interface CreditBatchForm

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

public interface CreditBatchForm extends CreditForm

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

  • Method Details

    • getReferenceId

      Id getReferenceId()
      Gets the reference Id of the credit if this is a create transaction.
      Returns:
      the reference Id
      Throws:
      IllegalStateException - isForUpdate() is true
      Compliance:
      mandatory - This method must be implemented.
    • getResourceId

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

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