Interface HoldBatchProxyManager
- All Superinterfaces:
AutoCloseable, Closeable, HoldBatchProfile, OsidProfile, OsidProxyManager, OsidProxyManager, Sourceable
The hold batch proxy manager provides access to hold 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:
-
BlockBatchAdminSession: a session to create, modify and delete blocks in bulk -
IssueBatchSession: a session to create, modify and delete issues in bulk -
HoldBatchAdminSession: a session to create, modify and delete holds in bulk -
OublietteBatchAdminSession: a session to create, modify and delete oubliettes in bulk
HoldBatchProxyManager may be accessed by multiple processing
threads.-
Method Summary
Modifier and TypeMethodDescriptiongetBlockBatchAdminSession(Proxy proxy) Gets theOsidSessionassociated with the bulk block administration service.getBlockBatchAdminSessionForOubliette(Id oublietteId, Proxy proxy) Gets theOsidSessionassociated with the bulk block administration service for the given oubliette.getHoldBatchAdminSession(Proxy proxy) Gets theOsidSessionassociated with the bulk hold administration service.getHoldBatchAdminSessionForOubliette(Id oublietteId, Proxy proxy) Gets theOsidSessionassociated with the bulk hold administration service for the given oubliette.getIssueBatchAdminSession(Proxy proxy) Gets theOsidSessionassociated with the bulk issue administration service.getIssueBatchAdminSessionForOubliette(Id oublietteId, Proxy proxy) Gets theOsidSessionassociated with the bulk issue administration service for the given oubliette.Gets theOsidSessionassociated with the bulk oubliette administration service.Methods inherited from interface HoldBatchProfile
supportsBlockBatchAdmin, supportsHoldBatchAdmin, supportsIssueBatchAdmin, supportsOublietteBatchAdmin, supportsVisibleFederationMethods 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 Sourceable
getBranding, getBrandingIds, getLicense, getProvider, getProviderId
-
Method Details
-
getBlockBatchAdminSession
Gets theOsidSessionassociated with the bulk block administration service.- Parameters:
proxy- a proxy- Returns:
- a
BlockBatchAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsBlockBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsBlockBatchAdmin()} is {@code true}.
-
getBlockBatchAdminSessionForOubliette
BlockBatchAdminSession getBlockBatchAdminSessionForOubliette(Id oublietteId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk block administration service for the given oubliette.- Parameters:
oublietteId- theIdof theOublietteproxy- a proxy- Returns:
- a
BlockBatchAdminSession - Throws:
NotFoundException- noOubliettefound by the givenIdNullArgumentException-oublietteIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsBlockBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsBlockBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getIssueBatchAdminSession
Gets theOsidSessionassociated with the bulk issue administration service.- Parameters:
proxy- a proxy- Returns:
- an
IssueBatchAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsIssueBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsIssueBatchAdmin()} is {@code true}.
-
getIssueBatchAdminSessionForOubliette
IssueBatchAdminSession getIssueBatchAdminSessionForOubliette(Id oublietteId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk issue administration service for the given oubliette.- Parameters:
oublietteId- theIdof theOublietteproxy- a proxy- Returns:
- an
IssueBatchAdminSession - Throws:
NotFoundException- noOubliettefound by the givenIdNullArgumentException-oublietteIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsIssueBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsIssueBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getHoldBatchAdminSession
Gets theOsidSessionassociated with the bulk hold administration service.- Parameters:
proxy- a proxy- Returns:
- a
HoldBatchAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsHoldBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsHoldBatchAdmin()} is {@code true}.
-
getHoldBatchAdminSessionForOubliette
HoldBatchAdminSession getHoldBatchAdminSessionForOubliette(Id oublietteId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk hold administration service for the given oubliette.- Parameters:
oublietteId- theIdof theOublietteproxy- a proxy- Returns:
- a
HoldBatchAdminSession - Throws:
NotFoundException- noOubliettefound by the givenIdNullArgumentException-oublietteIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsHoldBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsHoldBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getOublietteBatchAdminSession
OublietteBatchAdminSession getOublietteBatchAdminSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the bulk oubliette administration service.- Parameters:
proxy- a proxy- Returns:
- an
OublietteBatchAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsOublietteBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsOublietteBatchAdmin()} is {@code true}.
-