Interface BidBatchForm
- All Superinterfaces:
BidForm, Extensible, Identifiable, OsidBrowsableForm, OsidExtensibleForm, OsidForm, OsidIdentifiableForm, OsidObjectForm, OsidRelationshipForm, OsidTemporalForm, Suppliable
This is the form for creating and updating bids in bulk. Like all
OsidForm objects, various data elements may be set here for use in
the create and update methods in the BidBatchAdminSession. For
each data element that may be set, metadata may be examined to provide
display hints or data constraints.
Like all OsidForms, BidBatchForm is stateful and must
not be accessed by multiple processing threads.
-
Method Summary
Modifier and TypeMethodDescriptionGets theAuctionIdof the bid if this is a create transaction.getBidId()Gets theIdof the bid to be updated if this is an update transaction.Gets theResourceIdof the bid if this is a create transaction.Methods inherited from interface BidForm
clearMaximumBid, clearQuantity, getBidFormRecord, getMaximumBidMetadata, getQuantityMetadata, setMaximumBid, setQuantityMethods 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 OsidRelationshipForm
clearEndReason, getEndReasonMetadata, setEndReasonMethods inherited from interface OsidTemporalForm
clearEndDate, clearStartDate, getEndDateMetadata, getStartDateMetadata, setEndDate, setStartDate
-
Method Details
-
getAuctionId
Id getAuctionId()Gets theAuctionIdof the bid if this is a create transaction.- Returns:
- the auction
Id - Throws:
IllegalStateException-isForUpdate()istrue- Compliance:
mandatory- This method must be implemented.
-
getResourceId
Id getResourceId()Gets theResourceIdof the bid if this is a create transaction.- Returns:
- the resource
Id - Throws:
IllegalStateException-isForUpdate()istrue- Compliance:
mandatory- This method must be implemented.
-
getBidId
Id getBidId()Gets theIdof the bid to be updated if this is an update transaction.- Returns:
- the bid
Id - Throws:
IllegalStateException-isForUpdate()isfalse- Compliance:
mandatory- This method must be implemented.
-