|
Asterisk-Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.asteriskjava.fastagi.command.AbstractAgiCommand
org.asteriskjava.fastagi.command.DatabaseDelCommand
public class DatabaseDelCommand
Deletes a family or specific keytree within a family in the Asterisk database.
Returns 1 if successful, 0 otherwise.
| Constructor Summary | |
|---|---|
DatabaseDelCommand(java.lang.String family)
Creates a new DatabaseDelCommand to delete a family. |
|
DatabaseDelCommand(java.lang.String family,
java.lang.String keyTree)
Creates a new DatabaseDelCommand to delete a keytree. |
|
| Method Summary | |
|---|---|
java.lang.String |
buildCommand()
Returns a string suitable to be sent to asterisk. |
java.lang.String |
getFamily()
Returns the family (or family of the keytree) to delete. |
java.lang.String |
getKeyTree()
Returns the the keytree to delete. |
void |
setFamily(java.lang.String family)
Sets the family (or family of the keytree) to delete. |
void |
setKeyTree(java.lang.String keyTree)
Sets the keytree to delete. |
| Methods inherited from class org.asteriskjava.fastagi.command.AbstractAgiCommand |
|---|
escapeAndQuote, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DatabaseDelCommand(java.lang.String family)
family - the family to delete.
public DatabaseDelCommand(java.lang.String family,
java.lang.String keyTree)
family - the family of the keytree to delete.keyTree - the keytree to delete.| Method Detail |
|---|
public java.lang.String getFamily()
public void setFamily(java.lang.String family)
family - the family (or family of the keytree) to delete.public java.lang.String getKeyTree()
public void setKeyTree(java.lang.String keyTree)
keyTree - the keytree to delete.public java.lang.String buildCommand()
AgiCommand
buildCommand in interface AgiCommandbuildCommand in class AbstractAgiCommand
|
Asterisk-Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||