Source Code Cross Referenced for DocumentOperationForm.java in  » ERP-CRM-Financial » Kuali-Financial-System » edu » iu » uis » eden » documentoperation » web » 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 » ERP CRM Financial » Kuali Financial System » edu.iu.uis.eden.documentoperation.web 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * Copyright 2005-2006 The Kuali Foundation.
003:         *
004:         *
005:         * Licensed under the Educational Community License, Version 1.0 (the "License");
006:         * you may not use this file except in compliance with the License.
007:         * You may obtain a copy of the License at
008:         *
009:         * http://www.opensource.org/licenses/ecl1.php
010:         *
011:         * Unless required by applicable law or agreed to in writing, software
012:         * distributed under the License is distributed on an "AS IS" BASIS,
013:         * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014:         * See the License for the specific language governing permissions and
015:         * limitations under the License.
016:         */
017:        package edu.iu.uis.eden.documentoperation.web;
018:
019:        import java.util.ArrayList;
020:        import java.util.List;
021:        import java.util.Map;
022:
023:        import org.apache.commons.collections.Factory;
024:        import org.apache.commons.collections.ListUtils;
025:        import org.apache.struts.action.ActionForm;
026:
027:        import edu.iu.uis.eden.EdenConstants;
028:        import edu.iu.uis.eden.engine.node.Branch;
029:        import edu.iu.uis.eden.engine.node.RouteNodeInstance;
030:        import edu.iu.uis.eden.routeheader.DocumentRouteHeaderValue;
031:
032:        /**
033:         * struts form bean for {@link DocumentOperationAction}.
034:         *
035:         * @author shenl
036:         */
037:        public class DocumentOperationForm extends ActionForm {
038:
039:            private static final long serialVersionUID = 2994179393392218743L;
040:            private DocumentRouteHeaderValue routeHeader;
041:            private String methodToCall = "";
042:            private String routeHeaderId;
043:
044:            private List actionRequestOps = new ArrayList();
045:            private List actionTakenOps = new ArrayList();
046:            private List actionItemOps = new ArrayList();
047:
048:            private String routeHeaderOp;
049:
050:            private String statusModDate;
051:            private String createDate;
052:            private String approvedDate;
053:            private String finalizedDate;
054:            private String routeStatusDate;
055:            private String routeLevelDate;
056:            private String lookupableImplServiceName;
057:            private String lookupType;
058:            private Map docStatuses = EdenConstants.DOCUMENT_STATUSES;
059:            private Map actionRequestCds = EdenConstants.ACTION_REQUEST_CD;
060:            private Map actionRequestStatuses = EdenConstants.ACTION_REQUEST_STATUS;
061:            private Map actionRequestRecipientTypes = EdenConstants.ACTION_REQUEST_RECIPIENT_TYPE;
062:            private Map actionTakenCds = EdenConstants.ACTION_TAKEN_CD;
063:            private List routeModules;
064:            private String routeModuleName;
065:
066:            private String lookupInvocationModule;
067:            private String lookupInvocationField;
068:            private String lookupInvocationIndex;
069:
070:            //variabes for RouteNodeInstances and branches
071:            private List routeNodeInstances = ListUtils.lazyList(
072:                    new ArrayList(), new Factory() {
073:                        public Object create() {
074:                            return new RouteNodeInstance();
075:                        }
076:                    });
077:
078:            private List routeNodeInstanceOps = new ArrayList();
079:            private List branches = ListUtils.lazyList(new ArrayList(),
080:                    new Factory() {
081:                        public Object create() {
082:                            return new Branch();
083:                        }
084:                    });
085:            private List branchOps = new ArrayList();
086:            private List nodeStateDeleteOps = new ArrayList();
087:            private String nodeStatesDelete;
088:            private String branchStatesDelete;
089:            private String initialNodeInstances;
090:
091:            private String annotation;
092:
093:            private String blanketApproveUser;
094:            private String blanketApproveActionTakenId;
095:            private String blanketApproveNodes;
096:            private String actionInvocationUser;
097:            private String actionInvocationActionItemId;
098:            private String actionInvocationActionCode;
099:
100:            public String getAnnotation() {
101:                return annotation;
102:            }
103:
104:            public void setAnnotation(String annotation) {
105:                this .annotation = annotation;
106:            }
107:
108:            public String getInitialNodeInstances() {
109:                return initialNodeInstances;
110:            }
111:
112:            public void setInitialNodeInstances(String initialNodeInstances) {
113:                this .initialNodeInstances = initialNodeInstances;
114:            }
115:
116:            public String getNodeStatesDelete() {
117:                return nodeStatesDelete;
118:            }
119:
120:            public void setNodeStatesDelete(String nodeStatesDelete) {
121:                this .nodeStatesDelete = nodeStatesDelete;
122:            }
123:
124:            public String getBranchStatesDelete() {
125:                return branchStatesDelete;
126:            }
127:
128:            public void setBranchStatesDelete(String branchStatesDelete) {
129:                this .branchStatesDelete = branchStatesDelete;
130:            }
131:
132:            public DocumentOperationForm() {
133:                routeHeader = new DocumentRouteHeaderValue();
134:            }
135:
136:            public String getMethodToCall() {
137:                return methodToCall;
138:            }
139:
140:            public void setMethodToCall(String methodToCall) {
141:                this .methodToCall = methodToCall;
142:            }
143:
144:            public DocumentRouteHeaderValue getRouteHeader() {
145:                return routeHeader;
146:            }
147:
148:            public void setRouteHeader(DocumentRouteHeaderValue routeHeader) {
149:                this .routeHeader = routeHeader;
150:            }
151:
152:            public DocOperationIndexedParameter getActionRequestOp(int index) {
153:                while (actionRequestOps.size() <= index) {
154:                    actionRequestOps.add(new DocOperationIndexedParameter(
155:                            new Integer(index), EdenConstants.NOOP));
156:                }
157:                return (DocOperationIndexedParameter) getActionRequestOps()
158:                        .get(index);
159:            }
160:
161:            public DocOperationIndexedParameter getActionTakenOp(int index) {
162:                while (actionTakenOps.size() <= index) {
163:                    actionTakenOps.add(new DocOperationIndexedParameter(
164:                            new Integer(index), EdenConstants.NOOP));
165:                }
166:                return (DocOperationIndexedParameter) getActionTakenOps().get(
167:                        index);
168:            }
169:
170:            public DocOperationIndexedParameter getRouteNodeInstanceOp(int index) {
171:                while (routeNodeInstanceOps.size() <= index) {
172:                    routeNodeInstanceOps.add(new DocOperationIndexedParameter(
173:                            new Integer(index), EdenConstants.NOOP));
174:                }
175:                return (DocOperationIndexedParameter) getRouteNodeInstanceOps()
176:                        .get(index);
177:            }
178:
179:            public DocOperationIndexedParameter getBranchOp(int index) {
180:                while (branchOps.size() <= index) {
181:                    branchOps.add(new DocOperationIndexedParameter(new Integer(
182:                            index), EdenConstants.NOOP));
183:                }
184:                return (DocOperationIndexedParameter) getBranchOps().get(index);
185:            }
186:
187:            public DocOperationIndexedParameter getActionItemOp(int index) {
188:                while (actionItemOps.size() <= index) {
189:                    actionItemOps.add(new DocOperationIndexedParameter(
190:                            new Integer(index), EdenConstants.NOOP));
191:                }
192:                return (DocOperationIndexedParameter) getActionItemOps().get(
193:                        index);
194:            }
195:
196:            public DocOperationIndexedParameter getNodeStateDeleteOp(int index) {
197:                while (nodeStateDeleteOps.size() <= index) {
198:                    nodeStateDeleteOps.add(new DocOperationIndexedParameter(
199:                            new Integer(index), ""));
200:                }
201:                return (DocOperationIndexedParameter) getNodeStateDeleteOps()
202:                        .get(index);
203:            }
204:
205:            public List getActionItemOps() {
206:                return actionItemOps;
207:            }
208:
209:            public void setActionItemOps(List actionItemOps) {
210:                this .actionItemOps = actionItemOps;
211:            }
212:
213:            public List getActionRequestOps() {
214:                return actionRequestOps;
215:            }
216:
217:            public void setActionRequestOps(List actionRequestOps) {
218:                this .actionRequestOps = actionRequestOps;
219:            }
220:
221:            public List getActionTakenOps() {
222:                return actionTakenOps;
223:            }
224:
225:            public List getRouteNodeInstanceOps() {
226:                return routeNodeInstanceOps;
227:            }
228:
229:            public List getBranchOps() {
230:                return branchOps;
231:            }
232:
233:            public List getNodeStateDeleteOps() {
234:                return nodeStateDeleteOps;
235:            }
236:
237:            public void setActionTakenOps(List actionTakenOps) {
238:                this .actionTakenOps = actionTakenOps;
239:            }
240:
241:            public void setRouteNodeInstanceOps(List routeNodeInstanceOps) {
242:                this .routeNodeInstanceOps = routeNodeInstanceOps;
243:            }
244:
245:            public void setBranchOps(List branchOps) {
246:                this .branchOps = branchOps;
247:            }
248:
249:            public void setNodeStateDeleteOps(List nodeStateDeleteOps) {
250:                this .nodeStateDeleteOps = nodeStateDeleteOps;
251:            }
252:
253:            public String getRouteHeaderOp() {
254:                return routeHeaderOp;
255:            }
256:
257:            public void setRouteHeaderOp(String routeHeaderOp) {
258:                this .routeHeaderOp = routeHeaderOp;
259:            }
260:
261:            public String getApprovedDate() {
262:                return approvedDate;
263:            }
264:
265:            public void setApprovedDate(String approvedDate) {
266:                this .approvedDate = approvedDate;
267:            }
268:
269:            public String getCreateDate() {
270:                return createDate;
271:            }
272:
273:            public void setCreateDate(String createDate) {
274:                this .createDate = createDate;
275:            }
276:
277:            public String getFinalizedDate() {
278:                return finalizedDate;
279:            }
280:
281:            public void setFinalizedDate(String finalizedDate) {
282:                this .finalizedDate = finalizedDate;
283:            }
284:
285:            public String getRouteLevelDate() {
286:                return routeLevelDate;
287:            }
288:
289:            public void setRouteLevelDate(String routeLevelDate) {
290:                this .routeLevelDate = routeLevelDate;
291:            }
292:
293:            public String getRouteStatusDate() {
294:                return routeStatusDate;
295:            }
296:
297:            public void setRouteStatusDate(String routeStatusDate) {
298:                this .routeStatusDate = routeStatusDate;
299:            }
300:
301:            public String getStatusModDate() {
302:                return statusModDate;
303:            }
304:
305:            public void setStatusModDate(String statusModDate) {
306:                this .statusModDate = statusModDate;
307:            }
308:
309:            public String getLookupableImplServiceName() {
310:                return lookupableImplServiceName;
311:            }
312:
313:            public void setLookupableImplServiceName(
314:                    String lookupableImplServiceName) {
315:                this .lookupableImplServiceName = lookupableImplServiceName;
316:            }
317:
318:            public String getLookupType() {
319:                return lookupType;
320:            }
321:
322:            public void setLookupType(String lookupType) {
323:                this .lookupType = lookupType;
324:            }
325:
326:            public Map getDocStatuses() {
327:                return docStatuses;
328:            }
329:
330:            public Map getActionRequestCds() {
331:                return actionRequestCds;
332:            }
333:
334:            public Map getActionRequestRecipientTypes() {
335:                return actionRequestRecipientTypes;
336:            }
337:
338:            public Map getActionRequestStatuses() {
339:                return actionRequestStatuses;
340:            }
341:
342:            public String getLookupInvocationField() {
343:                return lookupInvocationField;
344:            }
345:
346:            public void setLookupInvocationField(String lookupInvocationField) {
347:                this .lookupInvocationField = lookupInvocationField;
348:            }
349:
350:            public String getLookupInvocationIndex() {
351:                return lookupInvocationIndex;
352:            }
353:
354:            public void setLookupInvocationIndex(String lookupInvocationIndex) {
355:                this .lookupInvocationIndex = lookupInvocationIndex;
356:            }
357:
358:            public String getLookupInvocationModule() {
359:                return lookupInvocationModule;
360:            }
361:
362:            public void setLookupInvocationModule(String lookupInvocationModule) {
363:                this .lookupInvocationModule = lookupInvocationModule;
364:            }
365:
366:            public Map getActionTakenCds() {
367:                return actionTakenCds;
368:            }
369:
370:            public String getRouteHeaderId() {
371:                return routeHeaderId;
372:            }
373:
374:            public void setRouteHeaderId(String routeHeaderId) {
375:                this .routeHeaderId = routeHeaderId;
376:            }
377:
378:            public List getRouteModules() {
379:                return routeModules;
380:            }
381:
382:            public void setRouteModules(List routeModules) {
383:                this .routeModules = routeModules;
384:            }
385:
386:            public String getRouteModuleName() {
387:                return routeModuleName;
388:            }
389:
390:            public void setRouteModuleName(String routeModuleName) {
391:                this .routeModuleName = routeModuleName;
392:            }
393:
394:            /*
395:             * methods for route node instances
396:             */
397:
398:            public List getRouteNodeInstances() {
399:                return routeNodeInstances;
400:            }
401:
402:            public void setRouteNodeInstances(List routeNodeInstances) {
403:                this .routeNodeInstances = routeNodeInstances;
404:            }
405:
406:            public RouteNodeInstance getRouteNodeInstance(int index) {
407:                while (getRouteNodeInstances().size() <= index) {
408:                    getRouteNodeInstances().add(new RouteNodeInstance());
409:                }
410:                return (RouteNodeInstance) getRouteNodeInstances().get(index);
411:            }
412:
413:            public List getBranches() {
414:                return branches;
415:            }
416:
417:            public void setBranches(List branches) {
418:                this .branches = branches;
419:            }
420:
421:            public Branch getBranche(int index) {
422:                while (getBranches().size() <= index) {
423:                    getBranches().add(new Branch());
424:                }
425:                return (Branch) getBranches().get(index);
426:            }
427:
428:            public void resetOps() {
429:                routeNodeInstanceOps = new ArrayList();
430:                branchOps = new ArrayList();
431:                actionRequestOps = new ArrayList();
432:                actionTakenOps = new ArrayList();
433:                actionItemOps = new ArrayList();
434:            }
435:
436:            public String getActionInvocationActionCode() {
437:                return actionInvocationActionCode;
438:            }
439:
440:            public void setActionInvocationActionCode(
441:                    String actionInvocationActionCode) {
442:                this .actionInvocationActionCode = actionInvocationActionCode;
443:            }
444:
445:            public String getActionInvocationActionItemId() {
446:                return actionInvocationActionItemId;
447:            }
448:
449:            public void setActionInvocationActionItemId(
450:                    String actionInvocationActionItemId) {
451:                this .actionInvocationActionItemId = actionInvocationActionItemId;
452:            }
453:
454:            public String getActionInvocationUser() {
455:                return actionInvocationUser;
456:            }
457:
458:            public void setActionInvocationUser(String actionInvocationUser) {
459:                this .actionInvocationUser = actionInvocationUser;
460:            }
461:
462:            public String getBlanketApproveActionTakenId() {
463:                return blanketApproveActionTakenId;
464:            }
465:
466:            public void setBlanketApproveActionTakenId(
467:                    String blanketApproveActionTakenId) {
468:                this .blanketApproveActionTakenId = blanketApproveActionTakenId;
469:            }
470:
471:            public String getBlanketApproveNodes() {
472:                return blanketApproveNodes;
473:            }
474:
475:            public void setBlanketApproveNodes(String blanketApproveNodes) {
476:                this .blanketApproveNodes = blanketApproveNodes;
477:            }
478:
479:            public String getBlanketApproveUser() {
480:                return blanketApproveUser;
481:            }
482:
483:            public void setBlanketApproveUser(String blanketApproveUser) {
484:                this.blanketApproveUser = blanketApproveUser;
485:            }
486:
487:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.