Class IdentityHelperServiceImpl
java.lang.Object
org.kuali.rice.kew.identity.service.impl.IdentityHelperServiceImpl
- All Implemented Interfaces:
IdentityHelperService
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.kuali.rice.kim.api.group.GroupReturns the Group for the given groupId.org.kuali.rice.kim.api.group.GroupReturns the Group for the given GroupId.org.kuali.rice.kim.api.group.GroupgetGroupByName(String namespaceCode, String name) Returns the Group for the given namespaceCode and name.getIdForGroupName(String namespace, String groupName) getIdForPrincipalName(String principalName) org.kuali.rice.kim.api.identity.PersonReturns the Person for the given principal id.org.kuali.rice.kim.api.identity.PersongetPersonByEmployeeId(String employeeId) Returns the Person for the given employee id.org.kuali.rice.kim.api.identity.PersongetPersonByPrincipalName(String principalName) Returns the Person for the given principal name.org.kuali.rice.kim.api.identity.principal.PrincipalgetPrincipal(String principalId) Returns the KimPrincipal for the given principal id.org.kuali.rice.kim.api.identity.principal.PrincipalgetPrincipal(org.kuali.rice.kew.api.user.UserId userId) Returns the principal for the given UserId.org.kuali.rice.kim.api.identity.principal.PrincipalgetPrincipalByPrincipalName(String principalName) Returns the KimPrincipal for the given principal name.getPrincipalRecipient(String principalId) Returns the Recipient for the given principalId.org.kuali.rice.kim.api.identity.principal.PrincipalReturns the principal for the "system user".voidvalidatePrincipalId(String principalId) Checks that the given principalId is valid.
-
Constructor Details
-
IdentityHelperServiceImpl
public IdentityHelperServiceImpl()
-
-
Method Details
-
getIdForPrincipalName
- Specified by:
getIdForPrincipalNamein interfaceIdentityHelperService
-
validatePrincipalId
Description copied from interface:IdentityHelperServiceChecks that the given principalId is valid. Throws a RiceRuntimeException if it is not.- Specified by:
validatePrincipalIdin interfaceIdentityHelperService
-
getIdForGroupName
- Specified by:
getIdForGroupNamein interfaceIdentityHelperService
-
getPrincipalRecipient
Description copied from interface:IdentityHelperServiceReturns the Recipient for the given principalId. Throws an exception if the principalId cannot be resolved to a recipient.- Specified by:
getPrincipalRecipientin interfaceIdentityHelperService
-
getPrincipal
Description copied from interface:IdentityHelperServiceReturns the KimPrincipal for the given principal id. Throws an exception if the principal id cannot be resolved to a principal.- Specified by:
getPrincipalin interfaceIdentityHelperService
-
getPrincipalByPrincipalName
public org.kuali.rice.kim.api.identity.principal.Principal getPrincipalByPrincipalName(String principalName) Description copied from interface:IdentityHelperServiceReturns the KimPrincipal for the given principal name. Throws an exception if the principal name cannot be resolved to a principal.- Specified by:
getPrincipalByPrincipalNamein interfaceIdentityHelperService
-
getGroupByName
Description copied from interface:IdentityHelperServiceReturns the Group for the given namespaceCode and name. Throws an exception if the namespaceCode and name cannot be resolved to a group.- Specified by:
getGroupByNamein interfaceIdentityHelperService
-
getPerson
Description copied from interface:IdentityHelperServiceReturns the Person for the given principal id. Throws an exception if the principal id cannot be resolved to a person.- Specified by:
getPersonin interfaceIdentityHelperService
-
getPersonByPrincipalName
Description copied from interface:IdentityHelperServiceReturns the Person for the given principal name. Throws an exception if the principal name cannot be resolved to a person.- Specified by:
getPersonByPrincipalNamein interfaceIdentityHelperService
-
getPersonByEmployeeId
Description copied from interface:IdentityHelperServiceReturns the Person for the given employee id. Throws an exception if the principal name cannot be resolved to a person.- Specified by:
getPersonByEmployeeIdin interfaceIdentityHelperService
-
getGroup
Description copied from interface:IdentityHelperServiceReturns the Group for the given groupId. Throws an exception if the groupId cannot be resolved to a group.- Specified by:
getGroupin interfaceIdentityHelperService
-
getGroup
Description copied from interface:IdentityHelperServiceReturns the Group for the given GroupId. Throws an exception if the groupId cannot be resolved to a group.- Specified by:
getGroupin interfaceIdentityHelperService
-
getPrincipal
public org.kuali.rice.kim.api.identity.principal.Principal getPrincipal(org.kuali.rice.kew.api.user.UserId userId) Description copied from interface:IdentityHelperServiceReturns the principal for the given UserId.- Specified by:
getPrincipalin interfaceIdentityHelperService
-
getSystemPrincipal
public org.kuali.rice.kim.api.identity.principal.Principal getSystemPrincipal()Description copied from interface:IdentityHelperServiceReturns the principal for the "system user". This is a user that can be used in the cases where an actual user cannot be determined.- Specified by:
getSystemPrincipalin interfaceIdentityHelperService
-