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