|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kim.service.impl.IdentityCurrentAndArchivedServiceImpl
public class IdentityCurrentAndArchivedServiceImpl
This IdentityService implementation is largely just a knee-jerk delegator, except for
getters returning KimEntityDefaultInfo in which case the IdentityArchiveService
will be invoked if the inner IndentityService impl returns null.
| Constructor Summary | |
|---|---|
IdentityCurrentAndArchivedServiceImpl(IdentityService innerIdentityService,
IdentityArchiveService identityArchiveService)
This constructs a IdentityCurrentAndArchivedServiceImpl, injecting the needed services. |
|
| Method Summary | |
|---|---|
AddressTypeInfo |
getAddressType(String code)
Gets the address type for the given address type code. |
AffiliationTypeInfo |
getAffiliationType(String code)
Gets the affiliation type for the given affiliation type code. |
CitizenshipStatusInfo |
getCitizenshipStatus(String code)
Gets the citizenship status for the given citizenship status code. |
Map<String,KimEntityNameInfo> |
getDefaultNamesForEntityIds(List<String> entityIds)
Gets the names for the entities with ids in the given list. |
Map<String,KimEntityNamePrincipalNameInfo> |
getDefaultNamesForPrincipalIds(List<String> principalIds)
Gets the name for the principals with ids in the given List. |
EmailTypeInfo |
getEmailType(String code)
Gets the email type for the given email type code. |
EmploymentStatusInfo |
getEmploymentStatus(String code)
Gets the employment status for the given employment status code. |
EmploymentTypeInfo |
getEmploymentType(String code)
Gets the employment type for the given employment type code. |
KimEntityDefaultInfo |
getEntityDefaultInfo(String entityId)
This method first tries the inner IdentityService impl, and resorts to the IdentityArchiveService if need be. |
KimEntityDefaultInfo |
getEntityDefaultInfoByPrincipalId(String principalId)
This method first tries the inner IdentityService impl, and resorts to the IdentityArchiveService if need be. |
KimEntityDefaultInfo |
getEntityDefaultInfoByPrincipalName(String principalName)
This method first tries the inner IdentityService impl, and resorts to the IdentityArchiveService if need be. |
KimEntityInfo |
getEntityInfo(String entityId)
Get the entity info for the entity with the given id. |
KimEntityInfo |
getEntityInfoByPrincipalId(String principalId)
Get the entity info for the entity of the principal with the given principal id. |
KimEntityInfo |
getEntityInfoByPrincipalName(String principalName)
Get the entity info for the entity of the principal with the given principal name. |
EntityNameTypeInfo |
getEntityNameType(String code)
Gets the entity name type for the given entity name type code. |
KimEntityPrivacyPreferencesInfo |
getEntityPrivacyPreferences(String entityId)
Gets the privacy preferences for the entity with the given entity id. |
EntityTypeInfo |
getEntityType(String code)
Gets the entity type for the given entity type code. |
ExternalIdentifierTypeInfo |
getExternalIdentifierType(String code)
Gets the external identifier type for the given external identifier type code. |
int |
getMatchingEntityCount(Map<String,String> searchCriteria)
Returns a count of the number of entities that match the given search criteria. |
PhoneTypeInfo |
getPhoneType(String code)
Gets the phone type for the given phone type code. |
KimPrincipalInfo |
getPrincipal(String principalId)
Get the principal with the given unique principal ID. |
KimPrincipalInfo |
getPrincipalByPrincipalName(String principalName)
Get the principal with the given principalName. |
KimPrincipalInfo |
getPrincipalByPrincipalNameAndPassword(String principalName,
String password)
Get the principal with the given name and password. |
List<KimEntityDefaultInfo> |
lookupEntityDefaultInfo(Map<String,String> searchCriteria,
boolean unbounded)
Gets a List of entity default info for entities based on the given search criteria. |
List<KimEntityInfo> |
lookupEntityInfo(Map<String,String> searchCriteria,
boolean unbounded)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IdentityCurrentAndArchivedServiceImpl(IdentityService innerIdentityService,
IdentityArchiveService identityArchiveService)
| Method Detail |
|---|
public AddressTypeInfo getAddressType(String code)
IdentityService
getAddressType in interface IdentityServiceIdentityService.getAddressType(java.lang.String)public AffiliationTypeInfo getAffiliationType(String code)
IdentityService
getAffiliationType in interface IdentityServiceIdentityService.getAffiliationType(java.lang.String)public CitizenshipStatusInfo getCitizenshipStatus(String code)
IdentityService
getCitizenshipStatus in interface IdentityServiceIdentityService.getCitizenshipStatus(java.lang.String)public Map<String,KimEntityNameInfo> getDefaultNamesForEntityIds(List<String> entityIds)
IdentityService
getDefaultNamesForEntityIds in interface IdentityServiceIdentityService.getDefaultNamesForEntityIds(java.util.List)public Map<String,KimEntityNamePrincipalNameInfo> getDefaultNamesForPrincipalIds(List<String> principalIds)
IdentityServiceThe resulting Map contains the principalId as the key and the name information as the value. When fetching names by principal id, the resulting name info contains the entity's name info as well as the principal's name info.
getDefaultNamesForPrincipalIds in interface IdentityServiceIdentityService.getDefaultNamesForPrincipalIds(java.util.List)public EmailTypeInfo getEmailType(String code)
IdentityService
getEmailType in interface IdentityServiceIdentityService.getEmailType(java.lang.String)public EmploymentStatusInfo getEmploymentStatus(String code)
IdentityService
getEmploymentStatus in interface IdentityServiceIdentityService.getEmploymentStatus(java.lang.String)public EmploymentTypeInfo getEmploymentType(String code)
IdentityService
getEmploymentType in interface IdentityServiceIdentityService.getEmploymentType(java.lang.String)public KimEntityDefaultInfo getEntityDefaultInfo(String entityId)
getEntityDefaultInfo in interface IdentityServiceIdentityService.getEntityDefaultInfo(java.lang.String)public KimEntityDefaultInfo getEntityDefaultInfoByPrincipalId(String principalId)
getEntityDefaultInfoByPrincipalId in interface IdentityServiceIdentityService.getEntityDefaultInfoByPrincipalId(java.lang.String)public KimEntityDefaultInfo getEntityDefaultInfoByPrincipalName(String principalName)
getEntityDefaultInfoByPrincipalName in interface IdentityServiceIdentityService.getEntityDefaultInfoByPrincipalName(java.lang.String)public KimEntityInfo getEntityInfo(String entityId)
IdentityService
getEntityInfo in interface IdentityServiceIdentityService.getEntityInfo(java.lang.String)public KimEntityInfo getEntityInfoByPrincipalId(String principalId)
IdentityService
getEntityInfoByPrincipalId in interface IdentityServiceIdentityService.getEntityInfoByPrincipalId(java.lang.String)public KimEntityInfo getEntityInfoByPrincipalName(String principalName)
IdentityService
getEntityInfoByPrincipalName in interface IdentityServiceIdentityService.getEntityInfoByPrincipalName(java.lang.String)public EntityNameTypeInfo getEntityNameType(String code)
IdentityService
getEntityNameType in interface IdentityServiceIdentityService.getEntityNameType(java.lang.String)public KimEntityPrivacyPreferencesInfo getEntityPrivacyPreferences(String entityId)
IdentityService
getEntityPrivacyPreferences in interface IdentityServiceIdentityService.getEntityPrivacyPreferences(java.lang.String)public EntityTypeInfo getEntityType(String code)
IdentityService
getEntityType in interface IdentityServiceIdentityService.getEntityType(java.lang.String)public ExternalIdentifierTypeInfo getExternalIdentifierType(String code)
IdentityService
getExternalIdentifierType in interface IdentityServiceIdentityService.getExternalIdentifierType(java.lang.String)public int getMatchingEntityCount(Map<String,String> searchCriteria)
IdentityService
getMatchingEntityCount in interface IdentityServiceIdentityService.getMatchingEntityCount(java.util.Map)public PhoneTypeInfo getPhoneType(String code)
IdentityService
getPhoneType in interface IdentityServiceIdentityService.getPhoneType(java.lang.String)public KimPrincipalInfo getPrincipal(String principalId)
IdentityService
getPrincipal in interface IdentityServiceIdentityService.getPrincipal(java.lang.String)public KimPrincipalInfo getPrincipalByPrincipalName(String principalName)
IdentityService
getPrincipalByPrincipalName in interface IdentityServiceIdentityService.getPrincipalByPrincipalName(java.lang.String)
public KimPrincipalInfo getPrincipalByPrincipalNameAndPassword(String principalName,
String password)
IdentityService
getPrincipalByPrincipalNameAndPassword in interface IdentityServiceIdentityService.getPrincipalByPrincipalNameAndPassword(java.lang.String, java.lang.String)
public List<KimEntityDefaultInfo> lookupEntityDefaultInfo(Map<String,String> searchCriteria,
boolean unbounded)
IdentityServiceIf unbounded is set to false, then this method will return all results. If unbounded is set to true then the number of search results will be bounded based on default configuration for number of search results returned in a a bounded search.
The searchCriteria Map is a map of entity field names to search values.
lookupEntityDefaultInfo in interface IdentityServiceIdentityService.lookupEntityDefaultInfo(java.util.Map, boolean)
public List<KimEntityInfo> lookupEntityInfo(Map<String,String> searchCriteria,
boolean unbounded)
lookupEntityInfo in interface IdentityServiceIdentityService.lookupEntityInfo(java.util.Map, boolean)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||