public interface InventoryBatchManager extends OsidManager, InventoryBatchProfile
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 Modifier and Type | Method and Description |
---|---|
InventoryBatchAdminSession |
getInventoryBatchAdminSession()
Gets the
OsidSession associated with the bulk inventory
administration service. |
ItemBatchAdminSession |
getItemBatchAdminSession()
Gets the
OsidSession associated with the bulk item
administration service. |
ItemBatchAdminSession |
getItemBatchAdminSessionForInventory(Id inventoryId)
Gets the
OsidSession associated with the bulk item
administration service for the given inventory. |
ModelBatchAdminSession |
getModelBatchAdminSession()
Gets the
OsidSession associated with the bulk model
administration service. |
ModelBatchAdminSession |
getModelBatchAdminSessionForInventory(Id inventoryId)
Gets the
OsidSession associated with the bulk model
administration service for the given inventory. |
StockBatchAdminSession |
getStockBatchAdminSession()
Gets the
OsidSession associated with the bulk stock
administration service. |
StockBatchAdminSession |
getStockBatchAdminSessionForInventory(Id inventoryId)
Gets the
OsidSession associated with the bulk stock
administration service for the given inventory. |
changeBranch, initialize, rollbackService
close
supportsInventoryBatchAdmin, supportsItemBatchAdmin, supportsModelBatchAdmin, supportsStockBatchAdmin, supportsVisibleFederation
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordType
getBranding, getBrandingIds, getLicense, getProvider, getProviderId
ItemBatchAdminSession getItemBatchAdminSession() throws OperationFailedException
OsidSession
associated with the bulk item
administration service. ItemBatchAdminSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsItemBatchAdmin()
is false
optional
- This method must be implemented if
supportsItemBatchAdmin()
is true.
ItemBatchAdminSession getItemBatchAdminSessionForInventory(Id inventoryId) throws NotFoundException, OperationFailedException
OsidSession
associated with the bulk item
administration service for the given inventory.inventoryId
- the Id
of the Inventory
ItemBatchAdminSession
NotFoundException
- no Inventory
found
by the given Id
NullArgumentException
- inventoryId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsItemBatchAdmin()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsItemBatchAdmin()
and
supportsVisibleFederation()
are true
StockBatchAdminSession getStockBatchAdminSession() throws OperationFailedException
OsidSession
associated with the bulk stock
administration service. StockBatchAdminSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsStockBatchAdmin()
is false
optional
- This method must be implemented if
supportsStockBatchAdmin()
is true.
StockBatchAdminSession getStockBatchAdminSessionForInventory(Id inventoryId) throws NotFoundException, OperationFailedException
OsidSession
associated with the bulk stock
administration service for the given inventory.inventoryId
- the Id
of the Inventory
StockBatchAdminSession
NotFoundException
- no Inventory
found
by the given Id
NullArgumentException
- inventoryId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsStockBatchAdmin()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsStockBatchAdmin()
and
supportsVisibleFederation()
are true
ModelBatchAdminSession getModelBatchAdminSession() throws OperationFailedException
OsidSession
associated with the bulk model
administration service. ModelBatchAdminSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsModelBatchAdmin()
is false
optional
- This method must be implemented if
supportsModelBatchAdmin()
is true.
ModelBatchAdminSession getModelBatchAdminSessionForInventory(Id inventoryId) throws NotFoundException, OperationFailedException
OsidSession
associated with the bulk model
administration service for the given inventory.inventoryId
- the Id
of the Inventory
ModelBatchAdminSession
NotFoundException
- no Inventory
found
by the given Id
NullArgumentException
- inventoryId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsModelBatchAdmin()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsModelBatchAdmin()
and
supportsVisibleFederation()
are true
InventoryBatchAdminSession getInventoryBatchAdminSession() throws OperationFailedException
OsidSession
associated with the bulk inventory
administration service. InventoryBatchAdminSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsInventoryBatchAdmin()
is false
optional
- This method must be implemented if
supportsInventoryBatchAdmin()
is true.