Interface SearchProfile
- All Superinterfaces:
OsidProfile, Sourceable
- All Known Subinterfaces:
SearchManager, SearchProxyManager
The search profile describes the interoperability among search services.
-
Method Summary
Modifier and TypeMethodDescriptionGets the supportedEnginerecord types.Gets the supported engine search record types.Gets the supported query record types.Gets the supported search record types.booleanTests for the availability of an engine administrative service for creating and deleting engines.booleanTests for the availability of an engine hierarchy traversal service.booleanTests for the availability of an engine hierarchy design service.booleanTests for the availability of an engine lookup service.booleanTests for the availability of an engine notification service.booleanTests if querying for engines is available.booleansupportsEngineRecordType(Type engineRecordType) Tests if the givenEnginerecord type is supported.booleanTests if searching for engines is available.booleansupportsEngineSearchRecordType(Type engineSearchRecordType) Tests if the given engine search record type is supported.booleansupportsQueryRecordType(Type queryRecordType) Tests if the given query record type is supported.booleanTests if search is supported.booleansupportsSearchRecordType(Type searchRecordType) Tests if the given search record type is supported.booleanTests if any engine federation is exposed.Methods inherited from interface OsidProfile
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordTypeModifier and TypeMethodDescriptionGets this service branch.Gets theBranch Idrepresenting this service branch.Gets a description of this service implementation.Gets a display name for this service implementation.getId()Gets an identifier for this service implementation.Gets the locales supported in this service.Gets the proxy recordTypessupported in this service.Gets the date this service implementation was released.Gets the version of this service implementation.booleanTest for support of a journal branching service.booleanTest for support of a journaling rollback service.booleansupportsOSIDVersion(Version version) Test for support of an OSID specification version.booleansupportsProxyRecordType(Type proxyRecordType) Test for support of a proxy type.Methods inherited from interface Sourceable
getBranding, getBrandingIds, getLicense, getProvider, getProviderIdModifier and TypeMethodDescriptionGets a branding, such as an image or logo, expressed using theAssetinterface.Gets the branding assetIds.Gets the terms of usage.Gets theResourcerepresenting the provider.Gets theIdof the provider.
-
Method Details
-
supportsVisibleFederation
boolean supportsVisibleFederation()Tests if any engine federation is exposed. Federation is exposed when a specific engine may be identified, selected and used to create a lookup or admin session. Federation is not exposed when a set of engines appears as a single engine.- Returns:
trueif visible federation is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsSearch
boolean supportsSearch()Tests if search is supported.- Returns:
trueif search is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsEngineLookup
boolean supportsEngineLookup()Tests for the availability of an engine lookup service.- Returns:
trueif engine lookup is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsEngineQuery
boolean supportsEngineQuery()Tests if querying for engines is available.- Returns:
trueif engine query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsEngineSearch
boolean supportsEngineSearch()Tests if searching for engines is available.- Returns:
trueif engine search is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsEngineAdmin
boolean supportsEngineAdmin()Tests for the availability of an engine administrative service for creating and deleting engines.- Returns:
trueif engine administration is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsEngineNotification
boolean supportsEngineNotification()Tests for the availability of an engine notification service.- Returns:
trueif engine notification is available,falseotherwise- Compliance:
mandatory- This method must be implemented in all providers.
-
supportsEngineHierarchy
boolean supportsEngineHierarchy()Tests for the availability of an engine hierarchy traversal service.- Returns:
trueif engine hierarchy traversal is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsEngineHierarchyDesign
boolean supportsEngineHierarchyDesign()Tests for the availability of an engine hierarchy design service.- Returns:
trueif engine hierarchy design is available,falseotherwise- Compliance:
mandatory- This method must be implemented in all providers.
-
getQueryRecordTypes
TypeList getQueryRecordTypes()Gets the supported query record types.- Returns:
- a list containing the supported query record types
- Compliance:
mandatory- This method must be implemented.
-
supportsQueryRecordType
Tests if the given query record type is supported.- Parameters:
queryRecordType- aTypeindicating a query record type- Returns:
trueif the givenTypeis supported,falseotherwise- Throws:
NullArgumentException-queryRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-
getSearchRecordTypes
TypeList getSearchRecordTypes()Gets the supported search record types.- Returns:
- a list containing the supported search record types
- Compliance:
mandatory- This method must be implemented.
-
supportsSearchRecordType
Tests if the given search record type is supported.- Parameters:
searchRecordType- aTypeindicating a search record type- Returns:
trueif the givenTypeis supported,falseotherwise- Throws:
NullArgumentException-searchRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-
getEngineRecordTypes
TypeList getEngineRecordTypes()Gets the supportedEnginerecord types.- Returns:
- a list containing the supported engine record types
- Compliance:
mandatory- This method must be implemented.
-
supportsEngineRecordType
Tests if the givenEnginerecord type is supported.- Parameters:
engineRecordType- aTypeindicating anEnginerecord type- Returns:
trueif the givenTypeis supported,falseotherwise- Throws:
NullArgumentException-engineRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-
getEngineSearchRecordTypes
TypeList getEngineSearchRecordTypes()Gets the supported engine search record types.- Returns:
- a list containing the supported engine search record types
- Compliance:
mandatory- This method must be implemented.
-
supportsEngineSearchRecordType
Tests if the given engine search record type is supported.- Parameters:
engineSearchRecordType- aTypeindicating an engine record type- Returns:
trueif the givenTypeis supported,falseotherwise- Throws:
NullArgumentException-engineSearchRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-