Interface StockBatchForm
- All Superinterfaces:
Extensible, Identifiable, OsidBrowsableForm, OsidExtensibleForm, OsidFederateableForm, OsidForm, OsidIdentifiableForm, OsidObjectForm, StockForm, Suppliable
This is the form for creating and updating stocks in bulk. Like all
OsidForms, various data elements may be set here for use in the
create and update methods in the StockBatchAdminSession. For each
data element that may be set, metadata may be examined to provide display
hints or data constraints.
Like all OsidForms, StockBatchForm is stateful and
must not be accessed by multiple processing threads.
-
Method Summary
Modifier and TypeMethodDescriptionGets theIdof the stock to be updated if this is an update transaction.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeMethods inherited from interface Identifiable
getId, isCurrentMethods inherited from interface OsidExtensibleForm
getRequiredRecordTypesMethods inherited from interface OsidForm
getDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocaleMethods inherited from interface OsidObjectForm
clearDescription, clearDisplayName, clearGenusType, getDescriptionMetadata, getDisplayNameMetadata, getGenusTypeMetadata, setDescription, setDisplayName, setGenusTypeMethods inherited from interface StockForm
clearLocationDescription, clearLocations, clearModels, clearSKU, getLocationDescriptionMetadata, getLocationsMetadata, getModelsMetadata, getSKUMetadata, getStockFormRecord, setLocationDescription, setLocations, setModels, setSKU
-
Method Details
-
getStockId
Id getStockId()Gets theIdof the stock to be updated if this is an update transaction.- Returns:
- the stock
Id - Throws:
IllegalStateException-isForUpdate()isfalse- Compliance:
mandatory- This method must be implemented.
-