tigase.pubsub.modules.commands
Class DefaultConfigCommand

java.lang.Object
  extended by tigase.pubsub.modules.commands.DefaultConfigCommand
All Implemented Interfaces:
AdHocCommand

public class DefaultConfigCommand
extends java.lang.Object
implements AdHocCommand


Field Summary
protected  java.util.logging.Logger log
           
 
Constructor Summary
DefaultConfigCommand(PubSubConfig config, tigase.db.UserRepository userRepository)
           
 
Method Summary
 void addListener(DefaultNodeConfigListener listener)
           
 void execute(AdhHocRequest request, AdHocResponse response)
           
protected  void fireOnChangeDefaultNodeConfig()
           
 java.lang.String getName()
           
 java.lang.String getNode()
           
 void removeListener(DefaultNodeConfigListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected java.util.logging.Logger log
Constructor Detail

DefaultConfigCommand

public DefaultConfigCommand(PubSubConfig config,
                            tigase.db.UserRepository userRepository)
Method Detail

addListener

public void addListener(DefaultNodeConfigListener listener)

execute

public void execute(AdhHocRequest request,
                    AdHocResponse response)
             throws AdHocCommandException
Specified by:
execute in interface AdHocCommand
Throws:
AdHocCommandException

fireOnChangeDefaultNodeConfig

protected void fireOnChangeDefaultNodeConfig()

getName

public java.lang.String getName()
Specified by:
getName in interface AdHocCommand

getNode

public java.lang.String getNode()
Specified by:
getNode in interface AdHocCommand

removeListener

public void removeListener(DefaultNodeConfigListener listener)


Copyright © 2008 Tigase. All Rights Reserved.