Asterisk-Java

org.asteriskjava.manager.action
Class DbDelTreeAction

java.lang.Object
  extended by org.asteriskjava.manager.action.AbstractManagerAction
      extended by org.asteriskjava.manager.action.DbDelTreeAction
All Implemented Interfaces:
java.io.Serializable, ManagerAction

public class DbDelTreeAction
extends AbstractManagerAction

Recursivly deletes entries in the Asterisk database for a given family and key.

Available since Asterisk 1.6

Since:
1.0.0
Author:
gmi
See Also:
Serialized Form

Constructor Summary
DbDelTreeAction()
          Creates a new empty DbDelTreeAction.
DbDelTreeAction(java.lang.String family, java.lang.String key)
          Creates a new DbDelTreeAction.
 
Method Summary
 java.lang.String getAction()
          Returns the name of the action for example "Hangup".
 java.lang.String getFamily()
          Returns the family of the key to delete.
 java.lang.String getKey()
          Returns the the key to delete.
 void setFamily(java.lang.String family)
          Sets the family of the key to delete.
 void setKey(java.lang.String key)
          Sets the key to delete.
 
Methods inherited from class org.asteriskjava.manager.action.AbstractManagerAction
getActionId, setActionId, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DbDelTreeAction

public DbDelTreeAction()
Creates a new empty DbDelTreeAction.


DbDelTreeAction

public DbDelTreeAction(java.lang.String family,
                       java.lang.String key)
Creates a new DbDelTreeAction.

Parameters:
family - the family of the key
key - the key of the entries to delete
Method Detail

getAction

public java.lang.String getAction()
Description copied from interface: ManagerAction
Returns the name of the action for example "Hangup".

Specified by:
getAction in interface ManagerAction
Specified by:
getAction in class AbstractManagerAction

getFamily

public java.lang.String getFamily()
Returns the family of the key to delete.

Returns:
the family of the key to delete

setFamily

public void setFamily(java.lang.String family)
Sets the family of the key to delete.

Parameters:
family - the family of the key to delete

getKey

public java.lang.String getKey()
Returns the the key to delete.

Returns:
the key to delete

setKey

public void setKey(java.lang.String key)
Sets the key to delete.

Parameters:
key - the key to delete

Asterisk-Java

Copyright © 2004-2009 Stefan Reuter. All Rights Reserved.