📄 setcdruserfieldaction.html
字号:
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="SetCdrUserFieldAction()"><!-- --></A><H3>SetCdrUserFieldAction</H3><PRE>public <B>SetCdrUserFieldAction</B>()</PRE><DL><DD>Creates a new empty SetCdrUserFieldAction.<P></DL><HR><A NAME="SetCdrUserFieldAction(java.lang.String, java.lang.String)"><!-- --></A><H3>SetCdrUserFieldAction</H3><PRE>public <B>SetCdrUserFieldAction</B>(java.lang.String channel, java.lang.String userField)</PRE><DL><DD>Creates a new SetCdrUserFieldAction that sets the user field of the call detail record for the given channel to the given value.<P><DL><DT><B>Parameters:</B><DD><CODE>channel</CODE> - the name of the channel<DD><CODE>userField</CODE> - the new value of the userfield<DT><B>Since:</B></DT> <DD>0.2</DD></DL></DL><HR><A NAME="SetCdrUserFieldAction(java.lang.String, java.lang.String, java.lang.Boolean)"><!-- --></A><H3>SetCdrUserFieldAction</H3><PRE>public <B>SetCdrUserFieldAction</B>(java.lang.String channel, java.lang.String userField, java.lang.Boolean append)</PRE><DL><DD>Creates a new SetCDRUserFieldAction that sets the user field of the call detail record for the given channel to the given value.<P><DL><DT><B>Parameters:</B><DD><CODE>channel</CODE> - the name of the channel<DD><CODE>userField</CODE> - the new value of the userfield<DD><CODE>append</CODE> - true to append the value to the cdr user field or false to overwrite<DT><B>Since:</B></DT> <DD>0.2</DD></DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getAction()"><!-- --></A><H3>getAction</H3><PRE>public java.lang.String <B>getAction</B>()</PRE><DL><DD>Returns the name of the action, i.e. "SetCDRUserField".<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/asteriskjava/manager/action/ManagerAction.html#getAction()">getAction</A></CODE> in interface <CODE><A HREF="../../../../org/asteriskjava/manager/action/ManagerAction.html" title="interface in org.asteriskjava.manager.action">ManagerAction</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/asteriskjava/manager/action/AbstractManagerAction.html#getAction()">getAction</A></CODE> in class <CODE><A HREF="../../../../org/asteriskjava/manager/action/AbstractManagerAction.html" title="class in org.asteriskjava.manager.action">AbstractManagerAction</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getChannel()"><!-- --></A><H3>getChannel</H3><PRE>public java.lang.String <B>getChannel</B>()</PRE><DL><DD>Returns the name of the channel to set the cdr user field on.<P><DD><DL></DL></DD></DL><HR><A NAME="setChannel(java.lang.String)"><!-- --></A><H3>setChannel</H3><PRE>public void <B>setChannel</B>(java.lang.String channel)</PRE><DL><DD>Sets the name of the channel to set the cdr user field on.<p> This property is mandatory.<P><DD><DL></DL></DD></DL><HR><A NAME="getUserField()"><!-- --></A><H3>getUserField</H3><PRE>public java.lang.String <B>getUserField</B>()</PRE><DL><DD>Returns the value of the cdr user field to set or append.<P><DD><DL></DL></DD></DL><HR><A NAME="setUserField(java.lang.String)"><!-- --></A><H3>setUserField</H3><PRE>public void <B>setUserField</B>(java.lang.String userField)</PRE><DL><DD>Sets the value of the cdr user field to set or append.<p> This property is mandatory.<P><DD><DL></DL></DD></DL><HR><A NAME="getAppend()"><!-- --></A><H3>getAppend</H3><PRE>public java.lang.Boolean <B>getAppend</B>()</PRE><DL><DD>Returns if the value of the cdr user field is appended or overwritten.<P><DD><DL></DL></DD></DL><HR><A NAME="setAppend(java.lang.Boolean)"><!-- --></A><H3>setAppend</H3><PRE>public void <B>setAppend</B>(java.lang.Boolean append)</PRE><DL><DD>Set to true to append the value to the cdr user field or false to overwrite.<P><DD><DL></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SetCdrUserFieldAction.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>Asterisk-Java</EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../org/asteriskjava/manager/action/RedirectAction.html" title="class in org.asteriskjava.manager.action"><B>PREV CLASS</B></A> <A HREF="../../../../org/asteriskjava/manager/action/SetVarAction.html" title="class in org.asteriskjava.manager.action"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?org/asteriskjava/manager/action/SetCdrUserFieldAction.html" target="_top"><B>FRAMES</B></A> <A HREF="SetCdrUserFieldAction.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright © 2004-2007 Stefan Reuter. All Rights Reserved.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -