Source Code Cross Referenced for HoGenericTreeNode.java in  » J2EE » WiSerFramework » de » ug2t » channel » ho » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » WiSerFramework » de.ug2t.channel.ho 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        // @@
002:        // @@
003:        /*
004:         * Wi.Ser Framework
005:         *
006:         * LGPL Version: 1.8.1, 20-September-2007  
007:         * Copyright (C) 2005-2006 Dirk von der Weiden <dvdw@imail.de>
008:         *
009:         * This library is free software; you can redistribute it and/or
010:         * modify it under the terms of the GNU Lesser General Public
011:         * License as published by the Free Software Foundation; either
012:         * version 2 of the License, or (at your option) any later version.
013:         *
014:         * This library is distributed in the hope that it will be useful,
015:         * but WITHOUT ANY WARRANTY; without even the implied warranty of
016:         * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
017:         * Lesser General Public License for more details.
018:         *
019:         * You should have received a copy of the GNU Lesser General Public
020:         * License along with this library located in LGPL.txt in the 
021:         * license directory; if not, write to the 
022:         * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
023:         * Boston, MA  02111-1307, USA.
024:         * 
025:         * If this agreement does not cover your requirements, please contact us
026:         * via email to get detailed information about the commercial license 
027:         * or our service offerings!
028:         *
029:         */
030:        // @@
031:        package de.ug2t.channel.ho;
032:
033:        import java.io.*;
034:
035:        import de.ug2t.channel.ho.session.*;
036:        import de.ug2t.kernel.*;
037:        import de.ug2t.unifiedGui.*;
038:        import de.ug2t.unifiedGui.interfaces.*;
039:        import de.ug2t.unifiedGui.views.*;
040:        import de.ug2t.xmlScript.*;
041:
042:        public class HoGenericTreeNode extends UnComponent implements 
043:                IUnIconView, IUnLazyComponent, IUnTreeViewNode {
044:            protected transient IHoSession pdm_session = null;
045:
046:            // @@
047:
048:            public HoGenericTreeNode(IHoSession xSession, String xName)
049:                    throws Exception {
050:                super (xName);
051:                this .pdm_session = xSession;
052:
053:                KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
054:                        "");
055:                // Deklaration
056:                if (this .pdm_session.pcmf_isInTransaction()) {
057:                    ScXmlScript.pcmf_createPBody(l_remCall);
058:                } else {
059:                    ScXmlScript.pcmf_createxScriptString(l_remCall, null);
060:                    ScXmlScript.pcmf_addProc(l_remCall, null);
061:                }
062:                ;
063:                ScXmlScript.pcmf_addDecl(l_remCall, this .pcmf_getRemName(),
064:                        "de.ug2t.kernel.KeTreeNode", "global");
065:                ScXmlScript.pcmf_addDeclPar(l_remCall, xName, "false",
066:                        "java.lang.String");
067:                ScXmlScript.pcmf_addDeclPar(l_remCall, "null", "true",
068:                        "de.ug2t.kernel.KeTreeNode");
069:                ScXmlScript.pcmf_endAll(l_remCall);
070:                this .pdm_session.pcmf_call(l_remCall.toString(), this );
071:
072:                return;
073:            };
074:
075:            public HoGenericTreeNode(String xName) throws Exception {
076:                super (xName);
077:                this .pdm_session = (IHoSession) KeRegisteredObject
078:                        .pcmf_getObjByName(IHoSession.SESSION_NAME);
079:
080:                if (this .pdm_session != null) {
081:                    KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
082:                            "");
083:                    // Deklaration
084:                    if (this .pdm_session.pcmf_isInTransaction()) {
085:                        ScXmlScript.pcmf_createPBody(l_remCall);
086:                    } else {
087:                        ScXmlScript.pcmf_createxScriptString(l_remCall, null);
088:                        ScXmlScript.pcmf_addProc(l_remCall, null);
089:                    }
090:                    ;
091:                    ScXmlScript.pcmf_addDecl(l_remCall, this .pcmf_getRemName(),
092:                            "de.ug2t.kernel.KeTreeNode", "global");
093:                    ScXmlScript.pcmf_addDeclPar(l_remCall, xName, "false",
094:                            "java.lang.String");
095:                    ScXmlScript.pcmf_addDeclPar(l_remCall, "null", "true",
096:                            "de.ug2t.kernel.KeTreeNode");
097:                    ScXmlScript.pcmf_endAll(l_remCall);
098:                    this .pdm_session.pcmf_call(l_remCall.toString(), this );
099:                }
100:                ;
101:
102:                return;
103:            };
104:
105:            public KeTreeNode pcmf_addNode(String xName, KeTreeNode xNode) {
106:                if (pdm_session != null) {
107:                    KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
108:                            "");
109:
110:                    if (this .pdm_session.pcmf_isInTransaction()) {
111:                        ScXmlScript.pcmf_createPBody(l_remCall);
112:                    } else {
113:                        ScXmlScript.pcmf_createxScriptString(l_remCall, null);
114:                        ScXmlScript.pcmf_addProc(l_remCall, null);
115:                    }
116:                    ;
117:                    ScXmlScript.pcmf_addCall(l_remCall, null, this 
118:                            .pcmf_getRemName(), "pcmf_addNode");
119:                    ScXmlScript.pcmf_addCallPar(l_remCall, xName, "false",
120:                            "java.lang.String");
121:                    ScXmlScript.pcmf_addCallPar(l_remCall, xNode
122:                            .pcmf_getRemName(), "true",
123:                            "de.ug2t.kernel.KeTreeNode");
124:                    ScXmlScript.pcmf_endAll(l_remCall);
125:
126:                    this .pdm_session.pcmf_call(l_remCall.toString(), this );
127:                }
128:                ;
129:                return (super .pcmf_addNode(xName, xNode));
130:            };
131:
132:            public KeTreeNode pcmf_removeNode(String xName) {
133:                if (pdm_session != null) {
134:                    KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
135:                            "");
136:
137:                    if (this .pdm_session.pcmf_isInTransaction()) {
138:                        ScXmlScript.pcmf_createPBody(l_remCall);
139:                    } else {
140:                        ScXmlScript.pcmf_createxScriptString(l_remCall, null);
141:                        ScXmlScript.pcmf_addProc(l_remCall, null);
142:                    }
143:                    ;
144:                    ScXmlScript.pcmf_addCall(l_remCall, null, this 
145:                            .pcmf_getRemName(), "pcmf_removeNode");
146:                    ScXmlScript.pcmf_addCallPar(l_remCall, xName, "false",
147:                            "java.lang.String");
148:                    ScXmlScript.pcmf_endAll(l_remCall);
149:
150:                    this .pdm_session.pcmf_call(l_remCall.toString(), this );
151:                }
152:                ;
153:
154:                KeTreeNode l_ret = super .pcmf_removeNode(xName);
155:
156:                return (l_ret);
157:            };
158:
159:            public KeTreeNode pcmf_removeNode(KeTreeNode xNode) {
160:                if (pdm_session != null) {
161:                    KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
162:                            "");
163:
164:                    if (this .pdm_session.pcmf_isInTransaction()) {
165:                        ScXmlScript.pcmf_createPBody(l_remCall);
166:                    } else {
167:                        ScXmlScript.pcmf_createxScriptString(l_remCall, null);
168:                        ScXmlScript.pcmf_addProc(l_remCall, null);
169:                    }
170:                    ;
171:                    ScXmlScript.pcmf_addCall(l_remCall, null, this 
172:                            .pcmf_getRemName(), "pcmf_removeNode");
173:                    ScXmlScript.pcmf_addCallPar(l_remCall, xNode
174:                            .pcmf_getRemName(), "true",
175:                            "de.ug2t.kernel.KeTreeNode");
176:                    ScXmlScript.pcmf_endAll(l_remCall);
177:
178:                    this .pdm_session.pcmf_call(l_remCall.toString(), this );
179:                }
180:                ;
181:
182:                KeTreeNode l_ret = super .pcmf_removeNode(xNode);
183:
184:                return (l_ret);
185:            };
186:
187:            public KeTreeElement pcmf_addElement(String xName,
188:                    KeTreeElement xNode) {
189:                if (pdm_session != null) {
190:                    KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
191:                            "");
192:
193:                    if (this .pdm_session.pcmf_isInTransaction()) {
194:                        ScXmlScript.pcmf_createPBody(l_remCall);
195:                    } else {
196:                        ScXmlScript.pcmf_createxScriptString(l_remCall, null);
197:                        ScXmlScript.pcmf_addProc(l_remCall, null);
198:                    }
199:                    ;
200:                    ScXmlScript.pcmf_addCall(l_remCall, null, this 
201:                            .pcmf_getRemName(), "pcmf_addElement");
202:                    ScXmlScript.pcmf_addCallPar(l_remCall, xName, "false",
203:                            "java.lang.String");
204:                    ScXmlScript.pcmf_addCallPar(l_remCall, xNode
205:                            .pcmf_getRemName(), "true",
206:                            "de.ug2t.kernel.KeTreeElement");
207:                    ScXmlScript.pcmf_endAll(l_remCall);
208:
209:                    this .pdm_session.pcmf_call(l_remCall.toString(), this );
210:                }
211:                ;
212:                return (super .pcmf_addElement(xName, xNode));
213:            };
214:
215:            public KeTreeElement pcmf_removeElement(String xName) {
216:                if (pdm_session != null) {
217:                    KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
218:                            "");
219:
220:                    if (this .pdm_session.pcmf_isInTransaction()) {
221:                        ScXmlScript.pcmf_createPBody(l_remCall);
222:                    } else {
223:                        ScXmlScript.pcmf_createxScriptString(l_remCall, null);
224:                        ScXmlScript.pcmf_addProc(l_remCall, null);
225:                    }
226:                    ;
227:                    ScXmlScript.pcmf_addCall(l_remCall, null, this 
228:                            .pcmf_getRemName(), "pcmf_addElement");
229:                    ScXmlScript.pcmf_addCallPar(l_remCall, xName, "false",
230:                            "java.lang.String");
231:                    ScXmlScript.pcmf_endAll(l_remCall);
232:
233:                    this .pdm_session.pcmf_call(l_remCall.toString(), this );
234:                }
235:                ;
236:                KeTreeElement l_ret = super .pcmf_removeElement(xName);
237:
238:                return (l_ret);
239:            };
240:
241:            public KeTreeElement pcmf_removeElement(KeTreeElement xNode) {
242:                if (pdm_session != null) {
243:                    KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
244:                            "");
245:
246:                    if (this .pdm_session.pcmf_isInTransaction()) {
247:                        ScXmlScript.pcmf_createPBody(l_remCall);
248:                    } else {
249:                        ScXmlScript.pcmf_createxScriptString(l_remCall, null);
250:                        ScXmlScript.pcmf_addProc(l_remCall, null);
251:                    }
252:                    ;
253:                    ScXmlScript.pcmf_addCall(l_remCall, null, this 
254:                            .pcmf_getRemName(), "pcmf_addElement");
255:                    ScXmlScript.pcmf_addCallPar(l_remCall, xNode
256:                            .pcmf_getRemName(), "true",
257:                            "de.ug2t.kernel.KeTreeElement");
258:                    ScXmlScript.pcmf_endAll(l_remCall);
259:
260:                    this .pdm_session.pcmf_call(l_remCall.toString(), this );
261:                }
262:                ;
263:                KeTreeElement l_ret = super .pcmf_removeElement(xNode);
264:
265:                return (l_ret);
266:            };
267:
268:            public void pcmf_delete() throws Exception {
269:                if (this .pdm_deleted == true)
270:                    return;
271:
272:                String l_remName = this .pcmf_getRemName();
273:                super .pcmf_delete();
274:
275:                if (pdm_session != null
276:                        && pdm_session.pcmf_isClientSide() == false) {
277:                    if (l_remName != null) {
278:                        KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
279:                                "");
280:
281:                        if (this .pdm_session.pcmf_isInTransaction()) {
282:                            ScXmlScript.pcmf_createPBody(l_remCall);
283:                        } else {
284:                            ScXmlScript.pcmf_createxScriptString(l_remCall,
285:                                    null);
286:                            ScXmlScript.pcmf_addProc(l_remCall, null);
287:                        }
288:                        ;
289:
290:                        ScXmlScript.pcmf_addCall(l_remCall, null, l_remName,
291:                                "pcmf_delete");
292:                        ScXmlScript.pcmf_endAll(l_remCall);
293:
294:                        this .pdm_session.pcmf_call(l_remCall.toString(), this );
295:                    }
296:                }
297:                ;
298:
299:                return;
300:            }
301:
302:            public void pcmf_setValue(Object xValue) {
303:                if (pdm_session != null) {
304:                    KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
305:                            "");
306:
307:                    if (this .pdm_session.pcmf_isInTransaction()) {
308:                        ScXmlScript.pcmf_createPBody(l_remCall);
309:                    } else {
310:                        ScXmlScript.pcmf_createxScriptString(l_remCall, null);
311:                        ScXmlScript.pcmf_addProc(l_remCall, null);
312:                    }
313:                    ;
314:                    ScXmlScript.pcmf_addCall(l_remCall, null, this 
315:                            .pcmf_getRemName(), "pcmf_setValue");
316:
317:                    if (xValue instanceof  UnComponent)
318:                        ScXmlScript.pcmf_addCallPar(l_remCall,
319:                                ((UnComponent) xValue).pcmf_getRemName(),
320:                                "true", "java.lang.Object");
321:                    else if (xValue != null)
322:                        ScXmlScript.pcmf_addCallPar(l_remCall, xValue
323:                                .toString(), "false", "java.lang.Object");
324:                    else
325:                        ScXmlScript.pcmf_addCallPar(l_remCall, "null", "false",
326:                                "java.lang.Object");
327:
328:                    ScXmlScript.pcmf_endAll(l_remCall);
329:
330:                    this .pdm_session.pcmf_call(l_remCall.toString(), this );
331:                }
332:                ;
333:                super .pcmf_setValue(xValue);
334:
335:                return;
336:            };
337:
338:            public void pcmf_setName(String xValue) {
339:                if (pdm_session != null) {
340:                    KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
341:                            "");
342:
343:                    if (this .pdm_session.pcmf_isInTransaction()) {
344:                        ScXmlScript.pcmf_createPBody(l_remCall);
345:                    } else {
346:                        ScXmlScript.pcmf_createxScriptString(l_remCall, null);
347:                        ScXmlScript.pcmf_addProc(l_remCall, null);
348:                    }
349:                    ;
350:                    ScXmlScript.pcmf_addCall(l_remCall, null, this 
351:                            .pcmf_getRemName(), "pcmf_setName");
352:                    ScXmlScript.pcmf_addCallPar(l_remCall, xValue, "false",
353:                            "java.lang.String");
354:
355:                    ScXmlScript.pcmf_endAll(l_remCall);
356:
357:                    this .pdm_session.pcmf_call(l_remCall.toString(), this );
358:                }
359:                ;
360:                super .pcmf_setName(xValue);
361:
362:                return;
363:            };
364:
365:            /**
366:             * <p>
367:             * Does...
368:             * </p>
369:             * <p>
370:             * 
371:             * @return a Type with
372:             *         </p>
373:             *         <p>
374:             * @param
375:             *         </p>
376:             */
377:            public void pcmf_setView(IKeView xView) {
378:                if (pdm_session != null && xView instanceof  UnIconValueView) {
379:                    KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
380:                            "");
381:
382:                    if (this .pdm_session.pcmf_isInTransaction()) {
383:                        ScXmlScript.pcmf_createPBody(l_remCall);
384:                    } else {
385:                        ScXmlScript.pcmf_createxScriptString(l_remCall, null);
386:                        ScXmlScript.pcmf_addProc(l_remCall, null);
387:                    }
388:                    ;
389:                    ScXmlScript.pcmf_addCall(l_remCall, null, this 
390:                            .pcmf_getRemName(), "pcmf_setView");
391:                    ScXmlScript.pcmf_addCallPar(l_remCall,
392:                            ((UnIconValueView) xView).pcmf_getRemName(),
393:                            "true", "de.ug2t.kernel.IKeView");
394:                    ScXmlScript.pcmf_endAll(l_remCall);
395:
396:                    this .pdm_session.pcmf_call(l_remCall.toString(), this );
397:                }
398:                ;
399:                super .pcmf_setView(xView);
400:            }
401:
402:            public void pcmf_setIcon(IUnImage xIcon) {
403:                IKeView l_view = this .pcmf_getView();
404:                if (l_view instanceof  UnIconValueView) {
405:                    ((UnIconValueView) l_view).pcmf_setIcon(xIcon);
406:                    return;
407:                } else
408:                    this .pcmf_setView(new UnIconValueView(xIcon));
409:            }
410:
411:            public IUnImage pcmf_getIcon() {
412:                IKeView l_view = this .pcmf_getView();
413:                if (l_view instanceof  UnIconValueView)
414:                    return (((UnIconValueView) l_view).pcmf_getIcon());
415:                else
416:                    return (null);
417:            };
418:
419:            public void pcmf_disable() {
420:                if (pdm_session != null) {
421:                    KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
422:                            "");
423:
424:                    if (this .pdm_session.pcmf_isInTransaction()) {
425:                        ScXmlScript.pcmf_createPBody(l_remCall);
426:                    } else {
427:                        ScXmlScript.pcmf_createxScriptString(l_remCall, null);
428:                        ScXmlScript.pcmf_addProc(l_remCall, null);
429:                    }
430:                    ;
431:                    ScXmlScript.pcmf_addCall(l_remCall, null, this 
432:                            .pcmf_getRemName(), "pcmf_disable");
433:                    ScXmlScript.pcmf_endAll(l_remCall);
434:
435:                    this .pdm_session.pcmf_call(l_remCall.toString(), this );
436:                }
437:                ;
438:                super .pcmf_disable();
439:            };
440:
441:            public void pcmf_disableThis() {
442:                if (pdm_session != null) {
443:                    KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
444:                            "");
445:
446:                    if (this .pdm_session.pcmf_isInTransaction()) {
447:                        ScXmlScript.pcmf_createPBody(l_remCall);
448:                    } else {
449:                        ScXmlScript.pcmf_createxScriptString(l_remCall, null);
450:                        ScXmlScript.pcmf_addProc(l_remCall, null);
451:                    }
452:                    ;
453:                    ScXmlScript.pcmf_addCall(l_remCall, null, this 
454:                            .pcmf_getRemName(), "pcmf_disableThis");
455:                    ScXmlScript.pcmf_endAll(l_remCall);
456:
457:                    this .pdm_session.pcmf_call(l_remCall.toString(), this );
458:                }
459:                ;
460:                super .pcmf_disableThis();
461:            };
462:
463:            public void pcmf_enableThis() {
464:                if (pdm_session != null) {
465:                    KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
466:                            "");
467:
468:                    if (this .pdm_session.pcmf_isInTransaction()) {
469:                        ScXmlScript.pcmf_createPBody(l_remCall);
470:                    } else {
471:                        ScXmlScript.pcmf_createxScriptString(l_remCall, null);
472:                        ScXmlScript.pcmf_addProc(l_remCall, null);
473:                    }
474:                    ;
475:                    ScXmlScript.pcmf_addCall(l_remCall, null, this 
476:                            .pcmf_getRemName(), "pcmf_enableThis");
477:                    ScXmlScript.pcmf_endAll(l_remCall);
478:
479:                    this .pdm_session.pcmf_call(l_remCall.toString(), this );
480:                }
481:                ;
482:                super .pcmf_enableThis();
483:            };
484:
485:            public void pcmf_hide() {
486:                if (pdm_session != null) {
487:                    KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
488:                            "");
489:
490:                    if (this .pdm_session.pcmf_isInTransaction()) {
491:                        ScXmlScript.pcmf_createPBody(l_remCall);
492:                    } else {
493:                        ScXmlScript.pcmf_createxScriptString(l_remCall, null);
494:                        ScXmlScript.pcmf_addProc(l_remCall, null);
495:                    }
496:                    ;
497:                    ScXmlScript.pcmf_addCall(l_remCall, null, this 
498:                            .pcmf_getRemName(), "pcmf_hide");
499:                    ScXmlScript.pcmf_endAll(l_remCall);
500:
501:                    this .pdm_session.pcmf_call(l_remCall.toString(), this );
502:                }
503:                ;
504:                super .pcmf_hide();
505:            };
506:
507:            public void pcmf_unhide() {
508:                if (pdm_session != null) {
509:                    KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
510:                            "");
511:
512:                    if (this .pdm_session.pcmf_isInTransaction()) {
513:                        ScXmlScript.pcmf_createPBody(l_remCall);
514:                    } else {
515:                        ScXmlScript.pcmf_createxScriptString(l_remCall, null);
516:                        ScXmlScript.pcmf_addProc(l_remCall, null);
517:                    }
518:                    ;
519:                    ScXmlScript.pcmf_addCall(l_remCall, null, this 
520:                            .pcmf_getRemName(), "pcmf_unhide");
521:                    ScXmlScript.pcmf_endAll(l_remCall);
522:
523:                    this .pdm_session.pcmf_call(l_remCall.toString(), this );
524:                }
525:                ;
526:                super .pcmf_unhide();
527:            };
528:
529:            public void pcmf_enable() {
530:                if (pdm_session != null) {
531:                    KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
532:                            "");
533:
534:                    if (this .pdm_session.pcmf_isInTransaction()) {
535:                        ScXmlScript.pcmf_createPBody(l_remCall);
536:                    } else {
537:                        ScXmlScript.pcmf_createxScriptString(l_remCall, null);
538:                        ScXmlScript.pcmf_addProc(l_remCall, null);
539:                    }
540:                    ;
541:                    ScXmlScript.pcmf_addCall(l_remCall, null, this 
542:                            .pcmf_getRemName(), "pcmf_enable");
543:                    ScXmlScript.pcmf_endAll(l_remCall);
544:
545:                    this .pdm_session.pcmf_call(l_remCall.toString(), this );
546:                }
547:                ;
548:                super .pcmf_enable();
549:            };
550:
551:            public void pcmf_reRegister(String xName) {
552:                if (pdm_session != null) {
553:                    KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
554:                            "");
555:
556:                    if (this .pdm_session.pcmf_isInTransaction()) {
557:                        ScXmlScript.pcmf_createPBody(l_remCall);
558:                    } else {
559:                        ScXmlScript.pcmf_createxScriptString(l_remCall, null);
560:                        ScXmlScript.pcmf_addProc(l_remCall, null);
561:                    }
562:                    ;
563:                    ScXmlScript.pcmf_addCall(l_remCall, null, this 
564:                            .pcmf_getRemName(), "pcmf_registerGlobal2NewName");
565:                    ScXmlScript.pcmf_addCallPar(l_remCall, xName, "false",
566:                            "java.lang.String");
567:                    ScXmlScript.pcmf_endAll(l_remCall);
568:
569:                    this .pdm_session.pcmf_call(l_remCall.toString(), this );
570:                }
571:
572:                this .pcmf_unRegister();
573:                this .pcmf_register(xName);
574:
575:                return;
576:            };
577:
578:            /**
579:             * <p>
580:             * Does...
581:             * </p>
582:             * <p>
583:             * 
584:             * @return a Type with
585:             *         </p>
586:             *         <p>
587:             * @param
588:             *         </p>
589:             */
590:            public KeTreeElement pcmf_addElement(String xName,
591:                    KeTreeElement xNode, KeTreeElement xBehind) {
592:                if (pdm_session != null) {
593:                    KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
594:                            "");
595:
596:                    if (this .pdm_session.pcmf_isInTransaction()) {
597:                        ScXmlScript.pcmf_createPBody(l_remCall);
598:                    } else {
599:                        ScXmlScript.pcmf_createxScriptString(l_remCall, null);
600:                        ScXmlScript.pcmf_addProc(l_remCall, null);
601:                    }
602:                    ;
603:                    ScXmlScript.pcmf_addCall(l_remCall, null, this 
604:                            .pcmf_getRemName(), "pcmf_addElement");
605:                    ScXmlScript.pcmf_addCallPar(l_remCall, xName, "false",
606:                            "java.lang.String");
607:                    ScXmlScript.pcmf_addCallPar(l_remCall, xNode
608:                            .pcmf_getRemName(), "true",
609:                            "de.ug2t.kernel.KeTreeElement");
610:                    ScXmlScript.pcmf_addCallPar(l_remCall, xBehind
611:                            .pcmf_getRemName(), "true",
612:                            "de.ug2t.kernel.KeTreeElement");
613:                    ScXmlScript.pcmf_endAll(l_remCall);
614:
615:                    this .pdm_session.pcmf_call(l_remCall.toString(), this );
616:                }
617:                ;
618:
619:                return super .pcmf_addElement(xName, xNode, xBehind);
620:            }
621:
622:            /**
623:             * <p>
624:             * Does...
625:             * </p>
626:             * <p>
627:             * 
628:             * @return a Type with
629:             *         </p>
630:             *         <p>
631:             * @param
632:             *         </p>
633:             */
634:            public KeTreeElement pcmf_addElement(String xName,
635:                    KeTreeElement xNode, int xIdx) {
636:                if (pdm_session != null) {
637:                    KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
638:                            "");
639:
640:                    if (this .pdm_session.pcmf_isInTransaction()) {
641:                        ScXmlScript.pcmf_createPBody(l_remCall);
642:                    } else {
643:                        ScXmlScript.pcmf_createxScriptString(l_remCall, null);
644:                        ScXmlScript.pcmf_addProc(l_remCall, null);
645:                    }
646:                    ;
647:                    ScXmlScript.pcmf_addCall(l_remCall, null, this 
648:                            .pcmf_getRemName(), "pcmf_addElement");
649:                    ScXmlScript.pcmf_addCallPar(l_remCall, xName, "false",
650:                            "java.lang.String");
651:                    ScXmlScript.pcmf_addCallPar(l_remCall, xNode
652:                            .pcmf_getRemName(), "true",
653:                            "de.ug2t.kernel.KeTreeElement");
654:                    ScXmlScript.pcmf_addCallPar(l_remCall, Integer
655:                            .toString(xIdx), "false", "int");
656:                    ScXmlScript.pcmf_endAll(l_remCall);
657:
658:                    this .pdm_session.pcmf_call(l_remCall.toString(), this );
659:                }
660:                ;
661:
662:                return super .pcmf_addElement(xName, xNode, xIdx);
663:            }
664:
665:            /**
666:             * <p>
667:             * Does...
668:             * </p>
669:             * <p>
670:             * 
671:             * @return a Type with
672:             *         </p>
673:             *         <p>
674:             * @param
675:             *         </p>
676:             */
677:            public KeTreeNode pcmf_addNode(String xName, KeTreeNode xNode,
678:                    KeTreeElement xBehind) {
679:                if (pdm_session != null) {
680:                    KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
681:                            "");
682:
683:                    if (this .pdm_session.pcmf_isInTransaction()) {
684:                        ScXmlScript.pcmf_createPBody(l_remCall);
685:                    } else {
686:                        ScXmlScript.pcmf_createxScriptString(l_remCall, null);
687:                        ScXmlScript.pcmf_addProc(l_remCall, null);
688:                    }
689:                    ;
690:                    ScXmlScript.pcmf_addCall(l_remCall, null, this 
691:                            .pcmf_getRemName(), "pcmf_addNode");
692:                    ScXmlScript.pcmf_addCallPar(l_remCall, xName, "false",
693:                            "java.lang.String");
694:                    ScXmlScript.pcmf_addCallPar(l_remCall, xNode
695:                            .pcmf_getRemName(), "true",
696:                            "de.ug2t.kernel.KeTreeNode");
697:                    ScXmlScript.pcmf_addCallPar(l_remCall, xBehind
698:                            .pcmf_getRemName(), "true",
699:                            "de.ug2t.kernel.KeTreeElement");
700:                    ScXmlScript.pcmf_endAll(l_remCall);
701:
702:                    this .pdm_session.pcmf_call(l_remCall.toString(), this );
703:                }
704:                ;
705:
706:                return super .pcmf_addNode(xName, xNode, xBehind);
707:            }
708:
709:            /**
710:             * <p>
711:             * Does...
712:             * </p>
713:             * <p>
714:             * 
715:             * @return a Type with
716:             *         </p>
717:             *         <p>
718:             * @param
719:             *         </p>
720:             */
721:            public KeTreeNode pcmf_addNode(String xName, KeTreeNode xNode,
722:                    int xIdx) {
723:                if (pdm_session != null) {
724:                    KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
725:                            "");
726:
727:                    if (this .pdm_session.pcmf_isInTransaction()) {
728:                        ScXmlScript.pcmf_createPBody(l_remCall);
729:                    } else {
730:                        ScXmlScript.pcmf_createxScriptString(l_remCall, null);
731:                        ScXmlScript.pcmf_addProc(l_remCall, null);
732:                    }
733:                    ;
734:                    ScXmlScript.pcmf_addCall(l_remCall, null, this 
735:                            .pcmf_getRemName(), "pcmf_addNode");
736:                    ScXmlScript.pcmf_addCallPar(l_remCall, xName, "false",
737:                            "java.lang.String");
738:                    ScXmlScript.pcmf_addCallPar(l_remCall, xNode
739:                            .pcmf_getRemName(), "true",
740:                            "de.ug2t.kernel.KeTreeNode");
741:                    ScXmlScript.pcmf_addCallPar(l_remCall, Integer
742:                            .toString(xIdx), "false", "int");
743:                    ScXmlScript.pcmf_endAll(l_remCall);
744:
745:                    this .pdm_session.pcmf_call(l_remCall.toString(), this );
746:                }
747:                ;
748:
749:                return super .pcmf_addNode(xName, xNode, xIdx);
750:            }
751:
752:            public void pcmf_setTpl(String xTpl) {
753:                if (pdm_session != null) {
754:                    KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
755:                            "");
756:
757:                    if (this .pdm_session.pcmf_isInTransaction()) {
758:                        ScXmlScript.pcmf_createPBody(l_remCall);
759:                    } else {
760:                        ScXmlScript.pcmf_createxScriptString(l_remCall, null);
761:                        ScXmlScript.pcmf_addProc(l_remCall, null);
762:                    }
763:                    ;
764:                    ScXmlScript.pcmf_addCall(l_remCall, null, this 
765:                            .pcmf_getRemName(), "pcmf_setTpl");
766:
767:                    if (xTpl == null)
768:                        ScXmlScript.pcmf_addCallPar(l_remCall, "null", "true",
769:                                "java.lang.String");
770:                    else
771:                        ScXmlScript.pcmf_addCallPar(l_remCall, xTpl, "false",
772:                                "java.lang.String");
773:
774:                    ScXmlScript.pcmf_endAll(l_remCall);
775:
776:                    this .pdm_session.pcmf_call(l_remCall.toString(), this );
777:                }
778:
779:                super .pcmf_setTpl(xTpl);
780:            }
781:
782:            public void pcmf_setTpl() {
783:                if (pdm_session != null) {
784:                    KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
785:                            "");
786:
787:                    if (this .pdm_session.pcmf_isInTransaction()) {
788:                        ScXmlScript.pcmf_createPBody(l_remCall);
789:                    } else {
790:                        ScXmlScript.pcmf_createxScriptString(l_remCall, null);
791:                        ScXmlScript.pcmf_addProc(l_remCall, null);
792:                    }
793:                    ;
794:                    ScXmlScript.pcmf_addCall(l_remCall, null, this 
795:                            .pcmf_getRemName(), "pcmf_setTpl");
796:                    ScXmlScript.pcmf_endAll(l_remCall);
797:
798:                    this .pdm_session.pcmf_call(l_remCall.toString(), this );
799:                }
800:
801:                super .pcmf_setTpl();
802:            }
803:
804:            public final void pcmf_clearAndRelease() {
805:                String l_remName = this .pcmf_getRemName();
806:
807:                if (pdm_session != null && l_remName != null) {
808:                    KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
809:                            "");
810:
811:                    if (this .pdm_session.pcmf_isInTransaction()) {
812:                        ScXmlScript.pcmf_createPBody(l_remCall);
813:                    } else {
814:                        ScXmlScript.pcmf_createxScriptString(l_remCall, null);
815:                        ScXmlScript.pcmf_addProc(l_remCall, null);
816:                    }
817:                    ;
818:
819:                    ScXmlScript.pcmf_addCall(l_remCall, null, l_remName,
820:                            "pcmf_clearAndRelease");
821:                    ScXmlScript.pcmf_endAll(l_remCall);
822:
823:                    this .pdm_session.pcmf_call(l_remCall.toString(), this );
824:
825:                    this .pdm_session.pcmf_beginTr();
826:                    super .pcmf_clearAndRelease();
827:                    this .pdm_session.pcmf_rollbackTr();
828:                } else
829:                    super .pcmf_clearAndRelease();
830:
831:                return;
832:            }
833:
834:            public final void pcmf_clear() {
835:                String l_remName = this .pcmf_getRemName();
836:
837:                if (pdm_session != null && l_remName != null) {
838:                    KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
839:                            "");
840:
841:                    if (this .pdm_session.pcmf_isInTransaction()) {
842:                        ScXmlScript.pcmf_createPBody(l_remCall);
843:                    } else {
844:                        ScXmlScript.pcmf_createxScriptString(l_remCall, null);
845:                        ScXmlScript.pcmf_addProc(l_remCall, null);
846:                    }
847:                    ;
848:
849:                    ScXmlScript.pcmf_addCall(l_remCall, null, l_remName,
850:                            "pcmf_clear");
851:                    ScXmlScript.pcmf_endAll(l_remCall);
852:
853:                    this .pdm_session.pcmf_call(l_remCall.toString(), this );
854:
855:                    this .pdm_session.pcmf_beginTr();
856:                    super .pcmf_clear();
857:                    this .pdm_session.pcmf_rollbackTr();
858:                } else
859:                    super .pcmf_clear();
860:
861:                return;
862:            }
863:
864:            public final void pcmf_releaseSubs() {
865:                String l_remName = this .pcmf_getRemName();
866:
867:                if (pdm_session != null && l_remName != null) {
868:                    KeStringTemplateWrapper l_remCall = new KeStringTemplateWrapper(
869:                            "");
870:
871:                    if (this .pdm_session.pcmf_isInTransaction()) {
872:                        ScXmlScript.pcmf_createPBody(l_remCall);
873:                    } else {
874:                        ScXmlScript.pcmf_createxScriptString(l_remCall, null);
875:                        ScXmlScript.pcmf_addProc(l_remCall, null);
876:                    }
877:                    ;
878:
879:                    ScXmlScript.pcmf_addCall(l_remCall, null, l_remName,
880:                            "pcmf_releaseSubs");
881:                    ScXmlScript.pcmf_endAll(l_remCall);
882:
883:                    this.pdm_session.pcmf_call(l_remCall.toString(), this);
884:
885:                    this.pdm_session.pcmf_beginTr();
886:                    super.pcmf_releaseSubs();
887:                    this.pdm_session.pcmf_rollbackTr();
888:                } else
889:                    super.pcmf_releaseSubs();
890:
891:                return;
892:            }
893:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.