1 package org.columba.addressbook.folder; 19 20 import java.util.Map ; 21 22 import org.columba.addressbook.model.IContactModel; 23 import org.columba.addressbook.model.IContactModelPartial; 24 import org.columba.addressbook.model.IGroupModel; 25 import org.columba.api.exception.StoreException; 26 27 31 public interface IGroupFolder { 32 35 String add(IContactModel contact) throws StoreException; 36 37 40 int count() throws StoreException; 41 42 45 boolean exists(String uid) throws StoreException; 46 47 50 IContactModel get(String uid) throws StoreException; 51 52 56 void modify(String uid, IContactModel contact) throws StoreException; 57 58 61 void remove(String uid) throws StoreException; 62 63 66 Map <String , IContactModelPartial> getContactItemMap() throws StoreException; 67 68 71 IGroupModel getGroup() throws StoreException; 72 } | Popular Tags |