Class DeleteAllNodesCommand

java.lang.Object
tigase.pubsub.modules.commands.DeleteAllNodesCommand
All Implemented Interfaces:
tigase.component.adhoc.AdHocCommand

@Bean(name="deleteAllNodesCommand", active=true) public class DeleteAllNodesCommand extends Object implements tigase.component.adhoc.AdHocCommand
Implementation of ad-hoc commands which removes all PubSub nodes.
Version:
5.0.0, 2010.03.27 at 05:11:57 GMT
Author:
Artur Hefczyc
  • Constructor Details

    • DeleteAllNodesCommand

      public DeleteAllNodesCommand()
  • Method Details

    • execute

      public void execute(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response) throws tigase.component.adhoc.AdHocCommandException
      Specified by:
      execute in interface tigase.component.adhoc.AdHocCommand
      Throws:
      tigase.component.adhoc.AdHocCommandException
    • getName

      public String getName()
      Specified by:
      getName in interface tigase.component.adhoc.AdHocCommand
    • getNode

      public String getNode()
      Specified by:
      getNode in interface tigase.component.adhoc.AdHocCommand
    • isAllowedFor

      public boolean isAllowedFor(tigase.xmpp.jid.JID jid)
      Specified by:
      isAllowedFor in interface tigase.component.adhoc.AdHocCommand