Interface InventoryBatchManager
- All Superinterfaces:
AutoCloseable, Closeable, InventoryBatchProfile, OsidManager, OsidManager, OsidProfile, Sourceable
The inventory batch manager provides access to inventory batch sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
-
ItemBatchAdminSession: a session to create, modify and delete items in bulk -
StockBatchSession: a session to create, modify and delete stocks in bulk -
ModelBatchAdminSession: a session to create, modify and delete models in bulk -
InventoryBatchAdminSession: a session to create, modify and delete inventories in bulk
-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the bulk inventory administration service.Gets theOsidSessionassociated with the bulk item administration service.getItemBatchAdminSessionForInventory(Id inventoryId) Gets theOsidSessionassociated with the bulk item administration service for the given inventory.Gets theOsidSessionassociated with the bulk model administration service.getModelBatchAdminSessionForInventory(Id inventoryId) Gets theOsidSessionassociated with the bulk model administration service for the given inventory.Gets theOsidSessionassociated with the bulk stock administration service.getStockBatchAdminSessionForInventory(Id inventoryId) Gets theOsidSessionassociated with the bulk stock administration service for the given inventory.Methods inherited from interface InventoryBatchProfile
supportsInventoryBatchAdmin, supportsItemBatchAdmin, supportsModelBatchAdmin, supportsStockBatchAdmin, supportsVisibleFederationModifier and TypeMethodDescriptionbooleanTests if bulk administration of inventories is available.booleanTests if bulk administration of items is available.booleanTests if bulk administration of models is available.booleanTests if bulk administration of stocks 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
-
getItemBatchAdminSession
Gets theOsidSessionassociated with the bulk item administration service.- Returns:
- an
ItemBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsItemBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsItemBatchAdmin()} is {@code true} .
-
getItemBatchAdminSessionForInventory
ItemBatchAdminSession getItemBatchAdminSessionForInventory(Id inventoryId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk item administration service for the given inventory.- Parameters:
inventoryId- theIdof theInventory- Returns:
- an
ItemBatchAdminSession - Throws:
NotFoundException- noInventoryfound by the givenIdNullArgumentException-inventoryIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsItemBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsItemBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getStockBatchAdminSession
Gets theOsidSessionassociated with the bulk stock administration service.- Returns:
- a
StockBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsStockBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsStockBatchAdmin()} is {@code true} .
-
getStockBatchAdminSessionForInventory
StockBatchAdminSession getStockBatchAdminSessionForInventory(Id inventoryId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk stock administration service for the given inventory.- Parameters:
inventoryId- theIdof theInventory- Returns:
- a
StockBatchAdminSession - Throws:
NotFoundException- noInventoryfound by the givenIdNullArgumentException-inventoryIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsStockBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsStockBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getModelBatchAdminSession
Gets theOsidSessionassociated with the bulk model administration service.- Returns:
- an
ModelBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsModelBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsModelBatchAdmin()} is {@code true} .
-
getModelBatchAdminSessionForInventory
ModelBatchAdminSession getModelBatchAdminSessionForInventory(Id inventoryId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk model administration service for the given inventory.- Parameters:
inventoryId- theIdof theInventory- Returns:
- an
ModelBatchAdminSession - Throws:
NotFoundException- noInventoryfound by the givenIdNullArgumentException-inventoryIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsModelBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsModelBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getInventoryBatchAdminSession
Gets theOsidSessionassociated with the bulk inventory administration service.- Returns:
- an
InventoryBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsInventoryBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsInventoryBatchAdmin()} is {@code true} .
-