Package org.jivesoftware.smackx.admin
Class ServiceAdministrationManager
- java.lang.Object
-
- org.jivesoftware.smack.Manager
-
- org.jivesoftware.smackx.admin.ServiceAdministrationManager
-
public class ServiceAdministrationManager extends Manager
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
COMMAND_NODE
-
Constructor Summary
Constructors Constructor Description ServiceAdministrationManager(XMPPConnection connection)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RemoteCommand
addUser()
void
addUser(EntityBareJid userJid, java.lang.String password)
RemoteCommand
addUser(Jid service)
RemoteCommand
deleteUser()
void
deleteUser(java.util.Set<EntityBareJid> jidsToDelete)
void
deleteUser(EntityBareJid userJidToDelete)
RemoteCommand
deleteUser(Jid service)
static ServiceAdministrationManager
getInstanceFor(XMPPConnection connection)
-
Methods inherited from class org.jivesoftware.smack.Manager
connection, getAuthenticatedConnectionOrThrow, schedule, schedule, scheduleBlocking
-
-
-
-
Field Detail
-
COMMAND_NODE
public static final java.lang.String COMMAND_NODE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ServiceAdministrationManager
public ServiceAdministrationManager(XMPPConnection connection)
-
-
Method Detail
-
getInstanceFor
public static ServiceAdministrationManager getInstanceFor(XMPPConnection connection)
-
addUser
public RemoteCommand addUser()
-
addUser
public RemoteCommand addUser(Jid service)
-
addUser
public void addUser(EntityBareJid userJid, java.lang.String password) throws SmackException.NoResponseException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, java.lang.InterruptedException
- Throws:
SmackException.NoResponseException
XMPPException.XMPPErrorException
SmackException.NotConnectedException
java.lang.InterruptedException
-
deleteUser
public RemoteCommand deleteUser()
-
deleteUser
public RemoteCommand deleteUser(Jid service)
-
deleteUser
public void deleteUser(EntityBareJid userJidToDelete) throws SmackException.NoResponseException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, java.lang.InterruptedException
- Throws:
SmackException.NoResponseException
XMPPException.XMPPErrorException
SmackException.NotConnectedException
java.lang.InterruptedException
-
deleteUser
public void deleteUser(java.util.Set<EntityBareJid> jidsToDelete) throws SmackException.NoResponseException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, java.lang.InterruptedException
- Throws:
SmackException.NoResponseException
XMPPException.XMPPErrorException
SmackException.NotConnectedException
java.lang.InterruptedException
-
-