|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.asterisk.manager.action.AbstractManagerAction
net.sf.asterisk.manager.action.DBPutAction
public class DBPutAction
Adds or updates an entry in the Asterisk database for a given family, key,
and value.
Available since Asterisk 1.2
| Constructor Summary | |
|---|---|
DBPutAction()
Creates a new empty DBPutAction. |
|
DBPutAction(java.lang.String family,
java.lang.String key,
java.lang.String val)
Creates a new DBPutAction that sets the value of the database entry with the given key in the given family. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAction()
Returns the name of the action. |
java.lang.String |
getFamily()
Returns the family of the key to set. |
java.lang.String |
getKey()
Returns the the key to set. |
java.lang.String |
getVal()
Returns the value to set. |
void |
setFamily(java.lang.String family)
Sets the family of the key to set. |
void |
setKey(java.lang.String key)
Sets the key to set. |
void |
setVal(java.lang.String val)
Sets the value to set. |
| Methods inherited from class net.sf.asterisk.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 |
|---|
public DBPutAction()
public DBPutAction(java.lang.String family,
java.lang.String key,
java.lang.String val)
family - the family of the keykey - the key of the entry to setval - the value to set| Method Detail |
|---|
public java.lang.String getAction()
ManagerAction
getAction in interface ManagerActiongetAction in class AbstractManagerActionpublic java.lang.String getFamily()
public void setFamily(java.lang.String family)
family - the family of the key to set.public java.lang.String getKey()
public void setKey(java.lang.String key)
key - the key to set.public java.lang.String getVal()
public void setVal(java.lang.String val)
val - the value to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||