Interface RuleSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing rule searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetRuleSearchRecord(Type ruleSearchRecordType) Gets the rule search record corresponding to the given rule search recordType.voidorderRuleResults(RuleSearchOrder ruleSearchOrder) Specify an ordering to the search results.voidsearchAmongRules(IdList ruleIds) Execute this search among the given list of rules.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface OsidSearch
limitResultSetModifier and TypeMethodDescriptionvoidlimitResultSet(long start, long end) By default, searches return all matching results.
-
Method Details
-
searchAmongRules
Execute this search among the given list of rules.- Parameters:
ruleIds- list of rules- Throws:
NullArgumentException-ruleIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderRuleResults
Specify an ordering to the search results.- Parameters:
ruleSearchOrder- rule search order- Throws:
NullArgumentException-ruleSearchOrderisnullUnsupportedException-ruleSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getRuleSearchRecord
Gets the rule search record corresponding to the given rule search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
ruleSearchRecordType- a rule search record type- Returns:
- the rule search record
- Throws:
NullArgumentException-ruleSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(ruleSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-