src/com/beem/project/beem/service/aidl/IPrivacyListManager.aidl
author Jean-Manuel Da Silva <dasilvj@gmail.com>
Sun, 15 Nov 2009 02:28:42 +0100
changeset 515 5e4b8b7908f6
parent 272 08effaddeaa4
child 516 da650185bf8b
permissions -rw-r--r--
Creation de l'interface à distance pour la classe PrivacyListManager.

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

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

interface IPrivacyListManager {

	void createPrivacyList(in String listName, in List<PrivacyListItem> items);

	void addPrivacyList(in String listName);
	
	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);
	
	void getBlockedUsersByList(in String listName, out List<String> blockedUsersByList);
	
	void getBlockedGroupsByList(in String listName, out List<String> blockedGroupsByList);

}