|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.asterisk.fastagi.command.AGICommand net.sf.asterisk.fastagi.command.DatabaseDelTreeCommand
public class DatabaseDelTreeCommand
Deletes an entry in the Asterisk database for a given family and key.
Returns 1 if successful, 0 otherwise.
Constructor Summary | |
---|---|
DatabaseDelTreeCommand(java.lang.String family,
java.lang.String key)
Creates a new DatabaseDelCommand. |
Method Summary | |
---|---|
java.lang.String |
buildCommand()
Returns a string suitable to be sent to asterisk. |
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 net.sf.asterisk.fastagi.command.AGICommand |
---|
escapeAndQuote, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DatabaseDelTreeCommand(java.lang.String family, java.lang.String key)
family
- the family of the key to delete.key
- the key to delete.Method Detail |
---|
public java.lang.String getFamily()
public void setFamily(java.lang.String family)
family
- the family of the key to delete.public java.lang.String getKey()
public void setKey(java.lang.String key)
key
- the key to delete.public java.lang.String buildCommand()
AGICommand
buildCommand
in class AGICommand
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |