Interface ProjectSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing project searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetProjectSearchRecord(Type projectSearchRecordType) Gets the search record corresponding to the given project search recordType.voidorderProjectResults(ProjectSearchOrder projectSearchOrder) Specify an ordering to the search results.voidsearchAmongProjects(IdList ProjectIds) Execute this search among the given list of projects.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
-
searchAmongProjects
Execute this search among the given list of projects.- Parameters:
ProjectIds- list of projects- Throws:
NullArgumentException-ProjectIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderProjectResults
Specify an ordering to the search results.- Parameters:
projectSearchOrder- project search order- Throws:
NullArgumentException-projectSearchOrderisnullUnsupportedException-projectSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getProjectSearchRecord
ProjectSearchRecord getProjectSearchRecord(Type projectSearchRecordType) throws OperationFailedException Gets the search record corresponding to the given project search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
projectSearchRecordType- a project search record type- Returns:
- the project search record
- Throws:
NullArgumentException-projectSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(projectSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-