Interface RecipeManager
- All Superinterfaces:
AutoCloseable, Closeable, OsidManager, OsidManager, OsidProfile, RecipeProfile, Sourceable
The recipe manager provides access to procedure sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
-
RecipeLookupSession: a session to retrieve recipes -
RecipeQuerySession: a session to query for recipes -
RecipeSearchSession: a session to search for recipes -
RecipeAdminSession: a session to create and delete recipes -
RecipeNotificationSession: a session to receive notifications pertaining to recipe changes -
RecipeCookbookSession: a session to looking mappings of recipes to cookbooks -
RecipeCookbookAssignmentSession: a session to manage recipe to cookbook mappings -
RecipeCookbookAssignmentSession: a session to manage dynamic cookbooks of recipes
-
DirectionLookupSession: a session to retrieve directions -
DirectionQuerySession: a session to query for directions -
DirectionSearchSession: a session to search for directions -
DirectionAdminSession: a session to create and delete directions -
DirectionNotificationSession: a session to receive notifications pertaining to direction changes -
DirectionCookbookSession: a session to look up direction cookbook mappings -
DirectionCookbookAssignmentSession: a session to manage direction to cookbook mappings -
DirectionSmartCookbookSession: a session to manage dynamic cookbooks of directions
-
ProcedureLookupSession: a session to lookup procedures -
ProcedureQuerySession: a session to query procedures -
ProcedureSearchSession: a session to search procedures -
ProcedureAdminSession: a session to manage procedures -
ProcedureNotificationSession: a session to subscribe to notifications of procedure changes -
ProcedureCookbookSession: a session to lookup procedure cookbook mappings -
ProcedureCookbookAssignmentSession: a session to manage procedure cookbook mappings -
ProcedureSmartCookbookSession: a session to manage smart cookbooks of procedures
-
CookbookLookupSession: a session to retrieve cookbooks -
CookbookQuerySession: a session to query cookbooks -
CookbookSearchSession: a session to search for coo books -
CookbookAdminSession: a session to create, update and delete cookbooks -
CookbookNotificationSession: a session to receive notifications for changes in cookbooks -
CookbookHierarchyTraversalSession: a session to traverse hierarchies of cookbooks -
CookbookHierarchyDesignSession: a session to manage hierarchies of cookbooks
-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the cookbook administrative service.Gets theOsidSessionassociated with the cookbook hierarchy design service.Gets theOsidSessionassociated with the cookbook hierarchy service.Gets theOsidSessionassociated with the cookbook lookup service.getCookbookNotificationSession(CookbookReceiver cookbookReceiver) Gets theOsidSessionassociated with the cookbook notification service.Gets theOsidSessionassociated with the cookbook query service.Gets theOsidSessionassociated with the cookbook search service.Gets theOsidSessionassociated with the direction administration service.getDirectionAdminSessionForCookbook(Id cookbookId) Gets theOsidSessionassociated with the direction administration service for the given cookbook.Gets theOsidSessionassociated with assigning directions to cookbooks.Gets theOsidSessionto lookup direction/cookbook ingredients.Gets theOsidSessionassociated with the direction lookup service.getDirectionLookupSessionForCookbook(Id cookbookId) Gets theOsidSessionassociated with the direction lookup service for the given cookbook.getDirectionNotificationSession(DirectionReceiver directionReceiver) Gets theOsidSessionassociated with the direction notification service.getDirectionNotificationSessionForCookbook(DirectionReceiver directionReceiver, Id cookbookId) Gets theOsidSessionassociated with the direction notification service for the given cookbook.Gets theOsidSessionassociated with the direction query service.getDirectionQuerySessionForCookbook(Id cookbookId) Gets theOsidSessionassociated with the direction query service for the given cookbook.Gets theOsidSessionassociated with the direction search service.getDirectionSearchSessionForCookbook(Id cookbookId) Gets theOsidSessionassociated with the direction search service for the given cookbook.getDirectionSmartCookbookSession(Id cookbookId) Gets theOsidSessionto manage locatin smart cookbooks.Gets theOsidSessionassociated with the procedure administration service.getProcedureAdminSessionForCookbook(Id cookbookId) Gets theOsidSessionassociated with the procedure administration service for the given cookbook.Gets the session for assigning procedure to cookbook mappings.Gets the session for retrieving procedure to cookbook mappings.Gets theOsidSessionassociated with the procedure lookup service.getProcedureLookupSessionForCookbook(Id cookbookId) Gets theOsidSessionassociated with the procedure lookup service for the given cookbook.getProcedureNotificationSession(ProcedureReceiver procedureReceiver) Gets theOsidSessionassociated with the procedure notification service.getProcedureNotificationSessionForCookbook(ProcedureReceiver procedureReceiver, Id cookbookId) Gets theOsidSessionassociated with the procedure notification service for the given cookbook.Gets theOsidSessionassociated with the procedure query service.getProcedureQuerySessionForCookbook(Id cookbookId) Gets theOsidSessionassociated with the procedure query service for the given cookbook.Gets theOsidSessionassociated with the procedure search service.getProcedureSearchSessionForCookbook(Id cookbookId) Gets theOsidSessionassociated with the procedure search service for the given cookbook.getProcedureSmartCookbookSession(Id cookbookId) Gets the session associated with the procedure smart cookbook for the given cookbook.Gets theOsidSessionassociated with the recipe administration service.getRecipeAdminSessionForCookbook(Id cookbookId) Gets theOsidSessionassociated with the recipe administration service for the given cookbook.Gets theRecipeBatchManager.Gets theOsidSessionassociated with assigning recipes to cookbooks.Gets theOsidSessionto lookup recipe/cookbook mappings.Gets theOsidSessionassociated with the recipe lookup service.getRecipeLookupSessionForCookbook(Id cookbookId) Gets theOsidSessionassociated with the recipe lookup service for the given cookbook.getRecipeNotificationSession(RecipeReceiver recipeReceiver) Gets theOsidSessionassociated with the recipe notification service.getRecipeNotificationSessionForCookbook(RecipeReceiver recipeReceiver, Id cookbookId) Gets theOsidSessionassociated with the recipe notification service for the given cookbook.Gets theOsidSessionassociated with the recipe query service.getRecipeQuerySessionForCookbook(Id cookbookId) Gets theOsidSessionassociated with the recipe query service for the given cookbook.Gets theOsidSessionassociated with the recipe search service.getRecipeSearchSessionForCookbook(Id cookbookId) Gets theOsidSessionassociated with the recipe search service for the given cookbook.getRecipeSmartCookbookSession(Id cookbookId) Gets theOsidSessionto manage recipe smart cookbooks.Methods inherited from interface OsidManager
closeMethods inherited from interface OsidManager
changeBranch, initialize, rollbackServiceModifier and TypeMethodDescriptionvoidchangeBranch(Id branchId) Changes the service branch.voidinitialize(OsidRuntimeManager runtime) Initializes this manager.rollbackService(Date rollbackTime) Rolls back this service to a point in time.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 RecipeProfile
getCookbookRecordTypes, getCookbookSearchRecordTypes, getDirectionRecordTypes, getDirectionSearchRecordTypes, getIngredientRecordTypes, getProcedureRecordTypes, getProcedureSearchRecordTypes, getRecipeRecordTypes, getRecipeSearchRecordTypes, supportsCookbookAdmin, supportsCookbookHierarchy, supportsCookbookHierarchyDesign, supportsCookbookLookup, supportsCookbookNotification, supportsCookbookQuery, supportsCookbookRecordType, supportsCookbookSearch, supportsCookbookSearchRecordType, supportsDirectionAdmin, supportsDirectionCookbook, supportsDirectionCookbookAssignment, supportsDirectionLookup, supportsDirectionNotification, supportsDirectionQuery, supportsDirectionRecordType, supportsDirectionSearch, supportsDirectionSearchRecordType, supportsDirectionSmartCookbook, supportsIngredientRecordType, supportsProcedureAdmin, supportsProcedureCookbook, supportsProcedureCookbookAssignment, supportsProcedureLookup, supportsProcedureNotification, supportsProcedureQuery, supportsProcedureRecordType, supportsProcedureSearch, supportsProcedureSearchRecordType, supportsProcedureSmartCookbook, supportsRecipeAdmin, supportsRecipeBatch, supportsRecipeCookbook, supportsRecipeCookbookAssignment, supportsRecipeLookup, supportsRecipeNotification, supportsRecipeQuery, supportsRecipeRecordType, supportsRecipeSearch, supportsRecipeSearchRecordType, supportsRecipeSmartCookbook, supportsVisibleFederationModifier 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 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
-
getRecipeLookupSession
Gets theOsidSessionassociated with the recipe lookup service.- Returns:
- a
RecipeLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRecipeLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRecipeLookup()} is {@code true} .
-
getRecipeLookupSessionForCookbook
RecipeLookupSession getRecipeLookupSessionForCookbook(Id cookbookId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the recipe lookup service for the given cookbook.- Parameters:
cookbookId- theIdof theCookbook- Returns:
- q
RecipeLookupSession - Throws:
NotFoundException- noCookbookfound by the givenIdNullArgumentException-cookbookIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRecipeLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRecipeLookup()} and {@code supportsVisibleFederation()} are {@code true}
-
getRecipeQuerySession
Gets theOsidSessionassociated with the recipe query service.- Returns:
- a
RecipeQuerySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRecipeQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRecipeQuery()} is {@code true} .
-
getRecipeQuerySessionForCookbook
RecipeQuerySession getRecipeQuerySessionForCookbook(Id cookbookId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the recipe query service for the given cookbook.- Parameters:
cookbookId- theIdof theCookbook- Returns:
- a
RecipeQuerySession - Throws:
NotFoundException- no cookbook found by the givenIdNullArgumentException-cookbookIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRecipeQuery()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRecipeQuery()} and {@code supportsVisibleFederation()} are {@code true}
-
getRecipeSearchSession
Gets theOsidSessionassociated with the recipe search service.- Returns:
- a
RecipeSearchSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRecipeSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRecipeSearch()} is {@code true} .
-
getRecipeSearchSessionForCookbook
RecipeSearchSession getRecipeSearchSessionForCookbook(Id cookbookId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the recipe search service for the given cookbook.- Parameters:
cookbookId- theIdof theCookbook- Returns:
- a
RecipeSearchSession - Throws:
NotFoundException- no cookbook found by the givenIdNullArgumentException-cookbookIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRecipeSearch()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRecipeSearch()} and {@code supportsVisibleFederation()} are {@code true}
-
getRecipeAdminSession
Gets theOsidSessionassociated with the recipe administration service.- Returns:
- a
RecipeAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRecipeAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRecipeAdmin()} is {@code true} .
-
getRecipeAdminSessionForCookbook
RecipeAdminSession getRecipeAdminSessionForCookbook(Id cookbookId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the recipe administration service for the given cookbook.- Parameters:
cookbookId- theIdof theCookbook- Returns:
- a
RecipeAdminSession - Throws:
NotFoundException- no cookbook found by the givenIdNullArgumentException-cookbookIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRecipeAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRecipeAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getRecipeNotificationSession
RecipeNotificationSession getRecipeNotificationSession(RecipeReceiver recipeReceiver) throws OperationFailedException Gets theOsidSessionassociated with the recipe notification service.- Parameters:
recipeReceiver- the notification callback- Returns:
- a
RecipeNotificationSession - Throws:
NullArgumentException-recipeReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRecipeNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRecipeNotification()} is {@code true} .
-
getRecipeNotificationSessionForCookbook
RecipeNotificationSession getRecipeNotificationSessionForCookbook(RecipeReceiver recipeReceiver, Id cookbookId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the recipe notification service for the given cookbook.- Parameters:
recipeReceiver- the notification callbackcookbookId- theIdof theCookbook- Returns:
- a
RecipeNotificationSession - Throws:
NotFoundException- no cookbook found by the givenIdNullArgumentException-recipeReceiverorcookbookIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRecipeNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRecipeNotification()} and {@code supportsVisibleFederation()} are {@code true}
-
getRecipeCookbookSession
Gets theOsidSessionto lookup recipe/cookbook mappings.- Returns:
- a
RecipeCookbookSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRecipeCookbook()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRecipeCookbook()} is {@code true} .
-
getRecipeCookbookAssignmentSession
RecipeCookbookAssignmentSession getRecipeCookbookAssignmentSession() throws OperationFailedExceptionGets theOsidSessionassociated with assigning recipes to cookbooks.- Returns:
- a
RecipeCookbookAssignmentSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRecipeCookbookAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRecipeCookbookAssignment()} is {@code true} .
-
getRecipeSmartCookbookSession
RecipeSmartCookbookSession getRecipeSmartCookbookSession(Id cookbookId) throws NotFoundException, OperationFailedException Gets theOsidSessionto manage recipe smart cookbooks.- Parameters:
cookbookId- theIdof theCookbook- Returns:
- a
RecipeSmartCookbookSession - Throws:
NotFoundException- noCookbookfound by the givenIdNullArgumentException-cookbookIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRecipeSmartCookbook()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRecipeSmartCookbook()} is {@code true} .
-
getDirectionLookupSession
Gets theOsidSessionassociated with the direction lookup service.- Returns:
- a
DirectionLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsDirectionLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDirectionLookup()} is {@code true} .
-
getDirectionLookupSessionForCookbook
DirectionLookupSession getDirectionLookupSessionForCookbook(Id cookbookId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the direction lookup service for the given cookbook.- Parameters:
cookbookId- no cookbook found by the givenId- Returns:
- a
DirectionLookupSession - Throws:
NotFoundException- noCookbookfound by the givenIdNullArgumentException-cookbookIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsDirectionLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDirectionLookup()} and {@code supportsVisibleFederation()} are {@code true}
-
getDirectionQuerySession
Gets theOsidSessionassociated with the direction query service.- Returns:
- a
DirectionQuerySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsDirectionQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDirectionQuery()} is {@code true} .
-
getDirectionQuerySessionForCookbook
DirectionQuerySession getDirectionQuerySessionForCookbook(Id cookbookId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the direction query service for the given cookbook.- Parameters:
cookbookId- theIdof theCookbook- Returns:
- a
DirectionQuerySession - Throws:
NotFoundException- no cookbook found by the givenIdNullArgumentException-cookbookIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsDirectionQuery()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDirectionQuery()} and {@code supportsVisibleFederation()} are {@code true}
-
getDirectionSearchSession
Gets theOsidSessionassociated with the direction search service.- Returns:
- a
DirectionSearchSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsDirectionSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDirectionSearch()} is {@code true} .
-
getDirectionSearchSessionForCookbook
DirectionSearchSession getDirectionSearchSessionForCookbook(Id cookbookId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the direction search service for the given cookbook.- Parameters:
cookbookId- theIdof theCookbook- Returns:
- a
DirectionSearchSession - Throws:
NotFoundException- no cookbook found by the givenIdNullArgumentException-cookbookIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsDirectionSearch()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDirectionSearch()} and {@code supportsVisibleFederation()} are {@code true}
-
getDirectionAdminSession
Gets theOsidSessionassociated with the direction administration service.- Returns:
- a
DirectionAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsDirectionAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDirectionAdmin()} is {@code true} .
-
getDirectionAdminSessionForCookbook
DirectionAdminSession getDirectionAdminSessionForCookbook(Id cookbookId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the direction administration service for the given cookbook.- Parameters:
cookbookId- theIdof theCookbook- Returns:
- a
DirectionAdminSession - Throws:
NotFoundException- no cookbook found by the givenIdNullArgumentException-cookbookIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsDirectionAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDirectionAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getDirectionNotificationSession
DirectionNotificationSession getDirectionNotificationSession(DirectionReceiver directionReceiver) throws OperationFailedException Gets theOsidSessionassociated with the direction notification service.- Parameters:
directionReceiver- the notification callback- Returns:
- a
DirectionNotificationSession - Throws:
NullArgumentException-directionReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsDirectionNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDirectionNotification()} is {@code true} .
-
getDirectionNotificationSessionForCookbook
DirectionNotificationSession getDirectionNotificationSessionForCookbook(DirectionReceiver directionReceiver, Id cookbookId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the direction notification service for the given cookbook.- Parameters:
directionReceiver- the notification callbackcookbookId- theIdof theCookbook- Returns:
- a
DirectionNotificationSession - Throws:
NotFoundException- no cookbook found by the givenIdNullArgumentException-directionReceiverorcookbookIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsDirectionNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDirectionNotification()} and {@code supportsVisibleFederation()} are {@code true}
-
getDirectionCookbookSession
Gets theOsidSessionto lookup direction/cookbook ingredients.- Returns:
- a
DirectionCookbookSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsDirectionCookbook()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDirectionCookbook()} is {@code true} .
-
getDirectionCookbookAssignmentSession
DirectionCookbookAssignmentSession getDirectionCookbookAssignmentSession() throws OperationFailedExceptionGets theOsidSessionassociated with assigning directions to cookbooks.- Returns:
- a
DirectionCookbookAssignmentSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsDirectionCookbookAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDirectionCookbookAssignment()} is {@code true} .
-
getDirectionSmartCookbookSession
DirectionSmartCookbookSession getDirectionSmartCookbookSession(Id cookbookId) throws NotFoundException, OperationFailedException Gets theOsidSessionto manage locatin smart cookbooks.- Parameters:
cookbookId- theIdof theCookbook- Returns:
- a
DirectionSmartCookbookSession - Throws:
NotFoundException- no cookbook found by the givenIdNullArgumentException-cookbookIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsDirectionSmartCookbook()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDirectionSmartCookbook()} is {@code true} .
-
getProcedureLookupSession
Gets theOsidSessionassociated with the procedure lookup service.- Returns:
- a
ProcedureLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsProcedureLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProcedureLookup()} is {@code true} .
-
getProcedureLookupSessionForCookbook
ProcedureLookupSession getProcedureLookupSessionForCookbook(Id cookbookId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the procedure lookup service for the given cookbook.- Parameters:
cookbookId- theIdof theCookbook- Returns:
- a
ProcedureLookupSession - Throws:
NotFoundException- noCookbookfound by the givenIdNullArgumentException-cookbookIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsProcedureLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProcedureLookup()} and {@code supportsVisibleFederation()} are {@code true}
-
getProcedureQuerySession
Gets theOsidSessionassociated with the procedure query service.- Returns:
- a
ProcedureQuerySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsProcedureQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProcedureQuery()} is {@code true} .
-
getProcedureQuerySessionForCookbook
ProcedureQuerySession getProcedureQuerySessionForCookbook(Id cookbookId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the procedure query service for the given cookbook.- Parameters:
cookbookId- theIdof theCookbook- Returns:
- a
ProcedureQuerySession - Throws:
NotFoundException- noCookbookfound by the givenIdNullArgumentException-cookbookIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsProcedureQuery()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProcedureQuery()} and {@code supportsVisibleFederation()} are {@code true}
-
getProcedureSearchSession
Gets theOsidSessionassociated with the procedure search service.- Returns:
- a
ProcedureSearchSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsProcedureSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProcedureSearch()} is {@code true} .
-
getProcedureSearchSessionForCookbook
ProcedureSearchSession getProcedureSearchSessionForCookbook(Id cookbookId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the procedure search service for the given cookbook.- Parameters:
cookbookId- theIdof theCookbook- Returns:
- a
ProcedureSearchSession - Throws:
NotFoundException- noCookbookfound by the givenIdNullArgumentException-cookbookIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsProcedureSearch()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProcedureSearch()} and {@code supportsVisibleFederation()} are {@code true}
-
getProcedureAdminSession
Gets theOsidSessionassociated with the procedure administration service.- Returns:
- a
ProcedureAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsProcedureAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProcedureAdmin()} is {@code true} .
-
getProcedureAdminSessionForCookbook
ProcedureAdminSession getProcedureAdminSessionForCookbook(Id cookbookId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the procedure administration service for the given cookbook.- Parameters:
cookbookId- theIdof theCookbook- Returns:
- a
ProcedureAdminSession - Throws:
NotFoundException- noCookbookfound by the givenIdNullArgumentException-cookbookIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsProcedureAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProcedureAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getProcedureNotificationSession
ProcedureNotificationSession getProcedureNotificationSession(ProcedureReceiver procedureReceiver) throws OperationFailedException Gets theOsidSessionassociated with the procedure notification service.- Parameters:
procedureReceiver- the receiver- Returns:
- a
ProcedureNotificationSession - Throws:
NullArgumentException-procedureReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsProcedureNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProcedureNotification()} is {@code true} .
-
getProcedureNotificationSessionForCookbook
ProcedureNotificationSession getProcedureNotificationSessionForCookbook(ProcedureReceiver procedureReceiver, Id cookbookId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the procedure notification service for the given cookbook.- Parameters:
procedureReceiver- the receivercookbookId- theIdof theCookbook- Returns:
- a
ProcedureNotificationSession - Throws:
NotFoundException- noCookbookfound by the givenIdNullArgumentException-procedureReceiverorcookbookIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsProcedureNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProcedureNotification()} and {@code supportsVisibleFederation()} are {@code true}
-
getProcedureCookbookSession
Gets the session for retrieving procedure to cookbook mappings.- Returns:
- a
ProcedureCookbookSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsProcedureCookbook()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProcedureCookbook()} is {@code true} .
-
getProcedureCookbookAssignmentSession
ProcedureCookbookAssignmentSession getProcedureCookbookAssignmentSession() throws OperationFailedExceptionGets the session for assigning procedure to cookbook mappings.- Returns:
- a
ProcedureCookbookAssignmentSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsProcedureCookbookAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProcedureCookbookAssignment()} is {@code true} .
-
getProcedureSmartCookbookSession
ProcedureSmartCookbookSession getProcedureSmartCookbookSession(Id cookbookId) throws NotFoundException, OperationFailedException Gets the session associated with the procedure smart cookbook for the given cookbook.- Parameters:
cookbookId- theIdof the cookbook- Returns:
- a
ProcedureSmartCookbookSession - Throws:
NotFoundException-procedureBookIdnot foundNullArgumentException-procedureBookIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsProcedureSmartCookbook()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProcedureSmartCookbook()} is {@code true} .
-
getCookbookLookupSession
Gets theOsidSessionassociated with the cookbook lookup service.- Returns:
- a
CookbookLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsCookbookLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCookbookLookup()} is {@code true} .
-
getCookbookQuerySession
Gets theOsidSessionassociated with the cookbook query service.- Returns:
- a
CookbookQuerySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsCookbookQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCookbookQuery()} is {@code true} .
-
getCookbookSearchSession
Gets theOsidSessionassociated with the cookbook search service.- Returns:
- a
CookbookSearchSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsCookbookSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCookbookSearch()} is {@code true} .
-
getCookbookAdminSession
Gets theOsidSessionassociated with the cookbook administrative service.- Returns:
- a
CookbookAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsCookbookAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCookbookAdmin()} is {@code true} .
-
getCookbookNotificationSession
CookbookNotificationSession getCookbookNotificationSession(CookbookReceiver cookbookReceiver) throws OperationFailedException Gets theOsidSessionassociated with the cookbook notification service.- Parameters:
cookbookReceiver- the receiver- Returns:
- a
CookbookNotificationSession - Throws:
NullArgumentException-cookbookReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCookbookNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCookbookNotification()} is {@code true} .
-
getCookbookHierarchySession
Gets theOsidSessionassociated with the cookbook hierarchy service.- Returns:
- a
CookbookHierarchySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsCookbookHierarchy()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCookbookHierarchy()} is {@code true} .
-
getCookbookHierarchyDesignSession
Gets theOsidSessionassociated with the cookbook hierarchy design service.- Returns:
- a
CookbookHierarchyDesignSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsCookbookHierarchyDesign()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCookbookHierarchyDesign()} is {@code true} .
-
getRecipeBatchManager
Gets theRecipeBatchManager.- Returns:
- a
RecipeBatchManager - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRecipeBatch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRecipeBatch()} is {@code true} .
-