public interface IContactManager extends IApplicationExternalManager
Modifier and Type | Method and Description |
---|---|
boolean |
addPicture2Contact(java.lang.String contactId,
java.lang.String picturePath)
LLworkplace requests for adding a picture to the contact
|
java.lang.String |
createContact(IContactData contactData,
boolean saveImmediately)
LLworkplace wants that the external application creates a new contact
|
boolean |
editContact(IContactData contactData,
boolean saveImmediately)
LLworkplace wants that the external application to edit a contact
|
IContactData[] |
getAllContactData(java.lang.String internalContactPath)
The external contact application should return all contacts that reside in the personal store of the user (not the global one)
|
IContactData |
getContactData(java.lang.String contactId,
java.lang.String internalContactPath)
The external application should return the requested contact
|
boolean |
hasContactEditor()
Tells LLworkplace if the external application has its own contact editor
|
boolean |
removeContact(java.lang.String contactId)
LLworkplace requests the external contact application to remove a contact from the personal contacts of the user
|
void |
removeContactPicture(java.lang.String contactId)
LLworkplace requests for removing the standard picture of a contact in the external contact application
|
IContactData[] |
searchForContacts(java.lang.String searchString,
java.lang.String internalContactPath)
LLworkplace searches for contacts in the global contacts of the external contact application
|
boolean |
supportsContactSearch()
Declares if the external contact application provides searching for contacts in its global search stores
|
getApplicationIcon, getApplicationIcon60x60, getApplicationKey, getApplicationName, getApplicationVersion
canAutocreateUnconfiguredInstance, checkConnection, cleanUp, getAdditionalBuildingInfo, getExternalManager16x16Icon, getExternalManagerDescription, getInstanceName, getManagerName, getPropertyFillingDescription, getPropertyItemDescriptions, getStoresCount, getVersion, init, isCheckConnection, isCompletelyConfigured, isOnlyOneInstanceAllowed, openExternalConfigDialog, setExternalContext, useExternalConfigDialog
boolean hasContactEditor()
IContactData[] getAllContactData(java.lang.String internalContactPath)
internalContactPath
- path into which the contact pictures are storedIContactData getContactData(java.lang.String contactId, java.lang.String internalContactPath)
internalContactPath
- path into which the contact pictures are storedjava.lang.String createContact(IContactData contactData, boolean saveImmediately)
contactData
- the data of the contact to be createdsaveImmediately
- if it is false the external application should open a user interface dialog that displays the contact with the provided contact databoolean editContact(IContactData contactData, boolean saveImmediately)
contactData
- contact data to be editedsaveImmediately
- if it is false the external application should open a user interface dialog that displays the contact with the provided contact databoolean removeContact(java.lang.String contactId)
contactId
- contact identifier of the contact to be removedIContactData[] searchForContacts(java.lang.String searchString, java.lang.String internalContactPath)
searchString
- search string (text) that shoud be part of any data of the contactinternalContactPath
- internal contact pathboolean supportsContactSearch()
void removeContactPicture(java.lang.String contactId)
contactId
- Contact identifier of the contactboolean addPicture2Contact(java.lang.String contactId, java.lang.String picturePath)
contactId
- Contact identifier of the contactpicturePath
- the physical file path of the picture to be added