Interface ContactBatchForm
- All Superinterfaces:
ContactForm, Extensible, Identifiable, OsidBrowsableForm, OsidExtensibleForm, OsidForm, OsidIdentifiableForm, OsidObjectForm, OsidRelationshipForm, OsidTemporalForm, Suppliable
This is the form for creating and updating contacts in bulk. Like all
OsidForm objects, various data elements may be set here for use in
the create and update methods in the ContactBatchAdminSession. For
each data element that may be set, metadata may be examined to provide
display hints or data constraints.
Like all OsidForms, ContactBatchForm is stateful and
must not be accessed by multiple processing threads.
-
Method Summary
Modifier and TypeMethodDescriptionGets theAddressIdof the contact if this is a create transaction.Gets theIdof the contact to be updated if this is an update transaction.Gets the referenceIdof the contact if this is a create transaction.Methods inherited from interface ContactForm
clearAddressee, getAddresseeMetadata, getContactFormRecord, setAddresseeMethods 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
-
getAddressId
Id getAddressId()Gets theAddressIdof the contact if this is a create transaction.- Returns:
- the address
Id - Throws:
IllegalStateException-isForUpdate()istrue- Compliance:
mandatory- This method must be implemented.
-
getReferenceId
Id getReferenceId()Gets the referenceIdof the contact if this is a create transaction.- Returns:
- the reference
Id - Throws:
IllegalStateException-isForUpdate()istrue- Compliance:
mandatory- This method must be implemented.
-
getContactId
Id getContactId()Gets theIdof the contact to be updated if this is an update transaction.- Returns:
- the contact
Id - Throws:
IllegalStateException-isForUpdate()isfalse- Compliance:
mandatory- This method must be implemented.
-