Interface ProfileItemSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
ProfileItemSearch defines the interface for specifying profile
item search options.
-
Method Summary
Modifier and TypeMethodDescriptiongetProfileItemSearchRecord(Type profileItemSearchRecordType) Gets the profile item search record corresponding to the given profile item search recordType.This method is used to retrieve an object implementing the requested record.voidorderProfileItemResults(ProfileItemSearchOrder profileItemSearchOrder) Specify an ordering to the search results.voidsearchAmongProfileItems(IdList profileItemIds) Execute this search among the given list of profile items.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
-
searchAmongProfileItems
Execute this search among the given list of profile items.- Parameters:
profileItemIds- list of profile items.- Throws:
NullArgumentException-profileItemIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderProfileItemResults
Specify an ordering to the search results.- Parameters:
profileItemSearchOrder- profile item search order- Throws:
NullArgumentException-profileItemSearchOrderisnullUnsupportedException-profileItemSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getProfileItemSearchRecord
ProfileItemSearchRecord getProfileItemSearchRecord(Type profileItemSearchRecordType) throws OperationFailedException Gets the profile item search record corresponding to the given profile item search recordType.This method is used to retrieve an object implementing the requested record.- Parameters:
profileItemSearchRecordType- a profile item search record type- Returns:
- the profile item search record
- Throws:
NullArgumentException-profileItemSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(profileItemSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-