Interface RecipeBatchManager
- All Superinterfaces:
AutoCloseable, Closeable, OsidManager, OsidManager, OsidProfile, RecipeBatchProfile, Sourceable
The recipe batch manager provides access to recipe batch sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
-
RecipeBatchAdminSession: a session to create, modify and deleteRecipesin bulk -
DirectionBatchAdminSession: a session to create, modify and delete Directions in bulk -
ProcedureBatchAdminSession: a session to create, modify and deleteProceduresin bulk -
CookbookBatchAdminSession: a session to create, modify and deleteCookbookin bulk
-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the bulk cookbook administration service.Gets theOsidSessionassociated with the bulk direction administration service.getDirectionBatchAdminSessionForCookbook(Id cookbookId) Gets theOsidSessionassociated with the bulk direction administration service for the given cookbook.Gets theOsidSessionassociated with the bulk procedure administration service.getProcedureBatchAdminSessionForCookbook(Id cookbookId) Gets theOsidSessionassociated with the bulk procedure administration service for the given cookbook.Gets theOsidSessionassociated with the bulk recipe administration service.getRecipeBatchAdminSessionForCookbook(Id cookbookId) Gets theOsidSessionassociated with the bulk recipe administration service for the given cookbook.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 RecipeBatchProfile
supportsCookbookBatchAdmin, supportsDirectionBatchAdmin, supportsProcedureBatchAdmin, supportsRecipeBatchAdmin, supportsVisibleFederationModifier and TypeMethodDescriptionbooleanTests if bulk administration of cookbook is available.booleanTests if bulk administration of directions is available.booleanTests if bulk administration of procedures is available.booleanTests if bulk administration of recipes is available.booleanTests if federation is visible.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
-
getRecipeBatchAdminSession
Gets theOsidSessionassociated with the bulk recipe administration service.- Returns:
- a
RecipeBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRecipeBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRecipeBatchAdmin()} is {@code true} .
-
getRecipeBatchAdminSessionForCookbook
RecipeBatchAdminSession getRecipeBatchAdminSessionForCookbook(Id cookbookId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk recipe administration service for the given cookbook.- Parameters:
cookbookId- theIdof theCookbook- Returns:
- a
RecipeBatchAdminSession - Throws:
NotFoundException- noCookbookfound by the givenIdNullArgumentException-cookbookIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRecipeBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRecipeBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getDirectionBatchAdminSession
Gets theOsidSessionassociated with the bulk direction administration service.- Returns:
- a
DirectionBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsDirectionBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDirectionBatchAdmin()} is {@code true} .
-
getDirectionBatchAdminSessionForCookbook
DirectionBatchAdminSession getDirectionBatchAdminSessionForCookbook(Id cookbookId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk direction administration service for the given cookbook.- Parameters:
cookbookId- theIdof theCookbook- Returns:
- a
DirectionBatchAdminSession - Throws:
NotFoundException- noCookbookfound by the givenIdNullArgumentException-cookbookIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsDirectionBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDirectionBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getProcedureBatchAdminSession
Gets theOsidSessionassociated with the bulk procedure administration service.- Returns:
- a
ProcedureBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsProcedureBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProcedureBatchAdmin()} is {@code true} .
-
getProcedureBatchAdminSessionForCookbook
ProcedureBatchAdminSession getProcedureBatchAdminSessionForCookbook(Id cookbookId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk procedure administration service for the given cookbook.- Parameters:
cookbookId- theIdof theCookbook- Returns:
- a
ProcedureBatchAdminSession - Throws:
NotFoundException- noCookbookfound by the givenIdNullArgumentException-cookbookIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsProcedureBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProcedureBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getCookbookBatchAdminSession
Gets theOsidSessionassociated with the bulk cookbook administration service.- Returns:
- a
CookbookBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsCookbookBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCookbookBatchAdmin()} is {@code true} .
-