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
-
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, 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 OsidProxyManager
closeMethods inherited from interface OsidProxyManager
changeBranch, initialize, rollbackServiceModifier and TypeMethodDescriptionvoidchangeBranch(Id branchId, Proxy proxy) Changes the service branch.voidinitialize(OsidRuntimeManager runtime) Initializes this manager.rollbackService(Date rollbackTime, Proxy proxy) Rolls back this service to a point in time.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.- 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} .
-