001    package railo.runtime.type.trace;
002    
003    import railo.runtime.Component;
004    import railo.runtime.Page;
005    import railo.runtime.PageContext;
006    import railo.runtime.debug.Debugger;
007    import railo.runtime.exp.PageException;
008    import railo.runtime.type.FunctionArgument;
009    import railo.runtime.type.Struct;
010    import railo.runtime.type.UDF;
011    
012    public class TOUDF extends TOObjects implements UDF {
013    
014            private UDF udf;
015            
016            protected TOUDF(Debugger debugger,UDF udf, int type, String category, String text) {
017                    super(debugger,udf,type,category,text);
018            }
019            
020            
021    
022            /**
023             * @see railo.runtime.component.Member#getAccess()
024             */
025            public int getAccess() {
026                    log(null);
027                    return udf.getAccess();
028            }
029    
030    
031            /**
032             * @see railo.runtime.component.Member#getValue()
033             */
034            public Object getValue() {
035                    log(null);
036                    return udf.getValue();
037            }
038    
039    
040            /**
041             * @see railo.runtime.type.UDF#implementation(railo.runtime.PageContext)
042             */
043            public Object implementation(PageContext pageContext) throws Throwable {
044                    log(null);
045                    return udf.implementation(pageContext);
046            }
047    
048    
049            /**
050             * @see railo.runtime.type.UDF#getFunctionArguments()
051             */
052            public FunctionArgument[] getFunctionArguments() {
053                    log(null);
054                    return udf.getFunctionArguments();
055            }
056    
057    
058            /**
059             * @see railo.runtime.type.UDF#getDefaultValue(railo.runtime.PageContext, int)
060             */
061            public Object getDefaultValue(PageContext pc, int index)
062                            throws PageException {
063                    log(null);
064                    return udf.getDefaultValue(pc, index);
065            }
066    
067    
068            /**
069             * @see railo.runtime.type.UDF#getFunctionName()
070             */
071            public String getFunctionName() {
072                    log(null);
073                    return udf.getFunctionName();
074            }
075    
076    
077            /**
078             * @see railo.runtime.type.UDF#getOutput()
079             */
080            public boolean getOutput() {
081                    log(null);
082                    return udf.getOutput();
083            }
084    
085    
086            /**
087             * @see railo.runtime.type.UDF#getReturnType()
088             */
089            public int getReturnType() {
090                    log(null);
091                    return udf.getReturnType();
092            }
093    
094    
095            /**
096             * @see railo.runtime.type.UDF#getReturnFormat()
097             */
098            public int getReturnFormat() {
099                    log(null);
100                    return udf.getReturnFormat();
101            }
102    
103    
104            /**
105             * @see railo.runtime.type.UDF#getSecureJson()
106             */
107            public Boolean getSecureJson() {
108                    log(null);
109                    return udf.getSecureJson();
110            }
111    
112    
113            /**
114             * @see railo.runtime.type.UDF#getVerifyClient()
115             */
116            public Boolean getVerifyClient() {
117                    log(null);
118                    return udf.getVerifyClient();
119            }
120    
121    
122            /**
123             * @see railo.runtime.type.UDF#getReturnTypeAsString()
124             */
125            public String getReturnTypeAsString() {
126                    log(null);
127                    return udf.getReturnTypeAsString();
128            }
129    
130    
131            /**
132             * @see railo.runtime.type.UDF#getDescription()
133             */
134            public String getDescription() {
135                    log(null);
136                    return udf.getDescription();
137            }
138    
139    
140            /**
141             * @see railo.runtime.type.UDF#callWithNamedValues(railo.runtime.PageContext, railo.runtime.type.Struct, boolean)
142             */
143            public Object callWithNamedValues(PageContext pageContext, Struct values,
144                            boolean doIncludePath) throws PageException {
145                    log(null);
146                    return udf.callWithNamedValues(pageContext, values, doIncludePath);
147            }
148    
149    
150            /**
151             * @see railo.runtime.type.UDF#call(railo.runtime.PageContext, java.lang.Object[], boolean)
152             */
153            public Object call(PageContext pageContext, Object[] args,
154                            boolean doIncludePath) throws PageException {
155                    log(null);
156                    return udf.call(pageContext, args, doIncludePath);
157            }
158    
159    
160            /**
161             * @see railo.runtime.type.UDF#getDisplayName()
162             */
163            public String getDisplayName() {
164                    log(null);
165                    return udf.getDisplayName();
166            }
167    
168    
169            /**
170             * @see railo.runtime.type.UDF#getHint()
171             */
172            public String getHint() {
173                    log(null);
174                    return udf.getHint();
175            }
176    
177    
178            /**
179             * @see railo.runtime.type.UDF#getPage()
180             */
181            public Page getPage() {
182                    log(null);
183                    return udf.getPage();
184            }
185    
186    
187            /**
188             * @see railo.runtime.type.UDF#getMetaData(railo.runtime.PageContext)
189             */
190            public Struct getMetaData(PageContext pc) throws PageException {
191                    log(null);
192                    return udf.getMetaData(pc);
193            }
194    
195            /**
196             * @see railo.runtime.type.UDF#duplicate()
197             */
198            public UDF duplicate() {
199                    log(null);
200                    return udf.duplicate();
201            }
202    
203    
204            /**
205             * @see railo.runtime.type.UDF#getOwnerComponent()
206             */
207            public Component getOwnerComponent() {
208                    log(null);
209                    return udf.getOwnerComponent();
210            }
211            
212            
213    }