Interface AuthorizationSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
AuthorizationSearch defines the interface for specifying
authorization search options.
-
Method Summary
Modifier and TypeMethodDescriptiongetAuthorizationSearchRecord(Type authorizationSearchRecordType) Gets the authorization search record corresponding to the given authorization search recordType.This method is used to retrieve an object implementing the requested record.voidorderAuthorizationResults(AuthorizationSearchOrder authorizationSearchOrder) Specify an ordering to the search results.voidsearchAmongAuthorizations(IdList authorizationIds) Execute this search among the given list of authorizations.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
-
searchAmongAuthorizations
Execute this search among the given list of authorizations.- Parameters:
authorizationIds- list of authorizations- Throws:
NullArgumentException-authorizationIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderAuthorizationResults
Specify an ordering to the search results.- Parameters:
authorizationSearchOrder- authorization search order- Throws:
NullArgumentException-authorizationSearchOrderisnullUnsupportedException-authorizationSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getAuthorizationSearchRecord
AuthorizationSearchRecord getAuthorizationSearchRecord(Type authorizationSearchRecordType) throws OperationFailedException Gets the authorization search record corresponding to the given authorization search recordType.This method is used to retrieve an object implementing the requested record.- Parameters:
authorizationSearchRecordType- an authorization search record type- Returns:
- the authorization search record
- Throws:
NullArgumentException-authorizationSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(authorizationSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-