Interface ProfileSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The interface for governing profile searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetProfileSearchRecord(Type profileSearchRecordType) Gets the profile search record corresponding to the given profile search recordType.voidorderProfileResults(ProfileSearchOrder profileSearchOrder) Specify an ordering to the search results.voidsearchAmongProfiles(IdList profileIds) Execute this search among the given list of profiles.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
-
searchAmongProfiles
Execute this search among the given list of profiles.- Parameters:
profileIds- list of profiles- Throws:
NullArgumentException-profileIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderProfileResults
Specify an ordering to the search results.- Parameters:
profileSearchOrder- profile search order- Throws:
NullArgumentException-profileSearchOrderisnullUnsupportedException-profileSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getProfileSearchRecord
ProfileSearchRecord getProfileSearchRecord(Type profileSearchRecordType) throws OperationFailedException Gets the profile search record corresponding to the given profile search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
profileSearchRecordType- a profile search record type- Returns:
- the profile search record
- Throws:
NullArgumentException-profileSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(profileSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-