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