com.antelmann.crm
Interface Contact
- All Superinterfaces:
- Addressable, DBEntry, DetailedString, Enabled, Imageable, LifeCycleObject, Serializable
- All Known Subinterfaces:
- Person
- All Known Implementing Classes:
- ContactImpl, GPerson, PersonImpl
public interface Contact
- extends DBEntry, Addressable, DetailedString, LifeCycleObject, Imageable, Enabled
represents a contact that is also the base to have several different roles
- Author:
- Holger Antelmann
- See Also:
Role,
Person
| Fields inherited from interface com.antelmann.util.Enabled |
FILTER |
| Methods inherited from interface com.antelmann.db.DBEntry |
getID |
getContactName
String getContactName()
- provides an internally used name suitable for display in list views
getContactNotes
String getContactNotes()
- provides some notes on this contact
getMoreAddresses
List<? extends AddressInfo> getMoreAddresses()
- allows to retrieve additional (editable) addresses for a given contact.
- Returns:
- possibly an empty list, but not null; while the list elements are
editable, the list itself is immutable
add
void add(AddressInfo ai,
int index)
throws IndexOutOfBoundsException,
UnsupportedOperationException
- adds an address at the given index (optional operation)
- Throws:
IndexOutOfBoundsException
UnsupportedOperationException
removeAddress
AddressInfo removeAddress(int index)
throws IndexOutOfBoundsException,
UnsupportedOperationException
- removes (and returns) an address at the given index (optional operation)
- Throws:
IndexOutOfBoundsException
UnsupportedOperationException
(c) Holger Antelmann since 2001- all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads