Interface ObjectiveBankBatchForm

All Superinterfaces:
Extensible, Identifiable, ObjectiveBankForm, OsidBrowsableForm, OsidCatalogForm, OsidExtensibleForm, OsidFederateableForm, OsidForm, OsidIdentifiableForm, OsidObjectForm, OsidSourceableForm, Suppliable

public interface ObjectiveBankBatchForm extends ObjectiveBankForm

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

  • Method Details

    • getObjectiveBankId

      Id getObjectiveBankId()
      Gets the ObjectiveBank Id of the objective bank to be updated if this is an update transaction.
      Returns:
      the objective bank Id
      Throws:
      IllegalStateException - isForUpdate() is false
      Compliance:
      mandatory - This method must be implemented.
    • getParentsMetadata

      Metadata getParentsMetadata()
      Gets the metadata for setting the hierarchical parents of this objective bank.
      Returns:
      metadata for the parents
      Compliance:
      mandatory - This method must be implemented.
    • setParents

      void setParents(Id[] parents)
      Sets the hierarchical parents.
      Parameters:
      parents - the new parents
      Throws:
      InvalidArgumentException - parents is invalid
      NoAccessException - Metadata.isReadOnly() is true
      NullArgumentException - parents is null
      Compliance:
      mandatory - This method must be implemented.
    • clearParents

      void clearParents()
      Removes the hierarchical parents.
      Throws:
      NoAccessException - Metadata.isRequired() is true or Metadata.isReadOnly() is true
      Compliance:
      mandatory - This method must be implemented.