Interface SignalEnablerQuery

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

public interface SignalEnablerQuery extends OsidEnablerQuery

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

  • Method Details

    • matchRuledSignalId

      void matchRuledSignalId(Id signalId, boolean match)
      Matches enablers mapped to a signal.
      Parameters:
      signalId - the signal Id
      match - true for a positive match, false for a negative match
      Throws:
      NullArgumentException - signalId is null
      Compliance:
      mandatory - This method must be implemented.
    • clearRuledSignalIdTerms

      void clearRuledSignalIdTerms()
      Clears the signal Id query terms.
      Compliance:
      mandatory - This method must be implemented.
    • supportsRuledSignalQuery

      boolean supportsRuledSignalQuery()
      Tests if a SignalQuery is available.
      Returns:
      true if a signal query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getRuledSignalQuery

      SignalQuery getRuledSignalQuery()
      Gets the query for a signal. Multiple retrievals produce a nested OR term.
      Returns:
      the signal query
      Throws:
      UnimplementedException - supportsRuledSignalQuery() is false
      Compliance:
      optional - This method must be implemented if {@code supportsRuledSignalQuery()} is {@code true} .
    • matchAnyRuledSignal

      void matchAnyRuledSignal(boolean match)
      Matches rules mapped to any signal.
      Parameters:
      match - true for rules mapped to any signal, false to match rules mapped to no signals
      Compliance:
      mandatory - This method must be implemented.
    • clearRuledSignalTerms

      void clearRuledSignalTerms()
      Clears the signal query terms.
      Compliance:
      mandatory - This method must be implemented.
    • matchMapId

      void matchMapId(Id mapId, boolean match)
      Matches enablers mapped to a map.
      Parameters:
      mapId - the map Id
      match - true for a positive match, false for a negative match
      Throws:
      NullArgumentException - mapId is null
      Compliance:
      mandatory - This method must be implemented.
    • clearMapIdTerms

      void clearMapIdTerms()
      Clears the map Id query terms.
      Compliance:
      mandatory - This method must be implemented.
    • supportsMapQuery

      boolean supportsMapQuery()
      Tests if a MapQuery is available.
      Returns:
      true if a map query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getMapQuery

      MapQuery getMapQuery()
      Gets the query for a map. Multiple retrievals produce a nested OR term.
      Returns:
      the map query
      Throws:
      UnimplementedException - supportsMapQuery() is false
      Compliance:
      optional - This method must be implemented if {@code supportsMapQuery()} is {@code true} .
    • clearMapTerms

      void clearMapTerms()
      Clears the map query terms.
      Compliance:
      mandatory - This method must be implemented.
    • getSignalEnablerQueryRecord

      SignalEnablerQueryRecord getSignalEnablerQueryRecord(Type signalEnablerRecordType) throws OperationFailedException
      Gets the signal enabler query record corresponding to the given SignalEnabler record Type . Multiple record retrievals produce a nested OR term.
      Parameters:
      signalEnablerRecordType - a signal enabler record type
      Returns:
      the signal enabler query record
      Throws:
      NullArgumentException - signalEnablerRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(signalEnablerRecordType) is false
      Compliance:
      mandatory - This method must be implemented.