Asterisk-Java

org.asteriskjava.manager.action
Class DbDelAction

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

public class DbDelAction
extends AbstractManagerAction

Deletes an entry in the Asterisk database for a given family and key.

Available since Asterisk 1.2 with BRIStuff patches and since Asterisk 1.6

Author:
gmi
See Also:
Serialized Form

Constructor Summary
DbDelAction()
          Creates a new empty DbDelAction.
DbDelAction(java.lang.String family, java.lang.String key)
          Creates a new DbDelAction that deletes the value of the database
 
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

DbDelAction

public DbDelAction()
Creates a new empty DbDelAction.


DbDelAction

public DbDelAction(java.lang.String family,
                   java.lang.String key)
Creates a new DbDelAction that deletes the value of the database

Parameters:
family - the family of the key
key - the key of the entry 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.