Interface HoldBatchManager
- All Superinterfaces:
AutoCloseable, Closeable, HoldBatchProfile, OsidManager, OsidManager, OsidProfile, Sourceable
The hold batch manager provides access to hold batch sessions and provides interoperability tests for various aspects of this service. 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
-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the bulk block administration service.getBlockBatchAdminSessionForOubliette(Id oublietteId) Gets theOsidSessionassociated with the bulk block administration service for the given oubliette.Gets theOsidSessionassociated with the bulk hold administration service.getHoldBatchAdminSessionForOubliette(Id oublietteId) Gets theOsidSessionassociated with the bulk hold administration service for the given oubliette.Gets theOsidSessionassociated with the bulk issue administration service.getIssueBatchAdminSessionForOubliette(Id oublietteId) 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, supportsVisibleFederationModifier and TypeMethodDescriptionbooleanTests if bulk administration of blocks is available.booleanTests if bulk administration of holds is available.booleanTests if bulk administration of issues is available.booleanTests if bulk administration of oubliettes is available.booleanTests if federation is visible.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 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
-
getBlockBatchAdminSession
Gets theOsidSessionassociated with the bulk block administration service.- Returns:
- a
BlockBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsBlockBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsBlockBatchAdmin()} is {@code true} .
-
getBlockBatchAdminSessionForOubliette
BlockBatchAdminSession getBlockBatchAdminSessionForOubliette(Id oublietteId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk block administration service for the given oubliette.- Parameters:
oublietteId- theIdof theOubliette- Returns:
- a
BlockBatchAdminSession - Throws:
NotFoundException- noOubliettefound by the givenIdNullArgumentException-oublietteIdisnullOperationFailedException- 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.- Returns:
- an
IssueBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsIssueBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsIssueBatchAdmin()} is {@code true} .
-
getIssueBatchAdminSessionForOubliette
IssueBatchAdminSession getIssueBatchAdminSessionForOubliette(Id oublietteId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk issue administration service for the given oubliette.- Parameters:
oublietteId- theIdof theOubliette- Returns:
- an
IssueBatchAdminSession - Throws:
NotFoundException- noOubliettefound by the givenIdNullArgumentException-oublietteIdisnullOperationFailedException- 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.- Returns:
- a
HoldBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsHoldBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsHoldBatchAdmin()} is {@code true} .
-
getHoldBatchAdminSessionForOubliette
HoldBatchAdminSession getHoldBatchAdminSessionForOubliette(Id oublietteId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk hold administration service for the given oubliette.- Parameters:
oublietteId- theIdof theOubliette- Returns:
- a
HoldBatchAdminSession - Throws:
NotFoundException- noOubliettefound by the givenIdNullArgumentException-oublietteIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsHoldBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsHoldBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getOublietteBatchAdminSession
Gets theOsidSessionassociated with the bulk oubliette administration service.- Returns:
- an
OublietteBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsOublietteBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsOublietteBatchAdmin()} is {@code true} .
-