src/com/beem/project/beem/service/aidl/IPrivacyListManager.aidl
author Jean-Manuel Da Silva <dasilvj@gmail.com>
Mon, 16 Nov 2009 02:00:06 +0100
changeset 520 88a19fcd70b3
parent 518 6b8089c9b834
child 599 cdadf4e39f99
permissions -rw-r--r--
Ajout de la possibilite de creer une PrivacyList et de la liste de PrivacyLists. Debug requis.

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

import  com.beem.project.beem.service.PrivacyListItem;
import  com.beem.project.beem.service.aidl.IPrivacyListListener;

interface IPrivacyListManager {
	void createPrivacyList(in String listName, in List<PrivacyListItem> items);
	void removePrivacyList(in String listName);
	void editPrivacyList(in String listName, in List<PrivacyListItem> items);
	String getActivePrivacyList();
	String getDefaultPrivacyList();
	void setActivePrivacyList(in String listName);
	void setDefaultPrivacyList(in String listName);
	void declineActivePrivacyList();
	void declineDefaultPrivacyList();
	List<String> getPrivacyLists();
	void blockUser(in String listName, in String jid);
	List<String> getBlockedUsersByList(in String listName);
	List<String> getBlockedGroupsByList(in String listName);
	void addPrivacyListListener(in IPrivacyListListener listener);
	void removePrivacyListListener(in IPrivacyListListener listener);
}