| org.kuali.core.service.UniversalUserService
All known Subclasses: org.kuali.core.service.impl.UniversalUserServiceImpl,
UniversalUserService | public interface UniversalUserService extends UserService(Code) | | This interface defines methods that a KualiUser Service must provide.
|
Method Summary | |
public Collection | findUniversalUsers(Map fieldValues) Finds UniversalUser objects based upon a Map with propertyName->value. | public Collection | findWithUniversalUserJoin(Class businessObjectClass, Map fieldValues, boolean unbounded) Finds UniversalUser objects based upon a Map with propertyName->value where the propertyNames are relative
to the original business object, this does a back-end join with the universal user data. | public Map<String, KualiModuleUser> | getModuleUsers(UniversalUser user) | public UniversalUser | getUniversalUser(UserId userId) Return the UniversalUser according to the UserId supplied. | public UniversalUser | getUniversalUser(String personUniversalIdentifier) Return the UniversalUser according to the universal user ID supplied. | public UniversalUser | getUniversalUserByAuthenticationUserId(String authenticationUserId) | public List<KualiGroup> | getUsersGroups(UniversalUser user) Gets all groups to which a user belongs. | public boolean | hasUniversalUserProperty(Class businessObjectClass, Map fieldValues) Returns if any of the propertyNames in the Map keys represent properties on a child UniversalUser object
on the passed in business object class. | public boolean | isMember(UniversalUser user, String groupName) | public boolean | isMember(UniversalUser user, KualiGroup kualiGroup) | public boolean | isSupervisorUser(UniversalUser user) Checks if the user belongs to the established supervisor workgroup. | public boolean | isWorkflowExceptionUser(UniversalUser user) Checks if the user belongs to the established workflow exception workgroup. | public Map<String, Map<String, String>> | loadModuleUserProperties(UniversalUser user) Loads a map of all the user's KualiModuleUser properties. | public Map | resolveUserIdentifiersToUniversalIdentifiers(PersistableBusinessObject businessObject, Map fieldValues) | public UniversalUser | updateUniversalUserIfNecessary(String sourcePersonUniversalIdentifier, UniversalUser currentSourceUniversalUser) Compares the universal user ID passed in with that in the UniversalUser object. |
findUniversalUsers | public Collection findUniversalUsers(Map fieldValues)(Code) | | Finds UniversalUser objects based upon a Map with propertyName->value.
|
findWithUniversalUserJoin | public Collection findWithUniversalUserJoin(Class businessObjectClass, Map fieldValues, boolean unbounded)(Code) | | Finds UniversalUser objects based upon a Map with propertyName->value where the propertyNames are relative
to the original business object, this does a back-end join with the universal user data.
|
getUniversalUser | public UniversalUser getUniversalUser(UserId userId) throws UserNotFoundException(Code) | | Return the UniversalUser according to the UserId supplied.
Parameters: userId - Accepts any UserID object that meets the UserId interface Returns a populated UniversalUser object if the User is found, otherwise throws a UserNotFoundException throws: UserNotFoundException - |
getUniversalUser | public UniversalUser getUniversalUser(String personUniversalIdentifier) throws UserNotFoundException(Code) | | Return the UniversalUser according to the universal user ID supplied.
Parameters: personUniversalIdentifier - Returns a populated UniversalUser object if the User is found, otherwise throws a UserNotFoundException throws: UserNotFoundException - |
hasUniversalUserProperty | public boolean hasUniversalUserProperty(Class businessObjectClass, Map fieldValues)(Code) | | Returns if any of the propertyNames in the Map keys represent properties on a child UniversalUser object
on the passed in business object class.
|
isMember | public boolean isMember(UniversalUser user, String groupName)(Code) | | Checks if the user is a member of a given KualiGroup (workgroup)
|
isMember | public boolean isMember(UniversalUser user, KualiGroup kualiGroup)(Code) | | Checks if the user is a member of a given KualiGroup (workgroup)
|
isSupervisorUser | public boolean isSupervisorUser(UniversalUser user)(Code) | | Checks if the user belongs to the established supervisor workgroup.
|
isWorkflowExceptionUser | public boolean isWorkflowExceptionUser(UniversalUser user)(Code) | | Checks if the user belongs to the established workflow exception workgroup.
|
resolveUserIdentifiersToUniversalIdentifiers | public Map resolveUserIdentifiersToUniversalIdentifiers(PersistableBusinessObject businessObject, Map fieldValues)(Code) | | This method takes a map on its way to populate a business object and replaces all user identifiers with their corresponding universal users
Parameters: businessObject - Parameters: fieldValues - |
updateUniversalUserIfNecessary | public UniversalUser updateUniversalUserIfNecessary(String sourcePersonUniversalIdentifier, UniversalUser currentSourceUniversalUser)(Code) | | Compares the universal user ID passed in with that in the UniversalUser object. If they are the same, it returns the
original object. Otherwise, it pulls the UniversalUser from persistent storage based on the sourcePersonUniversalIdentifier.
|
|
|