public class ServiceAdministrationManager
extends org.jivesoftware.smack.Manager
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COMMAND_NODE |
Constructor and Description |
---|
ServiceAdministrationManager(org.jivesoftware.smack.XMPPConnection connection) |
Modifier and Type | Method and Description |
---|---|
RemoteCommand |
addUser() |
void |
addUser(org.jxmpp.jid.EntityBareJid userJid,
java.lang.String password) |
RemoteCommand |
addUser(org.jxmpp.jid.Jid service) |
RemoteCommand |
deleteUser() |
void |
deleteUser(org.jxmpp.jid.EntityBareJid userJidToDelete) |
RemoteCommand |
deleteUser(org.jxmpp.jid.Jid service) |
void |
deleteUser(java.util.Set<org.jxmpp.jid.EntityBareJid> jidsToDelete) |
static ServiceAdministrationManager |
getInstanceFor(org.jivesoftware.smack.XMPPConnection connection) |
public static final java.lang.String COMMAND_NODE
public ServiceAdministrationManager(org.jivesoftware.smack.XMPPConnection connection)
public static ServiceAdministrationManager getInstanceFor(org.jivesoftware.smack.XMPPConnection connection)
public RemoteCommand addUser()
public RemoteCommand addUser(org.jxmpp.jid.Jid service)
public void addUser(org.jxmpp.jid.EntityBareJid userJid, java.lang.String password) throws org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smack.SmackException.NotConnectedException, java.lang.InterruptedException
org.jivesoftware.smack.SmackException.NoResponseException
org.jivesoftware.smack.XMPPException.XMPPErrorException
org.jivesoftware.smack.SmackException.NotConnectedException
java.lang.InterruptedException
public RemoteCommand deleteUser()
public RemoteCommand deleteUser(org.jxmpp.jid.Jid service)
public void deleteUser(org.jxmpp.jid.EntityBareJid userJidToDelete) throws org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smack.SmackException.NotConnectedException, java.lang.InterruptedException
org.jivesoftware.smack.SmackException.NoResponseException
org.jivesoftware.smack.XMPPException.XMPPErrorException
org.jivesoftware.smack.SmackException.NotConnectedException
java.lang.InterruptedException
public void deleteUser(java.util.Set<org.jxmpp.jid.EntityBareJid> jidsToDelete) throws org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smack.SmackException.NotConnectedException, java.lang.InterruptedException
org.jivesoftware.smack.SmackException.NoResponseException
org.jivesoftware.smack.XMPPException.XMPPErrorException
org.jivesoftware.smack.SmackException.NotConnectedException
java.lang.InterruptedException