Interface InventoryBatchProxyManager
- All Superinterfaces:
AutoCloseable, Closeable, InventoryBatchProfile, OsidProfile, OsidProxyManager, OsidProxyManager, Sourceable
The inventory batch proxy manager provides access to inventory 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:
-
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.getItemBatchAdminSession(Proxy proxy) Gets theOsidSessionassociated with the bulk item administration service.getItemBatchAdminSessionForInventory(Id inventoryId, Proxy proxy) Gets theOsidSessionassociated with the bulk item administration service for the given inventory.getModelBatchAdminSession(Proxy proxy) Gets theOsidSessionassociated with the bulk model administration service.getModelBatchAdminSessionForInventory(Id inventoryId, Proxy proxy) Gets theOsidSessionassociated with the bulk model administration service for the given inventory.getStockBatchAdminSession(Proxy proxy) Gets theOsidSessionassociated with the bulk stock administration service.getStockBatchAdminSessionForInventory(Id inventoryId, Proxy proxy) 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 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 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.- Parameters:
proxy- a proxy- Returns:
- an
ItemBatchAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsItemBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsItemBatchAdmin()} is {@code true} .
-
getItemBatchAdminSessionForInventory
ItemBatchAdminSession getItemBatchAdminSessionForInventory(Id inventoryId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk item administration service for the given inventory.- Parameters:
inventoryId- theIdof theInventoryproxy- a proxy- Returns:
- an
ItemBatchAdminSession - Throws:
NotFoundException- noInventoryfound by the givenIdNullArgumentException-inventoryIdorproxyisnullOperationFailedException- 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.- Parameters:
proxy- a proxy- Returns:
- a
StockBatchAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsStockBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsStockBatchAdmin()} is {@code true} .
-
getStockBatchAdminSessionForInventory
StockBatchAdminSession getStockBatchAdminSessionForInventory(Id inventoryId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk stock administration service for the given inventory.- Parameters:
inventoryId- theIdof theInventoryproxy- a proxy- Returns:
- a
StockBatchAdminSession - Throws:
NotFoundException- noInventoryfound by the givenIdNullArgumentException-inventoryIdorproxyisnullOperationFailedException- 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.- Parameters:
proxy- a proxy- Returns:
- an
ModelBatchAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsModelBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsModelBatchAdmin()} is {@code true} .
-
getModelBatchAdminSessionForInventory
ModelBatchAdminSession getModelBatchAdminSessionForInventory(Id inventoryId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk model administration service for the given inventory.- Parameters:
inventoryId- theIdof theInventoryproxy- a proxy- Returns:
- an
ModelBatchAdminSession - Throws:
NotFoundException- noInventoryfound by the givenIdNullArgumentException-inventoryIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsModelBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsModelBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getInventoryBatchAdminSession
InventoryBatchAdminSession getInventoryBatchAdminSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the bulk inventory administration service.- Parameters:
proxy- a proxy- Returns:
- an
InventoryBatchAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsInventoryBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsInventoryBatchAdmin()} is {@code true} .
-