Interface StepProcessorQuery

All Superinterfaces:
Extensible, OsidBrowsableQuery, OsidExtensibleQuery, OsidIdentifiableQuery, OsidObjectQuery, OsidOperableQuery, OsidProcessorQuery, OsidQuery, OsidRuleQuery, Suppliable

public interface StepProcessorQuery extends OsidProcessorQuery

This is the query for searching step processors. Each method match specifies a AND term while multiple invocations of the same method produce a nested OR .

  • Method Details

    • matchRuledStepId

      void matchRuledStepId(Id stepId, boolean match)
      Matches rules mapped to the step.
      Parameters:
      stepId - the step Id
      match - true for a positive match, false for a negative match
      Throws:
      NullArgumentException - stepId is null
      Compliance:
      mandatory - This method must be implemented.
    • clearRuledStepIdTerms

      void clearRuledStepIdTerms()
      Clears the step Id query terms.
      Compliance:
      mandatory - This method must be implemented.
    • supportsRuledStepQuery

      boolean supportsRuledStepQuery()
      Tests if a StepQuery is available.
      Returns:
      true if a step query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getRuledStepQuery

      StepQuery getRuledStepQuery()
      Gets the query for a step. Multiple retrievals produce a nested OR term.
      Returns:
      the step query
      Throws:
      UnimplementedException - supportsRuledStepQuery() is false
      Compliance:
      optional - This method must be implemented if {@code supportsRuledStepQuery()} is {@code true} .
    • matchAnyRuledStep

      void matchAnyRuledStep(boolean match)
      Matches any rule mapped to any step.
      Parameters:
      match - true for rules mapped to any step, false to match rules mapped to no step
      Compliance:
      mandatory - This method must be implemented.
    • clearRuledStepTerms

      void clearRuledStepTerms()
      Clears the step query terms.
      Compliance:
      mandatory - This method must be implemented.
    • matchOfficeId

      void matchOfficeId(Id officeId, boolean match)
      Matches rules mapped to the office.
      Parameters:
      officeId - the office Id
      match - true for a positive match, false for a negative match
      Throws:
      NullArgumentException - officeId is null
      Compliance:
      mandatory - This method must be implemented.
    • clearOfficeIdTerms

      void clearOfficeIdTerms()
      Clears the office Id query terms.
      Compliance:
      mandatory - This method must be implemented.
    • supportsOfficeQuery

      boolean supportsOfficeQuery()
      Tests if an OfficeQuery is available.
      Returns:
      true if an office query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getOfficeQuery

      OfficeQuery getOfficeQuery()
      Gets the query for an office. Multiple retrievals produce a nested OR term.
      Returns:
      the office query
      Throws:
      UnimplementedException - supportsOfficeQuery() is false
      Compliance:
      optional - This method must be implemented if {@code supportsOfficeQuery()} is {@code true} .
    • clearOfficeTerms

      void clearOfficeTerms()
      Clears the office query terms.
      Compliance:
      mandatory - This method must be implemented.
    • getStepProcessorQueryRecord

      StepProcessorQueryRecord getStepProcessorQueryRecord(Type stepProcessorRecordType) throws OperationFailedException
      Gets the step processor query record corresponding to the given StepProcessor record Type . Multiple record retrievals produce a nested OR term.
      Parameters:
      stepProcessorRecordType - a step processor record type
      Returns:
      the step processor query record
      Throws:
      NullArgumentException - stepProcessorRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(stepProcessorRecordType) is false
      Compliance:
      mandatory - This method must be implemented.