Interface ProcessConstrainerEnablerQuery

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

public interface ProcessConstrainerEnablerQuery extends OsidEnablerQuery

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

  • Method Details

    • matchRuledProcessConstrainerId

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

      void clearRuledProcessConstrainerIdTerms()
      Clears the process constrainer Id query terms.
      Compliance:
      mandatory - This method must be implemented.
    • supportsRuledProcessConstrainerQuery

      boolean supportsRuledProcessConstrainerQuery()
      Tests if a ProcessConstrainerQuery is available.
      Returns:
      true if a process constrainer query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getRuledProcessConstrainerQuery

      ProcessConstrainerQuery getRuledProcessConstrainerQuery()
      Gets the query for a process constrainer. Multiple retrievals produce a nested OR term.
      Returns:
      the process query
      Throws:
      UnimplementedException - supportsRuledProcessConstrainerQuery() is false
      Compliance:
      optional - This method must be implemented if {@code supportsRuledProcessConstrainerQuery()} is {@code true} .
    • matchAnyRuledProcessConstrainer

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

      void clearRuledProcessConstrainerTerms()
      Clears the process constrainer 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.
    • getProcessConstrainerEnablerQueryRecord

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