Interface OrganizationSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing organization searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetOrganizationSearchRecord(Type organizationSearchRecordType) Gets the record corresponding to the given organization search recordType.voidorderOrganizationResults(OrganizationSearchOrder organizationSearchOrder) Specify an ordering to the search results.voidsearchAmongOrganizations(IdList organizationIds) Execute this search among the given list of organizations.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
-
searchAmongOrganizations
Execute this search among the given list of organizations.- Parameters:
organizationIds- list of organizations- Throws:
NullArgumentException-organizationIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderOrganizationResults
Specify an ordering to the search results.- Parameters:
organizationSearchOrder- organization search order- Throws:
NullArgumentException-organizationSearchOrderisnullUnsupportedException-organizationSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getOrganizationSearchRecord
OrganizationSearchRecord getOrganizationSearchRecord(Type organizationSearchRecordType) throws OperationFailedException Gets the record corresponding to the given organization search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
organizationSearchRecordType- an organization search record type- Returns:
- the organization search record
- Throws:
NullArgumentException-organizationSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(organizationSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-