Source Code Cross Referenced for WebWorkflowUser.java in  » ERP-CRM-Financial » Kuali-Financial-System » edu » iu » uis » eden » user » 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.user.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.user.web;
018:
019:        import java.sql.Timestamp;
020:
021:        import edu.iu.uis.eden.lookupable.WebLookupableDecorator;
022:        import edu.iu.uis.eden.user.AuthenticationUserId;
023:        import edu.iu.uis.eden.user.EmplId;
024:        import edu.iu.uis.eden.user.UuId;
025:        import edu.iu.uis.eden.user.WorkflowUser;
026:        import edu.iu.uis.eden.user.WorkflowUserId;
027:
028:        /**
029:         * A decorator on the {@link WorkflowUser} which adds some convienance methods for
030:         * use by the web-tier of the application.
031:         *
032:         * @author bmcgough
033:         * @author temay
034:         */
035:        public class WebWorkflowUser extends WebLookupableDecorator implements 
036:                WorkflowUser {
037:
038:            private static final long serialVersionUID = 3165333859388741253L;
039:
040:            private WorkflowUser workflowUser;
041:            private Boolean newUuid;
042:            private Boolean newEmplId;
043:            private Boolean newAuthenticationId;
044:            protected Integer lockVerNbr;
045:            private Timestamp createDate;
046:            private UuId oldUuid;
047:            private EmplId oldEmplId;
048:            private AuthenticationUserId oldAuthenticationUserId;
049:
050:            public WebWorkflowUser(WorkflowUser workflowUser) {
051:                this .workflowUser = workflowUser;
052:            }
053:
054:            public String getWorkflowId() {
055:                return getWorkflowUserId().getWorkflowId();
056:            }
057:
058:            public AuthenticationUserId getAuthenticationUserId() {
059:                return workflowUser.getAuthenticationUserId();
060:            }
061:
062:            public String getDisplayName() {
063:                return workflowUser.getDisplayName();
064:            }
065:
066:            public String getEmailAddress() {
067:                return workflowUser.getEmailAddress();
068:            }
069:
070:            public EmplId getEmplId() {
071:                return workflowUser.getEmplId();
072:            }
073:
074:            public String getGivenName() {
075:                return workflowUser.getGivenName();
076:            }
077:
078:            public String getLastName() {
079:                return workflowUser.getLastName();
080:            }
081:
082:            public String getTransposedName() {
083:                return workflowUser.getTransposedName();
084:            }
085:
086:            public UuId getUuId() {
087:                return workflowUser.getUuId();
088:            }
089:
090:            public WorkflowUserId getWorkflowUserId() {
091:                return workflowUser.getWorkflowUserId();
092:            }
093:
094:            public void setAuthenticationUserId(
095:                    AuthenticationUserId authenticationUserId) {
096:                workflowUser.setAuthenticationUserId(authenticationUserId);
097:            }
098:
099:            public void setDisplayName(String displayName) {
100:                workflowUser.setDisplayName(displayName);
101:            }
102:
103:            public void setEmailAddress(String emailAddress) {
104:                workflowUser.setEmailAddress(emailAddress);
105:            }
106:
107:            public void setEmplId(EmplId emplId) {
108:                workflowUser.setEmplId(emplId);
109:            }
110:
111:            public void setGivenName(String givenName) {
112:                workflowUser.setGivenName(givenName);
113:            }
114:
115:            public void setLastName(String lastName) {
116:                workflowUser.setLastName(lastName);
117:            }
118:
119:            public void setUuId(UuId uuId) {
120:                workflowUser.setUuId(uuId);
121:            }
122:
123:            public void setWorkflowUserId(WorkflowUserId workflowUserId) {
124:                workflowUser.setWorkflowUserId(workflowUserId);
125:            }
126:
127:            public boolean hasId() {
128:                return workflowUser.hasId();
129:            }
130:
131:            public Boolean isNewAuthenticationId() {
132:                return newAuthenticationId;
133:            }
134:
135:            public void setNewAuthenticationId(Boolean newAuthenticationId) {
136:                this .newAuthenticationId = newAuthenticationId;
137:            }
138:
139:            public Boolean isNewEmplId() {
140:                return newEmplId;
141:            }
142:
143:            public void setNewEmplId(Boolean newEmplId) {
144:                this .newEmplId = newEmplId;
145:            }
146:
147:            public Boolean isNewUuid() {
148:                return newUuid;
149:            }
150:
151:            public void setNewUuid(Boolean newUuid) {
152:                this .newUuid = newUuid;
153:            }
154:
155:            public Integer getLockVerNbr() {
156:                return lockVerNbr;
157:            }
158:
159:            public void setLockVerNbr(Integer lockVerNbr) {
160:                this .lockVerNbr = lockVerNbr;
161:            }
162:
163:            public Timestamp getCreateDate() {
164:                return createDate;
165:            }
166:
167:            public void setCreateDate(Timestamp createDate) {
168:                this .createDate = createDate;
169:            }
170:
171:            public AuthenticationUserId getOldAuthenticationUserId() {
172:                return oldAuthenticationUserId;
173:            }
174:
175:            public void setOldAuthenticationUserId(
176:                    AuthenticationUserId oldAuthenticationUserId) {
177:                this .oldAuthenticationUserId = oldAuthenticationUserId;
178:            }
179:
180:            public EmplId getOldEmplId() {
181:                return oldEmplId;
182:            }
183:
184:            public void setOldEmplId(EmplId oldEmplId) {
185:                this .oldEmplId = oldEmplId;
186:            }
187:
188:            public UuId getOldUuid() {
189:                return oldUuid;
190:            }
191:
192:            public void setOldUuid(UuId oldUuid) {
193:                this.oldUuid = oldUuid;
194:            }
195:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.