Interface | osid.control.rules.ActionEnablerQuery | ||
---|---|---|---|
Implements | osid.OsidEnablerQuery | ||
Description |
This is the query for searching action enablers. Each
method match specifies an | ||
Method | matchRuledActionId | ||
Description |
Matches enablers mapped to the action. | ||
Parameters | osid.id.Id | actionId | the action Id |
boolean | match | true for a positive match, false for a
negative match | |
Errors | NULL_ARGUMENT | actionId is null | |
Compliance | mandatory | This method must be implemented. | |
Method | clearRuledActionIdTerms | ||
Description |
Clears the action | ||
Compliance | mandatory | This method must be implemented. | |
Method | supportsRuledActionQuery | ||
Description |
Tests if an | ||
Return | boolean | true if an action query is available, false
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getRuledActionQuery | ||
Description |
Gets the query for an action. Multiple retrievals
produce a nested | ||
Return | osid.control.ActionQuery | the action query | |
Errors | UNIMPLEMENTED | supportsRuledActionQuery() is false | |
Compliance | optional | This method must be implemented if supportsRuledActionQuery()
is true. | |
Method | matchAnyRuledAction | ||
Description |
Matches enablers mapped to any action. | ||
Parameters | boolean | match | true for enablers mapped to any action, false
to match enablers mapped to no actions |
Compliance | mandatory | This method must be implemented. | |
Method | clearRuledActionTerms | ||
Description |
Clears the action query terms. | ||
Compliance | mandatory | This method must be implemented. | |
Method | matchSystemId | ||
Description |
Matches enablers mapped to the system. | ||
Parameters | osid.id.Id | systemId | the system Id |
boolean | match | true for a positive match, false for a
negative match | |
Errors | NULL_ARGUMENT | systemId is null | |
Compliance | mandatory | This method must be implemented. | |
Method | clearSystemIdTerms | ||
Description |
Clears the system | ||
Compliance | mandatory | This method must be implemented. | |
Method | supportsSystemQuery | ||
Description |
Tests if a | ||
Return | boolean | true if a system query is available, false
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getSystemQuery | ||
Description |
Gets the query for a system. Multiple retrievals
produce a nested | ||
Return | osid.control.SystemQuery | the system query | |
Errors | UNIMPLEMENTED | supportsSystemQuery() is false | |
Compliance | optional | This method must be implemented if supportsSystemQuery() is
true. | |
Method | clearSystemTerms | ||
Description |
Clears the system query terms. | ||
Compliance | mandatory | This method must be implemented. | |
Method | getActionEnablerQueryRecord | ||
Description |
Gets the action enabler query record corresponding to
the given | ||
Parameters | osid.type.Type | actionEnablerRecordType | an action enabler record type |
Return | osid.control.rules.records.ActionEnablerQueryRecord | the action enabler query record | |
Errors | NULL_ARGUMENT | actionEnablerRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
UNSUPPORTED | hasRecordType(actionEnablerRecordType) is false
| ||
Compliance | mandatory | This method must be implemented. |