Interface StepConstrainerEnablerQuery

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

public interface StepConstrainerEnablerQuery extends OsidEnablerQuery

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

  • Method Details

    • matchRuledStepConstrainerId

      void matchRuledStepConstrainerId(Id stepConstrainerId, boolean match)
      Matches enablers mapped to the step constrainer.
      Parameters:
      stepConstrainerId - the step constrainer Id
      match - true for a positive match, false for a negative match
      Throws:
      NullArgumentException - stepConstrainerId is null
      Compliance:
      mandatory - This method must be implemented.
    • clearRuledStepConstrainerIdTerms

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

      boolean supportsRuledStepConstrainerQuery()
      Tests if a StepConstrainerQuery is available.
      Returns:
      true if a step constrainer query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getRuledStepConstrainerQuery

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

      void matchAnyRuledStepConstrainer(boolean match)
      Matches enablers mapped to any step constrainer.
      Parameters:
      match - true for enablers mapped to any step constrainer, false to match enablers mapped to no step constrainers
      Compliance:
      mandatory - This method must be implemented.
    • clearRuledStepConstrainerTerms

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

      void matchOfficeId(Id officeId, boolean match)
      Matches enablers 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.
    • getStepConstrainerEnablerQueryRecord

      StepConstrainerEnablerQueryRecord getStepConstrainerEnablerQueryRecord(Type stepConstrainerEnablerRecordType) throws OperationFailedException
      Gets the step constrainer enabler query record corresponding to the given StepConstrainerEnabler record Type . Multiple record retrievals produce a nested OR term.
      Parameters:
      stepConstrainerEnablerRecordType - a step constrainer enabler record type
      Returns:
      the step constrainer enabler query record
      Throws:
      NullArgumentException - stepConstrainerEnablerRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(stepConstrainerEnablerRecordType) is false
      Compliance:
      mandatory - This method must be implemented.