Source Code Cross Referenced for Rule2Form.java in  » ERP-CRM-Financial » Kuali-Financial-System » edu » iu » uis » eden » routetemplate » 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.routetemplate.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.routetemplate.web;
018:
019:        import java.util.HashMap;
020:        import java.util.List;
021:        import java.util.Map;
022:
023:        import edu.iu.uis.eden.EdenConstants;
024:        import edu.iu.uis.eden.routetemplate.MyRules2;
025:        import edu.iu.uis.eden.routetemplate.RuleDelegation;
026:        import edu.iu.uis.eden.util.Utilities;
027:        import edu.iu.uis.eden.web.ShowHideTree;
028:        import edu.iu.uis.eden.web.WorkflowRoutingForm;
029:
030:        /**
031:         * Struts ActionForm for {@link Rule2Action}.
032:         *
033:         * @see Rule2Action
034:         *
035:         * @author jhopf
036:         * @author ewestfal
037:         */
038:        public class Rule2Form extends WorkflowRoutingForm {
039:
040:            private static final long serialVersionUID = 5412969516727713859L;
041:
042:            private ShowHideTree showHide = new ShowHideTree();
043:            private ShowHideTree parentShowHide = new ShowHideTree();
044:            private Map showDelegationsMap = new HashMap();
045:
046:            private Long currentRuleId;
047:            private Integer ruleIndex;
048:            private Integer responsibilityIndex;
049:            private Integer delegationIndex;
050:            private Integer delegationResponsibilityIndex;
051:            private String extraId = "";
052:            private List ruleTemplates;
053:            private List priorities;
054:            private Map actionRequestCodes;
055:            private Map approvePolicyCodes;
056:            private String lookupableImplServiceName;
057:            private boolean choosingTemplate;
058:            private String methodToCall = "";
059:            private boolean editingDelegate = false;
060:
061:            private List rules;
062:            private MyRules2 myRules;
063:            private Map attributeLabels;
064:            private String instructionForCreateNew;
065:            private String instructionForGlobalReviewerReplace;
066:            private String conversionFields;
067:            private int delegationLimit;
068:            private String lookupType;
069:            private String delegationSearchOnly;
070:
071:            private RuleCreationValues ruleCreationValues = new RuleCreationValues();
072:            private WebRuleBaseValues parentRule = new WebRuleBaseValues();
073:            private WebRuleResponsibility responsibility = new WebRuleResponsibility();
074:            private RuleDelegation ruleDelegation = new RuleDelegation();
075:
076:            private String forward = "basic";
077:
078:            /**
079:             * added on 2006-04-04 to support: 
080:             * 		1. on rule report page, showing link to document type report page
081:             */
082:            private Long docTypeId;
083:
084:            public Rule2Form() {
085:                delegationLimit = Integer
086:                        .parseInt(Utilities
087:                                .getApplicationConstant(EdenConstants.RULE_DELEGATE_LIMIT_KEY));
088:                instructionForCreateNew = Utilities
089:                        .getApplicationConstant(EdenConstants.RULE_CREATE_NEW_INSTRUCTION_KEY);
090:                instructionForGlobalReviewerReplace = Utilities
091:                        .getApplicationConstant(EdenConstants.GLOBAL_REVIEWER_REPLACE_INSTRUCTION_KEY);
092:                reset();
093:            }
094:
095:            public void reset() {
096:                this .myRules = new MyRules2();
097:                this .ruleCreationValues = new RuleCreationValues();
098:            }
099:
100:            public Long getCurrentRuleId() {
101:                return currentRuleId;
102:            }
103:
104:            public void setCurrentRuleId(Long currentRuleId) {
105:                this .currentRuleId = currentRuleId;
106:            }
107:
108:            public String getMethodToCall() {
109:                return methodToCall;
110:            }
111:
112:            public void setMethodToCall(String methodToCall) {
113:                this .methodToCall = methodToCall;
114:            }
115:
116:            public boolean isChoosingTemplate() {
117:                return choosingTemplate;
118:            }
119:
120:            public void setChoosingTemplate(boolean choosingTemplate) {
121:                this .choosingTemplate = choosingTemplate;
122:            }
123:
124:            public String getLookupableImplServiceName() {
125:                return lookupableImplServiceName;
126:            }
127:
128:            public void setLookupableImplServiceName(
129:                    String lookupableImplServiceName) {
130:                this .lookupableImplServiceName = lookupableImplServiceName;
131:            }
132:
133:            public Map getActionRequestCodes() {
134:                return actionRequestCodes;
135:            }
136:
137:            public void setActionRequestCodes(Map actionRequestCodes) {
138:                this .actionRequestCodes = actionRequestCodes;
139:            }
140:
141:            public List getPriorities() {
142:                return priorities;
143:            }
144:
145:            public void setPriorities(List priorities) {
146:                this .priorities = priorities;
147:            }
148:
149:            public List getRuleTemplates() {
150:                return ruleTemplates;
151:            }
152:
153:            public void setRuleTemplates(List ruleTemplates) {
154:                this .ruleTemplates = ruleTemplates;
155:            }
156:
157:            public List getRules() {
158:                return rules;
159:            }
160:
161:            public void setRules(List rules) {
162:                this .rules = rules;
163:            }
164:
165:            public MyRules2 getMyRules() {
166:                return myRules;
167:            }
168:
169:            public void setMyRules(MyRules2 myRules) {
170:                this .myRules = myRules;
171:            }
172:
173:            public Map getAttributeLabels() {
174:                return attributeLabels;
175:            }
176:
177:            public void setAttributeLabels(Map attributeLabels) {
178:                this .attributeLabels = attributeLabels;
179:            }
180:
181:            public String getInstructionForCreateNew() {
182:                return instructionForCreateNew;
183:            }
184:
185:            public void setInstructionForCreateNew(
186:                    String instructionForCreateNew) {
187:                this .instructionForCreateNew = instructionForCreateNew;
188:            }
189:
190:            public String getInstructionForGlobalReviewerReplace() {
191:                return instructionForGlobalReviewerReplace;
192:            }
193:
194:            public void setInstructionForGlobalReviewerReplace(
195:                    String instructionForGlobalReviewerReplace) {
196:                this .instructionForGlobalReviewerReplace = instructionForGlobalReviewerReplace;
197:            }
198:
199:            public Integer getDelegationIndex() {
200:                return delegationIndex;
201:            }
202:
203:            public void setDelegationIndex(Integer delegationIndex) {
204:                this .delegationIndex = delegationIndex;
205:            }
206:
207:            public Integer getDelegationResponsibilityIndex() {
208:                return delegationResponsibilityIndex;
209:            }
210:
211:            public void setDelegationResponsibilityIndex(
212:                    Integer delegationResponsibilityIndex) {
213:                this .delegationResponsibilityIndex = delegationResponsibilityIndex;
214:            }
215:
216:            public Integer getResponsibilityIndex() {
217:                return responsibilityIndex;
218:            }
219:
220:            public void setResponsibilityIndex(Integer responsibilityIndex) {
221:                this .responsibilityIndex = responsibilityIndex;
222:            }
223:
224:            public Integer getRuleIndex() {
225:                return ruleIndex;
226:            }
227:
228:            public void setRuleIndex(Integer ruleIndex) {
229:                this .ruleIndex = ruleIndex;
230:            }
231:
232:            public RuleCreationValues getRuleCreationValues() {
233:                return ruleCreationValues;
234:            }
235:
236:            public void setRuleCreationValues(
237:                    RuleCreationValues ruleCreationValues) {
238:                this .ruleCreationValues = ruleCreationValues;
239:            }
240:
241:            public Map getApprovePolicyCodes() {
242:                return approvePolicyCodes;
243:            }
244:
245:            public void setApprovePolicyCodes(Map approvePolicyCodes) {
246:                this .approvePolicyCodes = approvePolicyCodes;
247:            }
248:
249:            public void setDocTypeFullName(String docTypeFullName) {
250:                this .ruleCreationValues.setDocTypeName(docTypeFullName);
251:            }
252:
253:            public WebRuleBaseValues getParentRule() {
254:                return parentRule;
255:            }
256:
257:            public void setParentRule(WebRuleBaseValues parentRule) {
258:                this .parentRule = parentRule;
259:            }
260:
261:            public class RuleCreationValues implements  java.io.Serializable {
262:                /**
263:                 * 
264:                 */
265:                private static final long serialVersionUID = -8211316354702964152L;
266:                private Long ruleId;
267:                private Long ruleTemplateId;
268:                private String ruleTemplateName;
269:                private String docTypeName;
270:                private Long ruleResponsibilityKey;
271:                private boolean creating;
272:                private boolean manualDelegationTemplate;
273:
274:                public Long getRuleId() {
275:                    return ruleId;
276:                }
277:
278:                public void setRuleId(Long ruleId) {
279:                    this .ruleId = ruleId;
280:                }
281:
282:                public String getDocTypeName() {
283:                    return docTypeName;
284:                }
285:
286:                public void setDocTypeName(String docTypeName) {
287:                    this .docTypeName = docTypeName;
288:                }
289:
290:                public Long getRuleTemplateId() {
291:                    return ruleTemplateId;
292:                }
293:
294:                public void setRuleTemplateId(Long ruleTemplateId) {
295:                    this .ruleTemplateId = ruleTemplateId;
296:                }
297:
298:                public String getRuleTemplateName() {
299:                    return ruleTemplateName;
300:                }
301:
302:                public void setRuleTemplateName(String ruleTemplateName) {
303:                    this .ruleTemplateName = ruleTemplateName;
304:                }
305:
306:                public boolean isCreating() {
307:                    return creating;
308:                }
309:
310:                public void setCreating(boolean creating) {
311:                    this .creating = creating;
312:                }
313:
314:                public Long getRuleResponsibilityKey() {
315:                    return ruleResponsibilityKey;
316:                }
317:
318:                public void setRuleResponsibilityKey(Long ruleResponsibilityKey) {
319:                    this .ruleResponsibilityKey = ruleResponsibilityKey;
320:                }
321:
322:                public boolean isManualDelegationTemplate() {
323:                    return manualDelegationTemplate;
324:                }
325:
326:                public void setManualDelegationTemplate(
327:                        boolean manualDelegationTemplate) {
328:                    this .manualDelegationTemplate = manualDelegationTemplate;
329:                }
330:            }
331:
332:            public String getConversionFields() {
333:                return conversionFields;
334:            }
335:
336:            public void setConversionFields(String conversionFields) {
337:                this .conversionFields = conversionFields;
338:            }
339:
340:            public boolean isEditingDelegate() {
341:                return editingDelegate;
342:            }
343:
344:            public void setEditingDelegate(boolean editingDelegate) {
345:                this .editingDelegate = editingDelegate;
346:            }
347:
348:            public WebRuleResponsibility getResponsibility() {
349:                return responsibility;
350:            }
351:
352:            public void setResponsibility(WebRuleResponsibility responsibility) {
353:                this .responsibility = responsibility;
354:            }
355:
356:            public RuleDelegation getRuleDelegation() {
357:                return ruleDelegation;
358:            }
359:
360:            public void setRuleDelegation(RuleDelegation ruleDelegation) {
361:                this .ruleDelegation = ruleDelegation;
362:            }
363:
364:            public ShowHideTree getShowHide() {
365:                return showHide;
366:            }
367:
368:            public void setShowHide(ShowHideTree showHide) {
369:                this .showHide = showHide;
370:            }
371:
372:            public ShowHideTree getParentShowHide() {
373:                return parentShowHide;
374:            }
375:
376:            public void setParentShowHide(ShowHideTree parentShowHide) {
377:                this .parentShowHide = parentShowHide;
378:            }
379:
380:            public String getRouteLogPopup() {
381:                return Utilities.getApplicationConstant(
382:                        EdenConstants.RULE_ROUTE_LOG_POPUP_KEY).trim();
383:            }
384:
385:            public String getForward() {
386:                return forward;
387:            }
388:
389:            public void setForward(String forward) {
390:                this .forward = forward;
391:            }
392:
393:            public String getExtraId() {
394:                return extraId;
395:            }
396:
397:            public void setExtraId(String extraId) {
398:                this .extraId = extraId;
399:            }
400:
401:            public Map getShowDelegationsMap() {
402:                return showDelegationsMap;
403:            }
404:
405:            public void setShowDelegationsMap(Map showDelegationsMap) {
406:                this .showDelegationsMap = showDelegationsMap;
407:            }
408:
409:            public Boolean getShowDelegations(String key) {
410:                return (Boolean) getShowDelegationsMap().get(key);
411:            }
412:
413:            public int getDelegationLimit() {
414:                return delegationLimit;
415:            }
416:
417:            public void setDelegationLimit(int delegationLimit) {
418:                this .delegationLimit = delegationLimit;
419:            }
420:
421:            public String getLookupType() {
422:                return lookupType;
423:            }
424:
425:            public void setLookupType(String lookupType) {
426:                this .lookupType = lookupType;
427:            }
428:
429:            public String getDelegationSearchOnly() {
430:                return delegationSearchOnly;
431:            }
432:
433:            public void setDelegationSearchOnly(String delegationSearchOnly) {
434:                this .delegationSearchOnly = delegationSearchOnly;
435:            }
436:
437:            public Long getDocTypeId() {
438:                return docTypeId;
439:            }
440:
441:            public void setDocTypeId(Long docTypeId) {
442:                this.docTypeId = docTypeId;
443:            }
444:
445:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.