Interface OsidRequestForm

All Superinterfaces:
Extensible, Identifiable, OsidBrowsableForm, OsidExtensibleForm, OsidForm, OsidIdentifiableForm, OsidObjectForm, Suppliable
All Known Subinterfaces:
RegistrationRequestForm

public interface OsidRequestForm extends OsidObjectForm

This form is used to create and update rules.

  • Method Details

    • getPostingDateMetadata

      Metadata getPostingDateMetadata()
      Gets the metadata for the posting date.
      Returns:
      metadata for the posting date
      Compliance:
      mandatory - This method must be implemented.
    • setPostingDate

      void setPostingDate(DateTime date)
      Sets the posting date.
      Parameters:
      date - the new posting date
      Throws:
      InvalidArgumentException - date is invalid
      NoAccessException - Metadata.isReadOnly() is true
      NullArgumentException - date is null
      Compliance:
      mandatory - This method must be implemented.
    • clearPostingDate

      void clearPostingDate()
      Removes the posting date.
      Throws:
      NoAccessException - Metadata.isRequired() is true or Metadata.isReadOnly() is true
      Compliance:
      mandatory - This method must be implemented.
    • getRequesterMetadata

      Metadata getRequesterMetadata()
      Gets the metadata for the requester.
      Returns:
      metadata for the requester.
      Compliance:
      mandatory - This method must be implemented.
    • setRequester

      void setRequester(Id resourceId)
      Sets the requester.
      Parameters:
      resourceId - the new requester
      Throws:
      InvalidArgumentException - resourceId is invalid
      NoAccessException - Metadata.isReadOnly() is true
      NullArgumentException - resourceId is null
      Compliance:
      mandatory - This method must be implemented.
    • clearRequester

      void clearRequester()
      Removes the requester.
      Throws:
      NoAccessException - Metadata.isRequired() is true or Metadata.isReadOnly() is true
      Compliance:
      mandatory - This method must be implemented.
    • getSubmittedDateMetadata

      Metadata getSubmittedDateMetadata()
      Gets the metadata for the submitted date.
      Returns:
      metadata for the submitted date
      Compliance:
      mandatory - This method must be implemented.
    • setSubmittedDate

      void setSubmittedDate(DateTime date)
      Sets the submitted date.
      Parameters:
      date - the new submitted date
      Throws:
      InvalidArgumentException - date is invalid
      NoAccessException - Metadata.isReadOnly() is true
      NullArgumentException - date is null
      Compliance:
      mandatory - This method must be implemented.
    • clearSubmittedDate

      void clearSubmittedDate()
      Removes the submitted date.
      Throws:
      NoAccessException - Metadata.isRequired() is true or Metadata.isReadOnly() is true
      Compliance:
      mandatory - This method must be implemented.
    • getSubmitterMetadata

      Metadata getSubmitterMetadata()
      Gets the metadata for the submitter.
      Returns:
      metadata for the submitter
      Compliance:
      mandatory - This method must be implemented.
    • setSubmitter

      void setSubmitter(Id resourceId)
      Sets the submitter.
      Parameters:
      resourceId - the new submitter
      Throws:
      InvalidArgumentException - resourceId is invalid
      NoAccessException - Metadata.isReadOnly() is true
      NullArgumentException - resourceId is null
      Compliance:
      mandatory - This method must be implemented.
    • clearSubmitter

      void clearSubmitter()
      Removes the submitter.
      Throws:
      NoAccessException - Metadata.isRequired() is true or Metadata.isReadOnly() is true
      Compliance:
      mandatory - This method must be implemented.
    • getSubmittingAgentMetadata

      Metadata getSubmittingAgentMetadata()
      Gets the metadata for the submitting agent.
      Returns:
      metadata for the submitting agent.
      Compliance:
      mandatory - This method must be implemented.
    • setSubmittingAgent

      void setSubmittingAgent(Id agentId)
      Sets the submitting agent.
      Parameters:
      agentId - the new submitting agent
      Throws:
      InvalidArgumentException - agentId is invalid
      NoAccessException - Metadata.isReadOnly() is true
      NullArgumentException - agentId is null
      Compliance:
      mandatory - This method must be implemented.
    • clearSubmittingAgent

      void clearSubmittingAgent()
      Removes the submitting agent.
      Throws:
      NoAccessException - Metadata.isRequired() is true or Metadata.isReadOnly() is true
      Compliance:
      mandatory - This method must be implemented.
    • getCanceledMetadata

      Metadata getCanceledMetadata()
      Gets the metadata for the cancelation.
      Returns:
      metadata for the cancelation
      Compliance:
      mandatory - This method must be implemented.
    • setCanceled

      void setCanceled(boolean canceled)
      Sets canceled.
      Parameters:
      canceled - the new canceled state
      Throws:
      InvalidArgumentException - canceled is invalid
      NoAccessException - Metadata.isReadOnly() is true
      Compliance:
      mandatory - This method must be implemented.
    • clearCanceled

      void clearCanceled()
      Removes canceled.
      Throws:
      NoAccessException - Metadata.isRequired() is true or Metadata.isReadOnly() is true
      Compliance:
      mandatory - This method must be implemented.
    • getCanceledDateMetadata

      Metadata getCanceledDateMetadata()
      Gets the metadata for the canceled date.
      Returns:
      metadata for the canceled date
      Compliance:
      mandatory - This method must be implemented.
    • setCanceledDate

      void setCanceledDate(DateTime date)
      Sets the canceled date.
      Parameters:
      date - the new canceled date
      Throws:
      InvalidArgumentException - date is invalid
      NoAccessException - Metadata.isReadOnly() is true
      NullArgumentException - date is null
      Compliance:
      mandatory - This method must be implemented.
    • clearCanceledDate

      void clearCanceledDate()
      Removes the canceled date.
      Throws:
      NoAccessException - Metadata.isRequired() is true or Metadata.isReadOnly() is true
      Compliance:
      mandatory - This method must be implemented.
    • getProcessedMetadata

      Metadata getProcessedMetadata()
      Gets the metadata for the processed flag.
      Returns:
      metadata for processed
      Compliance:
      mandatory - This method must be implemented.
    • setProcessed

      void setProcessed(boolean processed)
      Sets processed.
      Parameters:
      processed - the new processed state
      Throws:
      InvalidArgumentException - processed is invalid
      NoAccessException - Metadata.isReadOnly() is true
      Compliance:
      mandatory - This method must be implemented.
    • clearProcessed

      void clearProcessed()
      Removes processed.
      Throws:
      NoAccessException - Metadata.isRequired() is true or Metadata.isReadOnly() is true
      Compliance:
      mandatory - This method must be implemented.
    • getProcessedDateMetadata

      Metadata getProcessedDateMetadata()
      Gets the metadata for the processed date.
      Returns:
      metadata for the processed date
      Compliance:
      mandatory - This method must be implemented.
    • setProcessedDate

      void setProcessedDate(DateTime date)
      Sets the processed date.
      Parameters:
      date - the new processed date
      Throws:
      InvalidArgumentException - date is invalid
      NoAccessException - Metadata.isReadOnly() is true
      NullArgumentException - date is null
      Compliance:
      mandatory - This method must be implemented.
    • clearProcessedDate

      void clearProcessedDate()
      Removes the processed date.
      Throws:
      NoAccessException - Metadata.isRequired() is true or Metadata.isReadOnly() is true
      Compliance:
      mandatory - This method must be implemented.
    • getErrorMetadata

      Metadata getErrorMetadata()
      Gets the metadata for the error state.
      Returns:
      metadata for the error state
      Compliance:
      mandatory - This method must be implemented.
    • setError

      void setError(Id stateId)
      Sets the error state.
      Parameters:
      stateId - the new error state
      Throws:
      InvalidArgumentException - stateId is invalid
      NoAccessException - Metadata.isReadOnly() is true
      NullArgumentException - stateId is null
      Compliance:
      mandatory - This method must be implemented.
    • clearErrorState

      void clearErrorState()
      Removes the error state.
      Throws:
      NoAccessException - Metadata.isRequired() is true or Metadata.isReadOnly() is true
      Compliance:
      mandatory - This method must be implemented.