Interface RulesProfile
- All Superinterfaces:
OsidProfile, Sourceable
- All Known Subinterfaces:
RulesManager, RulesProxyManager
The rules profile describes the interoperability among rule services.
-
Method Summary
Modifier and TypeMethodDescriptionGets the supportedEnginerecord types.Gets the supported engine search record types.Gets the supportedRulerecord types.Gets the supported rule 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 for the availability of an engine query service.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.booleanTests if managing rules is available.booleanTests if rule cataloging is available.booleanTests if a rule cataloging assignment service is supported.booleanTests if rule evaluation is supported.booleanTests for the availability of a rule lookup service.booleanTests if rule notification is available.booleanTests if querying rules is available.booleansupportsRuleRecordType(Type ruleRecordType) Tests if the givenRulerecord type is supported.booleanTests for the availability of a rules check service.booleanTests if searching for rules is available.booleansupportsRuleSearchRecordType(Type ruleSearchRecordType) Tests if the given rule search record type is supported.booleanTests if rule smart engines is available.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.
-
supportsRuleEvaluation
boolean supportsRuleEvaluation()Tests if rule evaluation is supported.- Returns:
trueif rule evaluation is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsRuleLookup
boolean supportsRuleLookup()Tests for the availability of a rule lookup service.- Returns:
trueif rule lookup is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsRuleQuery
boolean supportsRuleQuery()Tests if querying rules is available.- Returns:
trueif rule query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsRuleSearch
boolean supportsRuleSearch()Tests if searching for rules is available.- Returns:
trueif rule search is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsRuleAdmin
boolean supportsRuleAdmin()Tests if managing rules is available.- Returns:
trueif rule admin is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsRuleNotification
boolean supportsRuleNotification()Tests if rule notification is available.- Returns:
trueif rule notification is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsRuleEngine
boolean supportsRuleEngine()Tests if rule cataloging is available.- Returns:
trueif rule cataloging is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsRuleEngineAssignment
boolean supportsRuleEngineAssignment()Tests if a rule cataloging assignment service is supported. A rule cataloging service maps rules to engines.- Returns:
trueif rule cataloging is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsRuleSmartEngine
boolean supportsRuleSmartEngine()Tests if rule smart engines is available.- Returns:
trueif rule smart engines is available,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 for the availability of an engine query service.- 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.
-
supportsRulesCheck
boolean supportsRulesCheck()Tests for the availability of a rules check service.- Returns:
trueif a rules check service is available,falseotherwise- Compliance:
mandatory- This method must be implemented in all providers.
-
getRuleRecordTypes
TypeList getRuleRecordTypes()Gets the supportedRulerecord types.- Returns:
- a list containing the supported rule record types
- Compliance:
mandatory- This method must be implemented.
-
supportsRuleRecordType
Tests if the givenRulerecord type is supported.- Parameters:
ruleRecordType- aTypeindicating aRulerecord type- Returns:
trueif the givenTypeis supported,falseotherwise- Throws:
NullArgumentException-ruleRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-
getRuleSearchRecordTypes
TypeList getRuleSearchRecordTypes()Gets the supported rule search record types.- Returns:
- a list containing the supported rule search record types
- Compliance:
mandatory- This method must be implemented.
-
supportsRuleSearchRecordType
Tests if the given rule search record type is supported.- Parameters:
ruleSearchRecordType- aTypeindicating a rule record type- Returns:
trueif the givenTypeis supported,falseotherwise- Throws:
NullArgumentException-ruleSearchRecordTypeisnull- 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.
-