|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.contact.service.impl.VCardImportExport
public class VCardImportExport
Author : Huu-Dung Kieu huu-dung.kieu@bull.be 16 oct. 07
| Constructor Summary | |
|---|---|
VCardImportExport(JCRDataStorage storage)
|
|
| Method Summary | |
|---|---|
java.io.OutputStream |
exportContact(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String username,
java.lang.String[] addressBookIds)
this method allow export contacts in some address books in form of output stream |
java.io.OutputStream |
exportContact(java.lang.String username,
java.util.List<Contact> contacts)
this method allow export contacts in form of output stream |
protected org.exoplatform.ws.frameworks.cometd.ContinuationService |
getContinuationService()
|
void |
importContact(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String username,
java.io.InputStream input,
java.lang.String groupId)
this method allow import contacts in form of input stream to a address book |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VCardImportExport(JCRDataStorage storage)
throws java.lang.Exception
java.lang.Exception| Method Detail |
|---|
public java.io.OutputStream exportContact(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String username,
java.lang.String[] addressBookIds)
throws java.lang.Exception
ContactImportExport
exportContact in interface ContactImportExportsProvider - should use system sessionusername - userId of current useraddressBookIds - array id of address books that user wants to export
java.lang.Exception
public java.io.OutputStream exportContact(java.lang.String username,
java.util.List<Contact> contacts)
throws java.lang.Exception
ContactImportExport
exportContact in interface ContactImportExportusername - userId of current usercontacts - list contacts that user wants to export
java.lang.Exception
public void importContact(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String username,
java.io.InputStream input,
java.lang.String groupId)
throws java.lang.Exception
ContactImportExport
importContact in interface ContactImportExportsProvider - should use system sessionusername - userId of current userinput - input stream contains contacts informationgroupId - id of address book that user wants to import contacts to
java.lang.Exceptionprotected org.exoplatform.ws.frameworks.cometd.ContinuationService getContinuationService()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||