src/com/beem/project/beem/service/aidl/IPrivacyListManager.aidl
author Jean-Manuel Da Silva <dasilvj@gmail.com>
Sun, 15 Nov 2009 23:03:19 +0100
changeset 518 6b8089c9b834
parent 516 da650185bf8b
child 520 88a19fcd70b3
permissions -rw-r--r--
Creation de l'activite PrivacyList et d'une interface PrivacyListListener ainsi que son implementation.

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();
	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);
}