src/com/beem/project/beem/service/aidl/IPrivacyListManager.aidl
changeset 515 5e4b8b7908f6
parent 272 08effaddeaa4
child 516 da650185bf8b
--- a/src/com/beem/project/beem/service/aidl/IPrivacyListManager.aidl	Sat Nov 14 23:53:18 2009 +0100
+++ b/src/com/beem/project/beem/service/aidl/IPrivacyListManager.aidl	Sun Nov 15 02:28:42 2009 +0100
@@ -1,25 +1,33 @@
 package com.beem.project.beem.service.aidl;
 
-
+import  com.beem.project.beem.service.PrivacyListItem;
 
-/**
- * An aidl interface for Privacy List Manager.
- */
 interface IPrivacyListManager {
 
-	/**
-	 *	@return: return a list of blocked users
-	 */
-	List<String> getBlockedUsers();
+	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);
 	
-	/**
-	 *	@return: return a list of blocked users
-	 */
-	List<String> getBlockedUsersByList(in String listName);
+	void setDefaultPrivacyList(in String listName);
+	
+	void declineActivePrivacyList();
 	
-	/**
-	 *	@param: block an user
-	 */
-	void addBlockedUser(in String jid);
-    
+	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);
+
 }
\ No newline at end of file