public class QBPrivacyList
extends java.lang.Object
QBPrivacyListItem
.Constructor and Description |
---|
QBPrivacyList()
Constructs a new QBPrivacyList object
|
QBPrivacyList(java.util.List<QBPrivacyListItem> items,
java.lang.String name)
Constructs a new QBPrivacyList object
|
Modifier and Type | Method and Description |
---|---|
java.util.List<QBPrivacyListItem> |
getItems()
Gets the items of the privacy list
|
java.lang.String |
getName()
Gets the name of the privacy list
|
boolean |
isActiveList()
Returns true if the privacy list is active
|
boolean |
isDefaultList()
Returns true if the privacy list is default
|
void |
setActiveList(boolean isActiveList)
Sets the privacy list is active
|
void |
setDefaultList(boolean isDefaultList)
Sets the privacy list is default
|
void |
setItems(java.util.List<QBPrivacyListItem> items)
Sets the items of the privacy list
|
void |
setName(java.lang.String name)
Sets the name of the privacy list
|
java.lang.String |
toString() |
public QBPrivacyList()
public QBPrivacyList(java.util.List<QBPrivacyListItem> items, java.lang.String name)
items
- The array of QBPrivacyListItem
name
- The name of the privacy listpublic java.lang.String getName()
public void setName(java.lang.String name)
name
- the name to setpublic java.util.List<QBPrivacyListItem> getItems()
public void setItems(java.util.List<QBPrivacyListItem> items)
items
- the items to setpublic boolean isActiveList()
public boolean isDefaultList()
public void setActiveList(boolean isActiveList)
isActiveList
- will be the list active or notpublic void setDefaultList(boolean isDefaultList)
isDefaultList
- will be the list default or notpublic java.lang.String toString()
toString
in class java.lang.Object