Interface ProcessSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The interface for governing process searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetProcessSearchRecord(Type processSearchRecordType) Gets the process search record corresponding to the given process search recordType.voidorderProcessResults(ProcessSearchOrder processSearchOrder) Specify an ordering to the search results.voidsearchAmongProcesses(IdList processIds) Execute this search among the given list of processes.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
-
searchAmongProcesses
Execute this search among the given list of processes.- Parameters:
processIds- list of processes- Throws:
NullArgumentException-processIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderProcessResults
Specify an ordering to the search results.- Parameters:
processSearchOrder- process search order- Throws:
NullArgumentException-processSearchOrderisnullUnsupportedException-processSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getProcessSearchRecord
ProcessSearchRecord getProcessSearchRecord(Type processSearchRecordType) throws OperationFailedException Gets the process search record corresponding to the given process search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
processSearchRecordType- a process search record type- Returns:
- the process search record
- Throws:
NullArgumentException-processSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(processSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-