Interface ProfileEntryBatchForm

All Superinterfaces:
Extensible, Identifiable, OsidBrowsableForm, OsidExtensibleForm, OsidForm, OsidIdentifiableForm, OsidObjectForm, ProfileEntryForm, Suppliable

public interface ProfileEntryBatchForm extends ProfileEntryForm

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

  • Method Details

    • hasAgent

      boolean hasAgent()
      Tests if the create request specified an agent.
      Returns:
      true if an agent is available, false otherwise
      Throws:
      IllegalStateException - isForUpdate() is true
      Compliance:
      mandatory - This method must be implemented.
    • getAgentId

      Id getAgentId()
      Gets the Agent Id of the profile entry if this is a create transaction using an agent.
      Returns:
      the resource Id
      Throws:
      IllegalStateException - isForUpdate() is true or hasAgent() is false
      Compliance:
      mandatory - This method must be implemented.
    • hasResource

      boolean hasResource()
      Tests if the create request specified a resource.
      Returns:
      true if a resource is available, false otherwise
      Throws:
      IllegalStateException - isForUpdate() is true
      Compliance:
      mandatory - This method must be implemented.
    • getResourceId

      Id getResourceId()
      Gets the Resource Id of the profile entry if this is a create transaction using a resource.
      Returns:
      the resource Id
      Throws:
      IllegalStateException - isForUpdate() is true or hasResource() is false
      Compliance:
      mandatory - This method must be implemented.
    • getProfileItemId

      Id getProfileItemId()
      Gets the work Id of the profile item if this is a create transaction.
      Returns:
      the profile item Id
      Throws:
      IllegalStateException - isForUpdate() is true
      Compliance:
      mandatory - This method must be implemented.
    • getProfileEntryId

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