Package org.jivesoftware.smackx.admin
Class ServiceAdministrationManager
- java.lang.Object
-
- org.jivesoftware.smack.Manager
-
- org.jivesoftware.smackx.admin.ServiceAdministrationManager
-
public class ServiceAdministrationManager extends org.jivesoftware.smack.Manager
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCOMMAND_NODE
-
Constructor Summary
Constructors Constructor Description ServiceAdministrationManager(org.jivesoftware.smack.XMPPConnection connection)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AdHocCommandaddUser()voidaddUser(org.jxmpp.jid.EntityBareJid userJid, java.lang.String password)AdHocCommandaddUser(org.jxmpp.jid.Jid service)AdHocCommanddeleteUser()voiddeleteUser(java.util.Set<org.jxmpp.jid.EntityBareJid> jidsToDelete)voiddeleteUser(org.jxmpp.jid.EntityBareJid userJidToDelete)AdHocCommanddeleteUser(org.jxmpp.jid.Jid service)static ServiceAdministrationManagergetInstanceFor(org.jivesoftware.smack.XMPPConnection connection)
-
-
-
Field Detail
-
COMMAND_NODE
public static final java.lang.String COMMAND_NODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstanceFor
public static ServiceAdministrationManager getInstanceFor(org.jivesoftware.smack.XMPPConnection connection)
-
addUser
public AdHocCommand addUser()
-
addUser
public AdHocCommand addUser(org.jxmpp.jid.Jid service)
-
addUser
public void addUser(org.jxmpp.jid.EntityBareJid userJid, java.lang.String password) throws org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smack.SmackException.NotConnectedException, java.lang.InterruptedException- Throws:
org.jivesoftware.smack.SmackException.NoResponseExceptionorg.jivesoftware.smack.XMPPException.XMPPErrorExceptionorg.jivesoftware.smack.SmackException.NotConnectedExceptionjava.lang.InterruptedException
-
deleteUser
public AdHocCommand deleteUser()
-
deleteUser
public AdHocCommand deleteUser(org.jxmpp.jid.Jid service)
-
deleteUser
public void deleteUser(org.jxmpp.jid.EntityBareJid userJidToDelete) throws org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smack.SmackException.NotConnectedException, java.lang.InterruptedException- Throws:
org.jivesoftware.smack.SmackException.NoResponseExceptionorg.jivesoftware.smack.XMPPException.XMPPErrorExceptionorg.jivesoftware.smack.SmackException.NotConnectedExceptionjava.lang.InterruptedException
-
deleteUser
public void deleteUser(java.util.Set<org.jxmpp.jid.EntityBareJid> jidsToDelete) throws org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smack.SmackException.NotConnectedException, java.lang.InterruptedException- Throws:
org.jivesoftware.smack.SmackException.NoResponseExceptionorg.jivesoftware.smack.XMPPException.XMPPErrorExceptionorg.jivesoftware.smack.SmackException.NotConnectedExceptionjava.lang.InterruptedException
-
-