Interface ProcessProcessorEnablerQuery

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

public interface ProcessProcessorEnablerQuery extends OsidEnablerQuery

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

  • Method Details

    • matchRuledProcessProcessorId

      void matchRuledProcessProcessorId(Id processProcessorId, boolean match)
      Matches enablers mapped to a process processor.
      Parameters:
      processProcessorId - the process processor Id
      match - true for a positive match, false for a negative match
      Throws:
      NullArgumentException - processProcessorId is null
      Compliance:
      mandatory - This method must be implemented.
    • clearRuledProcessProcessorIdTerms

      void clearRuledProcessProcessorIdTerms()
      Clears the process processor Id query terms.
      Compliance:
      mandatory - This method must be implemented.
    • supportsRuledProcessProcessorQuery

      boolean supportsRuledProcessProcessorQuery()
      Tests if a ProcessProcessorQuery is available.
      Returns:
      true if a process processor query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getRuledProcessProcessorQuery

      ProcessProcessorQuery getRuledProcessProcessorQuery()
      Gets the query for a process processor. Multiple retrievals produce a nested OR term.
      Returns:
      the process processor query
      Throws:
      UnimplementedException - supportsRuledProcessProcessorQuery() is false
      Compliance:
      optional - This method must be implemented if {@code supportsRuledProcessProcessorQuery()} is {@code true} .
    • matchAnyRuledProcessProcessor

      void matchAnyRuledProcessProcessor(boolean match)
      Matches rules mapped to any process processor.
      Parameters:
      match - true for rules mapped to any process processor, false to match rules mapped to no processs processor
      Compliance:
      mandatory - This method must be implemented.
    • clearRuledProcessTerms

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

      void matchOfficeId(Id officeId, boolean match)
      Sets the office Id for this query to match processes assigned to offices.
      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.
    • getProcessProcessorEnablerQueryRecord

      ProcessProcessorEnablerQueryRecord getProcessProcessorEnablerQueryRecord(Type processProcessorEnablerRecordType) throws OperationFailedException
      Gets the process processor enabler query record corresponding to the given ProcessProcessorEnabler record Type . Multiple record retrievals produce a nested OR term.
      Parameters:
      processProcessorEnablerRecordType - a process processor enabler record type
      Returns:
      the process processor enabler query record
      Throws:
      NullArgumentException - processProcessorEnablerRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(processProcessorEnablerRecordType) is false
      Compliance:
      mandatory - This method must be implemented.