package com.beem.project.beem.service.aidl;

import com.beem.project.beem.service.aidl.IBeemRosterListener;
import com.beem.project.beem.service.Contact;
import com.beem.project.beem.service.PresenceAdapter;

interface IRoster {
    
    Contact addContact(in String user, in String name, in String[] groups);
    
    void deleteContact(in Contact contact, in String group);
    
    Contact getContact(in String jid);
    void setContactName(in String jid, in String name);
     
    void createGroup(in String groupname);
    
    List<Contact> getContactList();
    
    List<String> getGroupsNames();
    
    PresenceAdapter getPresence(in String jid);
    
    void addRosterListener(in IBeemRosterListener listen);
    void removeRosterListener(in IBeemRosterListener listen);

}