Interface RecipeProfile
- All Superinterfaces:
OsidProfile, Sourceable
- All Known Subinterfaces:
RecipeManager, RecipeProxyManager
The recipe profile describes the interoperability among recipe services.
-
Method Summary
Modifier and TypeMethodDescriptionGets the supported cookbook record types.Gets the supported cookbook search record types.Gets the supportedDirectionrecord types.Gets the supportedDirectionsearch types.Gets the supportedIngredientrecord types.Gets the supportedProcedurerecord types.Gets the supported procedure search record types.Gets the supportedReciperecord types.Gets the supportedRecipesearch record types.booleanTests for the availability of a cookbook administrative service for creating and deleting cookbooks.booleanTests for the availability of a cookbook hierarchy traversal service.booleanTests for the availability of a cookbook hierarchy design service.booleanTests for the availability of a cookbook lookup service.booleanTests for the availability of a cookbook notification service.booleanTests if querying cookbooks is available.booleansupportsCookbookRecordType(Type cookbookRecordType) Tests if the given cookbook record type is supported.booleanTests if searching for cookbooks is available.booleansupportsCookbookSearchRecordType(Type cookbookSearchRecordType) Tests if the given cookbook search record type is supported.booleanTests if direction administrative service is supported.booleanTests if a direction cookbook lookup service is supported.booleanTests if a direction cookbook assignment service is supported.booleanTests if looking up directions is supported.booleanTests if a direction notification service is supported.booleanTests if querying directions is supported.booleansupportsDirectionRecordType(Type directionRecordType) Tests if the givenDirectionrecord type is supported.booleanTests if searching directions is supported.booleansupportsDirectionSearchRecordType(Type directionSearchRecordType) Tests if the givenDirectionsearch type is supported.booleanTests if a direction smart cookbook service is supported.booleansupportsIngredientRecordType(Type ingredientRecordType) Tests if the givenIngredientrecord type is supported.booleanTests if searching for procedures is available.booleanTests if a procedure to cookbook lookup session is available.booleanTests if a procedure to cookbook assignment session is available.booleanTests for the availability of a procedure lookup service.booleanTests if procedure notification is available.booleanTests if querying procedures is available.booleansupportsProcedureRecordType(Type procedureRecordType) Tests if the givenProcedurerecord type is supported.booleanTests if searching for procedures is available.booleansupportsProcedureSearchRecordType(Type procedureSearchRecordType) Tests if the given procedure search record type is supported.booleanTests if a procedure smart cookbook session is available.booleanTests if recipe administrative service is supported.booleanTests for the availability of a batch recipe service.booleanTests if a recipe cookbook lookup service is supported.booleanTests if a recipe cookbook service is supported.booleanTests if looking up recipes is supported.booleanTests if a recipe notification service is supported.booleanTests if querying recipes is supported.booleansupportsRecipeRecordType(Type recipeRecordType) Tests if the givenReciperecord type is supported.booleanTests if searching recipes is supported.booleansupportsRecipeSearchRecordType(Type recipeSearchRecordType) Tests if the givenRecipesearch record type is supported.booleanTests if a recipe smart cookbook lookup service is supported.booleanTests if any cookbook 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 cookbook federation is exposed. Federation is exposed when a specific cookbook may be identified, selected and used to create a lookup or admin session. Federation is not exposed when a set of cookbooks appears as a single cookbook.- Returns:
trueif visible federation is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsRecipeLookup
boolean supportsRecipeLookup()Tests if looking up recipes is supported.- Returns:
trueif recipe lookup is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsRecipeQuery
boolean supportsRecipeQuery()Tests if querying recipes is supported.- Returns:
trueif recipe query is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsRecipeSearch
boolean supportsRecipeSearch()Tests if searching recipes is supported.- Returns:
trueif recipe search is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsRecipeAdmin
boolean supportsRecipeAdmin()Tests if recipe administrative service is supported.- Returns:
trueif recipe administration is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsRecipeNotification
boolean supportsRecipeNotification()Tests if a recipe notification service is supported.- Returns:
trueif recipe notification is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsRecipeCookbook
boolean supportsRecipeCookbook()Tests if a recipe cookbook lookup service is supported.- Returns:
trueif a recipe cookbook lookup service is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsRecipeCookbookAssignment
boolean supportsRecipeCookbookAssignment()Tests if a recipe cookbook service is supported.- Returns:
trueif recipe to cookbook assignment service is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsRecipeSmartCookbook
boolean supportsRecipeSmartCookbook()Tests if a recipe smart cookbook lookup service is supported.- Returns:
trueif a recipe smart cookbook service is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsDirectionLookup
boolean supportsDirectionLookup()Tests if looking up directions is supported.- Returns:
trueif direction lookup is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsDirectionQuery
boolean supportsDirectionQuery()Tests if querying directions is supported.- Returns:
trueif direction query is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsDirectionSearch
boolean supportsDirectionSearch()Tests if searching directions is supported.- Returns:
trueif direction search is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsDirectionAdmin
boolean supportsDirectionAdmin()Tests if direction administrative service is supported.- Returns:
trueif direction administration is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsDirectionNotification
boolean supportsDirectionNotification()Tests if a direction notification service is supported.- Returns:
trueif direction notification is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsDirectionCookbook
boolean supportsDirectionCookbook()Tests if a direction cookbook lookup service is supported.- Returns:
trueif a direction cookbook lookup service is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsDirectionCookbookAssignment
boolean supportsDirectionCookbookAssignment()Tests if a direction cookbook assignment service is supported.- Returns:
trueif a direction to cookbook assignment service is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsDirectionSmartCookbook
boolean supportsDirectionSmartCookbook()Tests if a direction smart cookbook service is supported.- Returns:
trueif a direction smart cookbook service is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsProcedureLookup
boolean supportsProcedureLookup()Tests for the availability of a procedure lookup service.- Returns:
trueif procedure lookup is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsProcedureQuery
boolean supportsProcedureQuery()Tests if querying procedures is available.- Returns:
trueif procedure query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsProcedureSearch
boolean supportsProcedureSearch()Tests if searching for procedures is available.- Returns:
trueif procedure search is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsProcedureAdmin
boolean supportsProcedureAdmin()Tests if searching for procedures is available.- Returns:
trueif procedure search is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsProcedureNotification
boolean supportsProcedureNotification()Tests if procedure notification is available.- Returns:
trueif procedure notification is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsProcedureCookbook
boolean supportsProcedureCookbook()Tests if a procedure to cookbook lookup session is available.- Returns:
trueif procedure cookbook lookup session is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsProcedureCookbookAssignment
boolean supportsProcedureCookbookAssignment()Tests if a procedure to cookbook assignment session is available.- Returns:
trueif procedure cookbook assignment is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsProcedureSmartCookbook
boolean supportsProcedureSmartCookbook()Tests if a procedure smart cookbook session is available.- Returns:
trueif procedure smart cookbook is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsCookbookLookup
boolean supportsCookbookLookup()Tests for the availability of a cookbook lookup service.- Returns:
trueif cookbook lookup is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsCookbookQuery
boolean supportsCookbookQuery()Tests if querying cookbooks is available.- Returns:
trueif cookbook query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsCookbookSearch
boolean supportsCookbookSearch()Tests if searching for cookbooks is available.- Returns:
trueif cookbook search is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsCookbookAdmin
boolean supportsCookbookAdmin()Tests for the availability of a cookbook administrative service for creating and deleting cookbooks.- Returns:
trueif cookbook administration is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsCookbookNotification
boolean supportsCookbookNotification()Tests for the availability of a cookbook notification service.- Returns:
trueif cookbook notification is available,falseotherwise- Compliance:
mandatory- This method must be implemented in all providers.
-
supportsCookbookHierarchy
boolean supportsCookbookHierarchy()Tests for the availability of a cookbook hierarchy traversal service.- Returns:
trueif cookbook hierarchy traversal is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsCookbookHierarchyDesign
boolean supportsCookbookHierarchyDesign()Tests for the availability of a cookbook hierarchy design service.- Returns:
trueif cookbook hierarchy design is available,falseotherwise- Compliance:
mandatory- This method must be implemented in all providers.
-
supportsRecipeBatch
boolean supportsRecipeBatch()Tests for the availability of a batch recipe service.- Returns:
trueif a batch recipe service is available,falseotherwise- Compliance:
mandatory- This method must be implemented in all providers.
-
getRecipeRecordTypes
TypeList getRecipeRecordTypes()Gets the supportedReciperecord types.- Returns:
- a list containing the supported
Reciperecord types - Compliance:
mandatory- This method must be implemented.
-
supportsRecipeRecordType
Tests if the givenReciperecord type is supported.- Parameters:
recipeRecordType- aTypeindicating anReciperecord type- Returns:
trueif the givenTypeis supported,falseotherwise- Throws:
NullArgumentException-recipeRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-
getRecipeSearchRecordTypes
TypeList getRecipeSearchRecordTypes()Gets the supportedRecipesearch record types.- Returns:
- a list containing the supported
Recipesearch record types - Compliance:
mandatory- This method must be implemented.
-
supportsRecipeSearchRecordType
Tests if the givenRecipesearch record type is supported.- Parameters:
recipeSearchRecordType- aTypeindicating anRecipesearch record type- Returns:
trueif the givenTypeis supported,falseotherwise- Throws:
NullArgumentException-recipeSearchRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-
getDirectionRecordTypes
TypeList getDirectionRecordTypes()Gets the supportedDirectionrecord types.- Returns:
- a list containing the supported
Directionrecord types - Compliance:
mandatory- This method must be implemented.
-
supportsDirectionRecordType
Tests if the givenDirectionrecord type is supported.- Parameters:
directionRecordType- aTypeindicating aDirectionrecord type- Returns:
trueif the given record type is supported,falseotherwise- Throws:
NullArgumentException-directionRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-
getDirectionSearchRecordTypes
TypeList getDirectionSearchRecordTypes()Gets the supportedDirectionsearch types.- Returns:
- a list containing the supported
Directionsearch types - Compliance:
mandatory- This method must be implemented.
-
supportsDirectionSearchRecordType
Tests if the givenDirectionsearch type is supported.- Parameters:
directionSearchRecordType- aTypeindicating aDirectionsearch type- Returns:
trueif the givenTypeis supported,falseotherwise- Throws:
NullArgumentException-directionSearchRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-
getIngredientRecordTypes
TypeList getIngredientRecordTypes()Gets the supportedIngredientrecord types.- Returns:
- a list containing the supported
Ingredientrecord types - Compliance:
mandatory- This method must be implemented.
-
supportsIngredientRecordType
Tests if the givenIngredientrecord type is supported.- Parameters:
ingredientRecordType- aTypeindicating anIngredientrecord type- Returns:
trueif the given record type is supported,falseotherwise- Throws:
NullArgumentException-ingredientRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-
getProcedureRecordTypes
TypeList getProcedureRecordTypes()Gets the supportedProcedurerecord types.- Returns:
- a list containing the supported procedure record types
- Compliance:
mandatory- This method must be implemented.
-
supportsProcedureRecordType
Tests if the givenProcedurerecord type is supported.- Parameters:
procedureRecordType- aTypeindicating aProcedurerecord type- Returns:
trueif the givenTypeis supported,falseotherwise- Throws:
NullArgumentException-procedureRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-
getProcedureSearchRecordTypes
TypeList getProcedureSearchRecordTypes()Gets the supported procedure search record types.- Returns:
- a list containing the supported procedure search record types
- Compliance:
mandatory- This method must be implemented.
-
supportsProcedureSearchRecordType
Tests if the given procedure search record type is supported.- Parameters:
procedureSearchRecordType- aTypeindicating a procedure record type- Returns:
trueif the givenTypeis supported,falseotherwise- Throws:
NullArgumentException-procedureSearchRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-
getCookbookRecordTypes
TypeList getCookbookRecordTypes()Gets the supported cookbook record types.- Returns:
- a list containing the supported cookbook record types
- Compliance:
mandatory- This method must be implemented.
-
supportsCookbookRecordType
Tests if the given cookbook record type is supported.- Parameters:
cookbookRecordType- aTypeindicating a cookbook record type- Returns:
trueif the givenTypeis supported,falseotherwise- Throws:
NullArgumentException-cookbookRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-
getCookbookSearchRecordTypes
TypeList getCookbookSearchRecordTypes()Gets the supported cookbook search record types.- Returns:
- a list containing the supported cookbook search record types
- Compliance:
mandatory- This method must be implemented.
-
supportsCookbookSearchRecordType
Tests if the given cookbook search record type is supported.- Parameters:
cookbookSearchRecordType- aTypeindicating a cookbook record type- Returns:
trueif the givenTypeis supported,falseotherwise- Throws:
NullArgumentException-cookbookSearchRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-