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(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(XMPPConnection connection) |
connection, getAuthenticatedConnectionOrThrow, schedulepublic static final java.lang.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, java.lang.String password) throws SmackException.NoResponseException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, java.lang.InterruptedException
SmackException.NoResponseExceptionXMPPException.XMPPErrorExceptionSmackException.NotConnectedExceptionjava.lang.InterruptedExceptionpublic 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, java.lang.InterruptedException
SmackException.NoResponseExceptionXMPPException.XMPPErrorExceptionSmackException.NotConnectedExceptionjava.lang.InterruptedExceptionpublic void deleteUser(java.util.Set<org.jxmpp.jid.EntityBareJid> jidsToDelete) throws SmackException.NoResponseException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, java.lang.InterruptedException
SmackException.NoResponseExceptionXMPPException.XMPPErrorExceptionSmackException.NotConnectedExceptionjava.lang.InterruptedException