Interface RecipeBatchProxyManager
- All Superinterfaces:
AutoCloseable, Closeable, OsidProfile, OsidProxyManager, OsidProxyManager, RecipeBatchProfile, Sourceable
The recipe batch proxy manager provides access to recipe batch
sessions and provides interoperability tests for various aspects of this
service. Methods in this manager support the passing of a Proxy
object. The sessions included in this manager are:
-
RecipeBatchAdminSession: a session to manage recipes in bulk -
DirectionBatchAdminSession: a session to manage directiond in bulk -
ProcedureBatchAdminSession: a session to manage procedures in bulk -
CookbookBatchAdminSession: a session to create, modify and deleteCookbookin bulk
RecipeBatchProxyManager may be accessed by multiple processing
threads.-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the bulk cookbook administration service.Gets theOsidSessionassociated with the bulk direction administration service.getDirectionBatchAdminSessionForCookbook(Id cookbookId, Proxy proxy) Gets theOsidSessionassociated with the bulk direction administration service for the given cookbook.Gets theOsidSessionassociated with the bulk procedure administration service.getProcedureBatchAdminSessionForCookbook(Id cookbookId, Proxy proxy) Gets theOsidSessionassociated with the bulk procedure administration service for the given cookbook.getRecipeBatchAdminSession(Proxy proxy) Gets theOsidSessionassociated with the bulk recipe administration service.getRecipeBatchAdminSessionForCookbook(Id cookbookId, Proxy proxy) Gets theOsidSessionassociated with the bulk recipe administration service for the given cookbook.Methods inherited from interface OsidProfile
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersionMethods inherited from interface OsidProxyManager
closeMethods inherited from interface OsidProxyManager
changeBranch, getProxy, getProxyCondition, initialize, rollbackServiceMethods inherited from interface RecipeBatchProfile
supportsCookbookBatchAdmin, supportsDirectionBatchAdmin, supportsProcedureBatchAdmin, supportsRecipeBatchAdmin, supportsVisibleFederationMethods inherited from interface Sourceable
getBranding, getBrandingIds, getLicense, getProvider, getProviderId
-
Method Details
-
getRecipeBatchAdminSession
Gets theOsidSessionassociated with the bulk recipe administration service.- Parameters:
proxy- a proxy- Returns:
- a
RecipeBatchAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRecipeBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRecipeBatchAdmin()} is {@code true}.
-
getRecipeBatchAdminSessionForCookbook
RecipeBatchAdminSession getRecipeBatchAdminSessionForCookbook(Id cookbookId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk recipe administration service for the given cookbook.- Parameters:
cookbookId- theIdof theCookbookproxy- a proxy- Returns:
- a
RecipeBatchAdminSession - Throws:
NotFoundException- noCookbookfound by the givenIdNullArgumentException-cookbookIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRecipeBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRecipeBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getDirectionBatchAdminSession
DirectionBatchAdminSession getDirectionBatchAdminSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the bulk direction administration service.- Parameters:
proxy- a proxy- Returns:
- a
DirectionBatchAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsDirectionBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDirectionBatchAdmin()} is {@code true}.
-
getDirectionBatchAdminSessionForCookbook
DirectionBatchAdminSession getDirectionBatchAdminSessionForCookbook(Id cookbookId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk direction administration service for the given cookbook.- Parameters:
cookbookId- theIdof theCookbookproxy- a proxy- Returns:
- a
DirectionBatchAdminSession - Throws:
NotFoundException- noCookbookfound by the givenIdNullArgumentException-cookbookIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsDirectionBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDirectionBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getProcedureBatchAdminSession
ProcedureBatchAdminSession getProcedureBatchAdminSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the bulk procedure administration service.- Parameters:
proxy- a proxy- Returns:
- a
ProcedureBatchAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsProcedureBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProcedureBatchAdmin()} is {@code true}.
-
getProcedureBatchAdminSessionForCookbook
ProcedureBatchAdminSession getProcedureBatchAdminSessionForCookbook(Id cookbookId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk procedure administration service for the given cookbook.- Parameters:
cookbookId- theIdof theCookbookproxy- a proxy- Returns:
- a
ProcedureBatchAdminSession - Throws:
NotFoundException- noCookbookfound by the givenIdNullArgumentException-cookbookIdorproxyisnullOperationFailedException- 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.- Parameters:
proxy- a proxy- Returns:
- a
CookbookBatchAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCookbookBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCookbookBatchAdmin()} is {@code true}.
-