|
||||||||||
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 IdentityService
IdentityService.getAddressType(java.lang.String)
public AffiliationTypeInfo getAffiliationType(String code)
IdentityService
getAffiliationType
in interface IdentityService
IdentityService.getAffiliationType(java.lang.String)
public CitizenshipStatusInfo getCitizenshipStatus(String code)
IdentityService
getCitizenshipStatus
in interface IdentityService
IdentityService.getCitizenshipStatus(java.lang.String)
public Map<String,KimEntityNameInfo> getDefaultNamesForEntityIds(List<String> entityIds)
IdentityService
getDefaultNamesForEntityIds
in interface IdentityService
IdentityService.getDefaultNamesForEntityIds(java.util.List)
public Map<String,KimEntityNamePrincipalNameInfo> getDefaultNamesForPrincipalIds(List<String> principalIds)
IdentityService
The 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 IdentityService
IdentityService.getDefaultNamesForPrincipalIds(java.util.List)
public EmailTypeInfo getEmailType(String code)
IdentityService
getEmailType
in interface IdentityService
IdentityService.getEmailType(java.lang.String)
public EmploymentStatusInfo getEmploymentStatus(String code)
IdentityService
getEmploymentStatus
in interface IdentityService
IdentityService.getEmploymentStatus(java.lang.String)
public EmploymentTypeInfo getEmploymentType(String code)
IdentityService
getEmploymentType
in interface IdentityService
IdentityService.getEmploymentType(java.lang.String)
public KimEntityDefaultInfo getEntityDefaultInfo(String entityId)
getEntityDefaultInfo
in interface IdentityService
IdentityService.getEntityDefaultInfo(java.lang.String)
public KimEntityDefaultInfo getEntityDefaultInfoByPrincipalId(String principalId)
getEntityDefaultInfoByPrincipalId
in interface IdentityService
IdentityService.getEntityDefaultInfoByPrincipalId(java.lang.String)
public KimEntityDefaultInfo getEntityDefaultInfoByPrincipalName(String principalName)
getEntityDefaultInfoByPrincipalName
in interface IdentityService
IdentityService.getEntityDefaultInfoByPrincipalName(java.lang.String)
public KimEntityInfo getEntityInfo(String entityId)
IdentityService
getEntityInfo
in interface IdentityService
IdentityService.getEntityInfo(java.lang.String)
public KimEntityInfo getEntityInfoByPrincipalId(String principalId)
IdentityService
getEntityInfoByPrincipalId
in interface IdentityService
IdentityService.getEntityInfoByPrincipalId(java.lang.String)
public KimEntityInfo getEntityInfoByPrincipalName(String principalName)
IdentityService
getEntityInfoByPrincipalName
in interface IdentityService
IdentityService.getEntityInfoByPrincipalName(java.lang.String)
public EntityNameTypeInfo getEntityNameType(String code)
IdentityService
getEntityNameType
in interface IdentityService
IdentityService.getEntityNameType(java.lang.String)
public KimEntityPrivacyPreferencesInfo getEntityPrivacyPreferences(String entityId)
IdentityService
getEntityPrivacyPreferences
in interface IdentityService
IdentityService.getEntityPrivacyPreferences(java.lang.String)
public EntityTypeInfo getEntityType(String code)
IdentityService
getEntityType
in interface IdentityService
IdentityService.getEntityType(java.lang.String)
public ExternalIdentifierTypeInfo getExternalIdentifierType(String code)
IdentityService
getExternalIdentifierType
in interface IdentityService
IdentityService.getExternalIdentifierType(java.lang.String)
public int getMatchingEntityCount(Map<String,String> searchCriteria)
IdentityService
getMatchingEntityCount
in interface IdentityService
IdentityService.getMatchingEntityCount(java.util.Map)
public PhoneTypeInfo getPhoneType(String code)
IdentityService
getPhoneType
in interface IdentityService
IdentityService.getPhoneType(java.lang.String)
public KimPrincipalInfo getPrincipal(String principalId)
IdentityService
getPrincipal
in interface IdentityService
IdentityService.getPrincipal(java.lang.String)
public KimPrincipalInfo getPrincipalByPrincipalName(String principalName)
IdentityService
getPrincipalByPrincipalName
in interface IdentityService
IdentityService.getPrincipalByPrincipalName(java.lang.String)
public KimPrincipalInfo getPrincipalByPrincipalNameAndPassword(String principalName, String password)
IdentityService
getPrincipalByPrincipalNameAndPassword
in interface IdentityService
IdentityService.getPrincipalByPrincipalNameAndPassword(java.lang.String, java.lang.String)
public List<KimEntityDefaultInfo> lookupEntityDefaultInfo(Map<String,String> searchCriteria, boolean unbounded)
IdentityService
If 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 IdentityService
IdentityService.lookupEntityDefaultInfo(java.util.Map, boolean)
public List<KimEntityInfo> lookupEntityInfo(Map<String,String> searchCriteria, boolean unbounded)
lookupEntityInfo
in interface IdentityService
IdentityService.lookupEntityInfo(java.util.Map, boolean)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |