public class IdentityHelperServiceImpl extends Object implements IdentityHelperService
Constructor and Description |
---|
IdentityHelperServiceImpl() |
Modifier and Type | Method and Description |
---|---|
Group |
getGroup(GroupId groupId)
Returns the Group for the given GroupId.
|
Group |
getGroup(String groupId)
Returns the Group for the given groupId.
|
Group |
getGroupByName(String namespaceCode,
String name)
Returns the Group for the given namespaceCode and name.
|
String |
getIdForGroupName(String namespace,
String groupName) |
String |
getIdForPrincipalName(String principalName) |
Person |
getPerson(String principalId)
Returns the Person for the given principal id.
|
Person |
getPersonByEmployeeId(String employeeId)
Returns the Person for the given employee id.
|
Person |
getPersonByPrincipalName(String principalName)
Returns the Person for the given principal name.
|
Principal |
getPrincipal(String principalId)
Returns the KimPrincipal for the given principal id.
|
Principal |
getPrincipal(UserId userId)
Returns the principal for the given UserId.
|
Principal |
getPrincipalByPrincipalName(String principalName)
Returns the KimPrincipal for the given principal name.
|
Recipient |
getPrincipalRecipient(String principalId)
Returns the Recipient for the given principalId.
|
Principal |
getSystemPrincipal()
Returns the principal for the "system user".
|
void |
validatePrincipalId(String principalId)
Checks that the given principalId is valid.
|
public IdentityHelperServiceImpl()
public String getIdForPrincipalName(String principalName)
getIdForPrincipalName
in interface IdentityHelperService
public void validatePrincipalId(String principalId)
IdentityHelperService
validatePrincipalId
in interface IdentityHelperService
public String getIdForGroupName(String namespace, String groupName)
getIdForGroupName
in interface IdentityHelperService
public Recipient getPrincipalRecipient(String principalId)
IdentityHelperService
getPrincipalRecipient
in interface IdentityHelperService
public Principal getPrincipal(String principalId)
IdentityHelperService
getPrincipal
in interface IdentityHelperService
public Principal getPrincipalByPrincipalName(String principalName)
IdentityHelperService
getPrincipalByPrincipalName
in interface IdentityHelperService
public Group getGroupByName(String namespaceCode, String name)
IdentityHelperService
getGroupByName
in interface IdentityHelperService
public Person getPerson(String principalId)
IdentityHelperService
getPerson
in interface IdentityHelperService
public Person getPersonByPrincipalName(String principalName)
IdentityHelperService
getPersonByPrincipalName
in interface IdentityHelperService
public Person getPersonByEmployeeId(String employeeId)
IdentityHelperService
getPersonByEmployeeId
in interface IdentityHelperService
public Group getGroup(String groupId)
IdentityHelperService
getGroup
in interface IdentityHelperService
public Group getGroup(GroupId groupId)
IdentityHelperService
getGroup
in interface IdentityHelperService
public Principal getPrincipal(UserId userId)
IdentityHelperService
getPrincipal
in interface IdentityHelperService
public Principal getSystemPrincipal()
IdentityHelperService
getSystemPrincipal
in interface IdentityHelperService
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.