public class Privacy extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
ACTION
Field description
|
protected static String |
ACTIVE
Field description
|
protected static String |
DEFAULT
Field description
|
protected static String |
ITEM
Field description
|
protected static String |
LIST
Field description
|
protected static String |
NAME
Field description
|
protected static String |
ORDER
Field description
|
protected static String |
PRIVACY
Field description
|
protected static String |
PRIVACY_LIST
Field description
|
protected static String |
STANZAS
Field description
|
protected static String |
TYPE
Field description
|
protected static String |
VALUE
Field description
|
Constructor and Description |
---|
Privacy() |
Modifier and Type | Method and Description |
---|---|
static void |
addList(XMPPResourceConnection session,
tigase.xml.Element list)
Method description
|
static tigase.xml.Element |
getActiveList(XMPPResourceConnection session)
Method description
|
static String |
getActiveListName(XMPPResourceConnection session)
Method description
|
static tigase.xml.Element |
getDefaultList(XMPPResourceConnection session) |
static String |
getDefaultListName(XMPPResourceConnection session)
Method description
|
static tigase.xml.Element |
getList(XMPPResourceConnection session,
String list)
Method description
|
static tigase.xml.Element |
getListOld(XMPPResourceConnection session,
String list)
Method description
|
static String[] |
getLists(XMPPResourceConnection session)
Method description
|
static String |
listNode(String list)
Method description
|
static void |
removeList(XMPPResourceConnection session,
tigase.xml.Element list)
Method description
|
static void |
setActiveList(XMPPResourceConnection session,
String lName)
Method description
|
static void |
setDefaultList(XMPPResourceConnection session,
tigase.xml.Element list)
Method description
|
protected static final String ACTION
protected static final String ACTIVE
protected static final String DEFAULT
protected static final String ITEM
protected static final String LIST
protected static final String NAME
protected static final String ORDER
protected static final String PRIVACY
protected static final String PRIVACY_LIST
protected static final String STANZAS
protected static final String TYPE
protected static final String VALUE
public static void addList(XMPPResourceConnection session, tigase.xml.Element list) throws NotAuthorizedException, TigaseDBException
session
- list
- NotAuthorizedException
TigaseDBException
public static void removeList(XMPPResourceConnection session, tigase.xml.Element list) throws NotAuthorizedException, TigaseDBException
session
- list
- NotAuthorizedException
TigaseDBException
public static tigase.xml.Element getActiveList(XMPPResourceConnection session) throws NotAuthorizedException
session
- NotAuthorizedException
public static String getActiveListName(XMPPResourceConnection session) throws NotAuthorizedException
session
- NotAuthorizedException
public static tigase.xml.Element getDefaultList(XMPPResourceConnection session) throws NotAuthorizedException, TigaseDBException
session
- NotAuthorizedException
TigaseDBException
public static String getDefaultListName(XMPPResourceConnection session) throws NotAuthorizedException, TigaseDBException
session
- NotAuthorizedException
TigaseDBException
public static tigase.xml.Element getList(XMPPResourceConnection session, String list) throws NotAuthorizedException, TigaseDBException
session
- list
- NotAuthorizedException
TigaseDBException
public static tigase.xml.Element getListOld(XMPPResourceConnection session, String list) throws NotAuthorizedException, TigaseDBException
session
- list
- NotAuthorizedException
TigaseDBException
public static String[] getLists(XMPPResourceConnection session) throws NotAuthorizedException, TigaseDBException
session
- NotAuthorizedException
TigaseDBException
public static void setActiveList(XMPPResourceConnection session, String lName) throws NotAuthorizedException, TigaseDBException
session
- lName
- NotAuthorizedException
TigaseDBException
public static void setDefaultList(XMPPResourceConnection session, tigase.xml.Element list) throws NotAuthorizedException, TigaseDBException
session
- list
- NotAuthorizedException
TigaseDBException
Copyright © 2014 "Tigase, Inc.". All rights reserved.