Source Code Cross Referenced for UniversalUserService.java in  » ERP-CRM-Financial » Kuali-Financial-System » org » kuali » core » service » 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 » org.kuali.core.service 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * Copyright 2006-2007 The Kuali Foundation.
003:         * 
004:         * Licensed under the Educational Community License, Version 1.0 (the "License");
005:         * you may not use this file except in compliance with the License.
006:         * You may obtain a copy of the License at
007:         * 
008:         * http://www.opensource.org/licenses/ecl1.php
009:         * 
010:         * Unless required by applicable law or agreed to in writing, software
011:         * distributed under the License is distributed on an "AS IS" BASIS,
012:         * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013:         * See the License for the specific language governing permissions and
014:         * limitations under the License.
015:         */
016:        package org.kuali.core.service;
017:
018:        import java.util.Collection;
019:        import java.util.List;
020:        import java.util.Map;
021:
022:        import org.kuali.core.bo.PersistableBusinessObject;
023:        import org.kuali.core.bo.user.KualiGroup;
024:        import org.kuali.core.bo.user.KualiModuleUser;
025:        import org.kuali.core.bo.user.UniversalUser;
026:        import org.kuali.core.bo.user.UserId;
027:        import org.kuali.core.exceptions.UserNotFoundException;
028:
029:        import edu.iu.uis.eden.user.UserService;
030:
031:        /**
032:         * This interface defines methods that a KualiUser Service must provide.
033:         * 
034:         * 
035:         */
036:        public interface UniversalUserService extends UserService {
037:
038:            /**
039:             * Return the UniversalUser according to the UserId supplied.
040:             * 
041:             * @param userId Accepts any UserID object that meets the UserId interface
042:             * @return Returns a populated UniversalUser object if the User is found, otherwise throws a UserNotFoundException
043:             * @throws UserNotFoundException
044:             */
045:            public UniversalUser getUniversalUser(UserId userId)
046:                    throws UserNotFoundException;
047:
048:            public UniversalUser getUniversalUserByAuthenticationUserId(
049:                    String authenticationUserId) throws UserNotFoundException;
050:
051:            /**
052:             * Return the UniversalUser according to the universal user ID supplied.
053:             * 
054:             * @param personUniversalIdentifier
055:             * @return Returns a populated UniversalUser object if the User is found, otherwise throws a UserNotFoundException
056:             * @throws UserNotFoundException
057:             */
058:            public UniversalUser getUniversalUser(
059:                    String personUniversalIdentifier)
060:                    throws UserNotFoundException;
061:
062:            /**
063:             * Compares the universal user ID passed in with that in the UniversalUser object.  If they are the same, it returns the
064:             * original object.  Otherwise, it pulls the UniversalUser from persistent storage based on the sourcePersonUniversalIdentifier.
065:             */
066:            public UniversalUser updateUniversalUserIfNecessary(
067:                    String sourcePersonUniversalIdentifier,
068:                    UniversalUser currentSourceUniversalUser);
069:
070:            /**
071:             * Finds UniversalUser objects based upon a Map with propertyName->value.
072:             */
073:            public Collection findUniversalUsers(Map fieldValues);
074:
075:            /**
076:             * Finds UniversalUser objects based upon a Map with propertyName->value where the propertyNames are relative
077:             * to the original business object, this does a back-end join with the universal user data.
078:             */
079:            public Collection findWithUniversalUserJoin(
080:                    Class businessObjectClass, Map fieldValues,
081:                    boolean unbounded);
082:
083:            /**
084:             * Returns if any of the propertyNames in the Map keys represent properties on a child UniversalUser object
085:             * on the passed in business object class.
086:             */
087:            public boolean hasUniversalUserProperty(Class businessObjectClass,
088:                    Map fieldValues);
089:
090:            /**
091:             * 
092:             * This method takes a map on its way to populate a business object and replaces all user identifiers with their corresponding universal users
093:             * @param businessObject
094:             * @param fieldValues
095:             * @return
096:             */
097:            public Map resolveUserIdentifiersToUniversalIdentifiers(
098:                    PersistableBusinessObject businessObject, Map fieldValues);
099:
100:            public Map<String, KualiModuleUser> getModuleUsers(
101:                    UniversalUser user);
102:
103:            /**
104:             * Checks if the user is a member of a given KualiGroup (workgroup)
105:             */
106:            public boolean isMember(UniversalUser user, String groupName);
107:
108:            /**
109:             * Checks if the user is a member of a given KualiGroup (workgroup)
110:             */
111:            public boolean isMember(UniversalUser user, KualiGroup kualiGroup);
112:
113:            /**
114:             * Gets all groups to which a user belongs.
115:             */
116:            public List<KualiGroup> getUsersGroups(UniversalUser user);
117:
118:            /**
119:             * Checks if the user belongs to the established supervisor workgroup.
120:             */
121:            public boolean isSupervisorUser(UniversalUser user);
122:
123:            /**
124:             * Checks if the user belongs to the established workflow exception workgroup.
125:             */
126:            public boolean isWorkflowExceptionUser(UniversalUser user);
127:
128:            /**
129:             * Loads a map of all the user's KualiModuleUser properties.
130:             */
131:            public Map<String, Map<String, String>> loadModuleUserProperties(
132:                    UniversalUser user);
133:
134:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.