com.beem.project.beem.service
Class PrivacyListManagerAdapter

Package class diagram package PrivacyListManagerAdapter
java.lang.Object
  extended by android.os.Binder
      extended by com.beem.project.beem.service.aidl.IPrivacyListManager.Stub
          extended by com.beem.project.beem.service.PrivacyListManagerAdapter
All Implemented Interfaces:
IBinder, IInterface, IPrivacyListManager

public class PrivacyListManagerAdapter
extends IPrivacyListManager.Stub

An adapter for the Smack's PrivacyListManager.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.beem.project.beem.service.aidl.IPrivacyListManager
IPrivacyListManager.Stub
 
Nested classes/interfaces inherited from interface android.os.IBinder
IBinder.DeathRecipient
 
Field Summary
static String TAG
          Class's Tag.
 
Fields inherited from interface android.os.IBinder
DUMP_TRANSACTION, FIRST_CALL_TRANSACTION, FLAG_ONEWAY, INTERFACE_TRANSACTION, LAST_CALL_TRANSACTION, PING_TRANSACTION
 
Constructor Summary
PrivacyListManagerAdapter(PrivacyListManager privacyListManager)
          Constructor.
 
Method Summary
 void addPrivacyListListener(IPrivacyListListener listener)
           
 void blockUser(String listName, String jid)
           
 void createPrivacyList(String listName, List<PrivacyListItem> items)
           
 void declineActivePrivacyList()
           
 void declineDefaultPrivacyList()
           
 void editPrivacyList(String listName, List<PrivacyListItem> items)
           
 String getActivePrivacyList()
           
 List<String> getBlockedGroupsByList(String listName)
           
 List<String> getBlockedUsersByList(String listName)
           
 String getDefaultPrivacyList()
           
 List<String> getPrivacyLists()
           
 void removePrivacyList(String listName)
           
 void removePrivacyListListener(IPrivacyListListener listener)
           
 void setActivePrivacyList(String listName)
           
 void setDefaultPrivacyList(String listName)
           
 
Methods inherited from class com.beem.project.beem.service.aidl.IPrivacyListManager.Stub
asBinder, asInterface, onTransact
 
Methods inherited from class android.os.Binder
attachInterface, clearCallingIdentity, dump, dump, finalize, flushPendingCommands, getCallingPid, getCallingUid, getInterfaceDescriptor, isBinderAlive, joinThreadPool, linkToDeath, pingBinder, queryLocalInterface, restoreCallingIdentity, transact, unlinkToDeath
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAG

public static final String TAG
Class's Tag.

See Also:
Constant Field Values
Constructor Detail

PrivacyListManagerAdapter

public PrivacyListManagerAdapter(PrivacyListManager privacyListManager)
Constructor.

Parameters:
privacyListManager - the privacy list manager
Method Detail

blockUser

public void blockUser(String listName,
                      String jid)
               throws RemoteException
Throws:
RemoteException

createPrivacyList

public void createPrivacyList(String listName,
                              List<PrivacyListItem> items)
                       throws RemoteException
Throws:
RemoteException

declineActivePrivacyList

public void declineActivePrivacyList()
                              throws RemoteException
Throws:
RemoteException

declineDefaultPrivacyList

public void declineDefaultPrivacyList()
                               throws RemoteException
Throws:
RemoteException

editPrivacyList

public void editPrivacyList(String listName,
                            List<PrivacyListItem> items)
                     throws RemoteException
Throws:
RemoteException

getActivePrivacyList

public String getActivePrivacyList()
                            throws RemoteException
Throws:
RemoteException

getBlockedGroupsByList

public List<String> getBlockedGroupsByList(String listName)
                                    throws RemoteException
Throws:
RemoteException

getBlockedUsersByList

public List<String> getBlockedUsersByList(String listName)
                                   throws RemoteException
Throws:
RemoteException

getDefaultPrivacyList

public String getDefaultPrivacyList()
                             throws RemoteException
Throws:
RemoteException

removePrivacyList

public void removePrivacyList(String listName)
                       throws RemoteException
Throws:
RemoteException

setActivePrivacyList

public void setActivePrivacyList(String listName)
                          throws RemoteException
Throws:
RemoteException

setDefaultPrivacyList

public void setDefaultPrivacyList(String listName)
                           throws RemoteException
Throws:
RemoteException

addPrivacyListListener

public void addPrivacyListListener(IPrivacyListListener listener)
                            throws RemoteException
Throws:
RemoteException

removePrivacyListListener

public void removePrivacyListListener(IPrivacyListListener listener)
                               throws RemoteException
Throws:
RemoteException

getPrivacyLists

public List<String> getPrivacyLists()
                             throws RemoteException
Throws:
RemoteException


Copyright © 2009 Beem-project.com. All Rights Reserved.