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(EntityBareJid userJid,
String password) |
RemoteCommand |
addUser(Jid service) |
RemoteCommand |
deleteUser() |
void |
deleteUser(EntityBareJid userJidToDelete) |
RemoteCommand |
deleteUser(Jid service) |
void |
deleteUser(Set<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(Jid service)
public void addUser(EntityBareJid userJid, String password) throws SmackException.NoResponseException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, InterruptedException
public RemoteCommand deleteUser()
public RemoteCommand deleteUser(Jid service)
public void deleteUser(EntityBareJid userJidToDelete) throws SmackException.NoResponseException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, InterruptedException
public void deleteUser(Set<EntityBareJid> jidsToDelete) throws SmackException.NoResponseException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, InterruptedException