|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.asterisk.manager.action.AbstractManagerAction net.sf.asterisk.manager.action.SetCDRUserFieldAction
public class SetCDRUserFieldAction
The SetCDRUserFieldAction causes the user field of the call detail record for
the given channel to be changed.
Depending on the value of the append property the value is appended or
overwritten.
The SetCDRUserFieldAction is implemented in
apps/app_setcdruserfield.c
Constructor Summary | |
---|---|
SetCDRUserFieldAction()
Creates a new empty SetCDRUserFieldAction. |
|
SetCDRUserFieldAction(java.lang.String channel,
java.lang.String userField)
Creates a new SetCDRUserFieldAction that sets the user field of the call detail record for the given channel to the given value. |
|
SetCDRUserFieldAction(java.lang.String channel,
java.lang.String userField,
java.lang.Boolean append)
Creates a new SetCDRUserFieldAction that sets the user field of the call detail record for the given channel to the given value. |
Method Summary | |
---|---|
java.lang.String |
getAction()
Returns the name of the action, i.e. |
java.lang.Boolean |
getAppend()
Returns if the value of the cdr user field is appended or overwritten. |
java.lang.String |
getChannel()
Returns the name of the channel to set the cdr user field on. |
java.lang.String |
getUserField()
Returns the value of the cdr user field to set or append. |
void |
setAppend(java.lang.Boolean append)
Set to true to append the value to the cdr user field or false to overwrite. |
void |
setChannel(java.lang.String channel)
Sets the name of the channel to set the cdr user field on. This property is mandatory. |
void |
setUserField(java.lang.String userField)
Sets the value of the cdr user field to set or append. This property is mandatory. |
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 SetCDRUserFieldAction()
public SetCDRUserFieldAction(java.lang.String channel, java.lang.String userField)
channel
- the name of the channeluserField
- the new value of the userfieldpublic SetCDRUserFieldAction(java.lang.String channel, java.lang.String userField, java.lang.Boolean append)
channel
- the name of the channeluserField
- the new value of the userfieldappend
- true to append the value to the cdr user field or false to
overwriteMethod Detail |
---|
public java.lang.String getAction()
getAction
in interface ManagerAction
getAction
in class AbstractManagerAction
public java.lang.String getChannel()
public void setChannel(java.lang.String channel)
public java.lang.String getUserField()
public void setUserField(java.lang.String userField)
public java.lang.Boolean getAppend()
public void setAppend(java.lang.Boolean append)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |