Smack

org.jivesoftware.smack
Class PrivacyList

java.lang.Object
  extended by org.jivesoftware.smack.PrivacyList

public class PrivacyList
extends Object

A privacy list represents a list of contacts that is a read only class used to represent a set of allowed or blocked communications. Basically it can:

Privacy Items can handle different kind of blocking communications based on JID, group, subscription type or globally.

Author:
Francisco Vives

Constructor Summary
protected PrivacyList(boolean isActiveList, boolean isDefaultList, String listName, List<PrivacyItem> privacyItems)
           
 
Method Summary
 List<PrivacyItem> getItems()
           
 boolean isActiveList()
           
 boolean isDefaultList()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PrivacyList

protected PrivacyList(boolean isActiveList,
                      boolean isDefaultList,
                      String listName,
                      List<PrivacyItem> privacyItems)
Method Detail

isActiveList

public boolean isActiveList()

isDefaultList

public boolean isDefaultList()

getItems

public List<PrivacyItem> getItems()

toString

public String toString()
Overrides:
toString in class Object

Smack

Copyright © 2003-2007 Jive Software.