Package | Description |
---|---|
org.jivesoftware.smackx.privacy | |
org.jivesoftware.smackx.privacy.packet | |
org.jivesoftware.smackx.privacy.provider |
Modifier and Type | Method and Description |
---|---|
List<PrivacyItem> |
PrivacyList.getItems() |
Modifier and Type | Method and Description |
---|---|
void |
PrivacyListManager.createPrivacyList(String listName,
List<PrivacyItem> privacyItems)
The client has created a new list.
|
void |
PrivacyListListener.setPrivacyList(String listName,
List<PrivacyItem> listItem)
Set or update a privacy list with PrivacyItem.
|
void |
PrivacyListManager.updatePrivacyList(String listName,
List<PrivacyItem> privacyItems)
The client has edited an existing list.
|
Constructor and Description |
---|
PrivacyList(boolean isActiveList,
boolean isDefaultList,
String listName,
List<PrivacyItem> privacyItems) |
Modifier and Type | Method and Description |
---|---|
PrivacyItem |
Privacy.getItem(String listName,
int order)
Returns the privacy item in the specified order.
|
Modifier and Type | Method and Description |
---|---|
List<PrivacyItem> |
Privacy.getActivePrivacyList()
Returns the active privacy list or null if none was found.
|
List<PrivacyItem> |
Privacy.getDefaultPrivacyList()
Returns the default privacy list or null if none was found.
|
Map<String,List<PrivacyItem>> |
Privacy.getItemLists()
Returns the collection of privacy list that the user holds.
|
List<PrivacyItem> |
Privacy.getPrivacyList(String listName)
Returns a specific privacy list.
|
List<PrivacyItem> |
Privacy.setActivePrivacyList()
Set the active list based on the default list.
|
List<PrivacyItem> |
Privacy.setPrivacyList(String listName,
List<PrivacyItem> listItem)
Set or update a privacy list with privacy items.
|
Modifier and Type | Method and Description |
---|---|
List<PrivacyItem> |
Privacy.setPrivacyList(String listName,
List<PrivacyItem> listItem)
Set or update a privacy list with privacy items.
|
Modifier and Type | Method and Description |
---|---|
PrivacyItem |
PrivacyProvider.parseItem(org.xmlpull.v1.XmlPullParser parser) |