Interface TriggerSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing trigger searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetTriggerSearchRecord(Type triggerSearchRecordType) Gets the trigger search record corresponding to the given trigger search recordType.voidorderTriggerResults(TriggerSearchOrder triggerSearchOrder) Specify an ordering to the search results.voidsearchAmongTriggers(IdList triggerIds) Execute this search among the given list of triggers.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
-
searchAmongTriggers
Execute this search among the given list of triggers.- Parameters:
triggerIds- list of triggers- Throws:
NullArgumentException-triggerIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderTriggerResults
Specify an ordering to the search results.- Parameters:
triggerSearchOrder- trigger search order- Throws:
NullArgumentException-triggerSearchOrderisnullUnsupportedException-triggerSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getTriggerSearchRecord
TriggerSearchRecord getTriggerSearchRecord(Type triggerSearchRecordType) throws OperationFailedException Gets the trigger search record corresponding to the given trigger search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
triggerSearchRecordType- a trigger search record type- Returns:
- the trigger search record
- Throws:
NullArgumentException-triggerSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(triggerSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-