Interface ParameterProcessorQuery

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

public interface ParameterProcessorQuery extends OsidProcessorQuery

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

  • Method Details

    • matchRuledParameterId

      void matchRuledParameterId(Id parameterId, boolean match)
      Matches mapped to the parameter.
      Parameters:
      parameterId - the parameter Id
      match - true for a positive match, false for a negative match
      Throws:
      NullArgumentException - parameterId is null
      Compliance:
      mandatory - This method must be implemented.
    • clearRuledParameterIdTerms

      void clearRuledParameterIdTerms()
      Clears the parameter Id query terms.
      Compliance:
      mandatory - This method must be implemented.
    • supportsRuledParameterQuery

      boolean supportsRuledParameterQuery()
      Tests if a ParameterQuery is available.
      Returns:
      true if a parameter query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getRuledParameterQuery

      ParameterQuery getRuledParameterQuery()
      Gets the query for a parameter. Multiple retrievals produce a nested OR term.
      Returns:
      the parameter query
      Throws:
      UnimplementedException - supportsRuledParameterQuery() is false
      Compliance:
      optional - This method must be implemented if {@code supportsRuledParameterQuery()} is {@code true} .
    • matchAnyRuledParameter

      void matchAnyRuledParameter(boolean match)
      Matches mapped to any parameter.
      Parameters:
      match - true for mapped to any parameter, false to match mapped to no parameters
      Compliance:
      mandatory - This method must be implemented.
    • clearRuledParameterTerms

      void clearRuledParameterTerms()
      Clears the parameter query terms.
      Compliance:
      mandatory - This method must be implemented.
    • matchConfigurationId

      void matchConfigurationId(Id configurationId, boolean match)
      Matches mapped to the configuration.
      Parameters:
      configurationId - the configuration Id
      match - true for a positive match, false for a negative match
      Throws:
      NullArgumentException - configurationId is null
      Compliance:
      mandatory - This method must be implemented.
    • clearConfigurationIdTerms

      void clearConfigurationIdTerms()
      Clears the configuration Id query terms.
      Compliance:
      mandatory - This method must be implemented.
    • supportsConfigurationQuery

      boolean supportsConfigurationQuery()
      Tests if a ConfigurationQuery is available.
      Returns:
      true if a configuration query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getConfigurationQuery

      ConfigurationQuery getConfigurationQuery()
      Gets the query for a configuration. Multiple retrievals produce a nested OR term.
      Returns:
      the configuration query
      Throws:
      UnimplementedException - supportsConfigurationQuery() is false
      Compliance:
      optional - This method must be implemented if {@code supportsConfigurationQuery()} is {@code true} .
    • clearConfigurationTerms

      void clearConfigurationTerms()
      Clears the configuration query terms.
      Compliance:
      mandatory - This method must be implemented.
    • getParameterProcessorQueryRecord

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