Interface ResourceRelationshipBatchForm

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

public interface ResourceRelationshipBatchForm extends ResourceRelationshipForm

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

  • Method Details

    • getSourceResourceId

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

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

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