|
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.DatabasePutCommand
public class DatabasePutCommand
Adds or updates an entry in the Asterisk database for a given family, key, and value.
Returns 1 if successful, 0 otherwise.
| Constructor Summary | |
|---|---|
DatabasePutCommand(String family,
String key,
String value)
Creates a new DatabasePutCommand. |
|
| Method Summary | |
|---|---|
String |
buildCommand()
Returns a string suitable to be sent to asterisk. |
String |
getFamily()
Returns the family of the key to set. |
String |
getKey()
Returns the the key to set. |
String |
getValue()
Returns the value to set. |
void |
setFamily(String family)
Sets the family of the key to set. |
void |
setKey(String key)
Sets the key to set. |
void |
setValue(String value)
Sets the value to set. |
| Methods inherited from class org.asteriskjava.fastagi.command.AbstractAgiCommand |
|---|
escapeAndQuote, escapeAndQuote, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DatabasePutCommand(String family,
String key,
String value)
family - the family of the key to set.key - the key to set.value - the value to set.| Method Detail |
|---|
public String getFamily()
public void setFamily(String family)
family - the family of the key to set.public String getKey()
public void setKey(String key)
key - the key to set.public String getValue()
public void setValue(String value)
value - the value to set.public 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 | |||||||||