Package org.kuali.rice.kim.impl.identity
Class IdentityCurrentAndArchivedServiceImpl
java.lang.Object
org.kuali.rice.kim.impl.identity.IdentityCurrentAndArchivedServiceImpl
- All Implemented Interfaces:
IdentityService
This IdentityService implementation is largely just a knee-jerk delegator, except for
getters returning
EntityDefault in which case the IdentityArchiveService
will be invoked if the inner IndentityService impl returns null.- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Constructor Summary
ConstructorsConstructorDescriptionIdentityCurrentAndArchivedServiceImpl(IdentityService innerIdentityService, IdentityArchiveService identityArchiveService) This constructs a IdentityCurrentAndArchivedServiceImpl, injecting the needed services. -
Method Summary
Modifier and TypeMethodDescriptionaddAddressToEntity(EntityAddress address) addAffiliationToEntity(EntityAffiliation affiliation) addBioDemographicsToEntity(EntityBioDemographics bioDemographics) addCitizenshipToEntity(EntityCitizenship citizenship) addEmailToEntity(EntityEmail email) addEmploymentToEntity(EntityEmployment employment) addEntityTypeContactInfoToEntity(EntityTypeContactInfo entityTypeContactInfo) addEthnicityToEntity(EntityEthnicity ethnicity) addNameToEntity(EntityName name) addPhoneToEntity(EntityPhone phone) addPrincipalToEntity(Principal principal) addPrivacyPreferencesToEntity(EntityPrivacyPreferences privacyPreferences) addResidencyToEntity(EntityResidency residency) addVisaToEntity(EntityVisa visa) createEntity(Entity entity) findEntities(QueryByCriteria queryByCriteria) findEntityDefaults(QueryByCriteria queryByCriteria) findPrincipals(QueryByCriteria query) getAddressType(String code) getAffiliationType(String code) getCitizenshipStatus(String code) getDefaultNamesForPrincipalId(String principalId) getDefaultNamesForPrincipalIds(List<String> principalIds) getEmailType(String code) getEmploymentStatus(String code) getEmploymentType(String code) getEntityByEmployeeId(String employeeId) getEntityByPrincipalId(String principalId) getEntityByPrincipalName(String principalName) getEntityDefault(String entityId) This method first tries the inner IdentityService impl, and resorts to the IdentityArchiveService if need be.getEntityDefaultByEmployeeId(String employeeId) This method first tries the inner IdentityService impl, and resorts to the IdentityArchiveService if need be.getEntityDefaultByPrincipalId(String principalId) This method first tries the inner IdentityService impl, and resorts to the IdentityArchiveService if need be.getEntityDefaultByPrincipalName(String principalName) This method first tries the inner IdentityService impl, and resorts to the IdentityArchiveService if need be.getEntityPrivacyPreferences(String entityId) getEntityType(String code) getNameType(String code) getPhoneType(String code) getPrincipal(String principalId) getPrincipalByPrincipalName(String principalName) getPrincipalByPrincipalNameAndPassword(String principalName, String password) getPrincipals(List<String> principalIds) Gets a list ofPrincipalfrom a string list of principalId.getPrincipalsByEmployeeId(String employeeId) getPrincipalsByEntityId(String entityId) getPrivacyPreferencesForPrincipalId(String principalId) inactivateAddress(String addressId) inactivateEmail(String emailId) inactivateEntity(String entityId) inactivateEntityTypeContactInfo(String entityId, String entityTypeCode) inactivateName(String id) inactivatePhone(String phoneId) inactivatePrincipal(String principalId) inactivatePrincipalByName(String principalName) updateAddress(EntityAddress address) updateAffiliation(EntityAffiliation affiliation) updateBioDemographics(EntityBioDemographics bioDemographics) updateCitizenship(EntityCitizenship citizenship) updateEmail(EntityEmail email) updateEmployment(EntityEmployment employment) updateEntity(Entity entity) updateEntityTypeContactInfo(EntityTypeContactInfo entityTypeContactInfo) updateEthnicity(EntityEthnicity ethnicity) updateExternalIdentifier(EntityExternalIdentifier externalId) updateName(EntityName name) updatePhone(EntityPhone phone) updatePrincipal(Principal principal) updatePrivacyPreferences(EntityPrivacyPreferences privacyPreferences) updateResidency(EntityResidency residency) updateVisa(EntityVisa visa)
-
Constructor Details
-
IdentityCurrentAndArchivedServiceImpl
public IdentityCurrentAndArchivedServiceImpl(IdentityService innerIdentityService, IdentityArchiveService identityArchiveService) This constructs a IdentityCurrentAndArchivedServiceImpl, injecting the needed services.
-
-
Method Details
-
getAddressType
- Specified by:
getAddressTypein interfaceIdentityService- See Also:
-
findAllAddressTypes
- Specified by:
findAllAddressTypesin interfaceIdentityService
-
getAffiliationType
- Specified by:
getAffiliationTypein interfaceIdentityService
-
findAllAffiliationTypes
- Specified by:
findAllAffiliationTypesin interfaceIdentityService
-
getCitizenshipStatus
- Specified by:
getCitizenshipStatusin interfaceIdentityService- See Also:
-
findAllCitizenshipStatuses
- Specified by:
findAllCitizenshipStatusesin interfaceIdentityService
-
getDefaultNamesForPrincipalId
- Specified by:
getDefaultNamesForPrincipalIdin interfaceIdentityService
-
getDefaultNamesForPrincipalIds
public Map<String,EntityNamePrincipalName> getDefaultNamesForPrincipalIds(List<String> principalIds) - Specified by:
getDefaultNamesForPrincipalIdsin interfaceIdentityService
-
getPrivacyPreferencesForPrincipalId
- Specified by:
getPrivacyPreferencesForPrincipalIdin interfaceIdentityService
-
addNameToEntity
- Specified by:
addNameToEntityin interfaceIdentityService
-
updateName
- Specified by:
updateNamein interfaceIdentityService
-
inactivateName
- Specified by:
inactivateNamein interfaceIdentityService
-
addEmploymentToEntity
- Specified by:
addEmploymentToEntityin interfaceIdentityService
-
updateEmployment
- Specified by:
updateEmploymentin interfaceIdentityService
-
inactivateEmployment
- Specified by:
inactivateEmploymentin interfaceIdentityService
-
addBioDemographicsToEntity
- Specified by:
addBioDemographicsToEntityin interfaceIdentityService
-
updateBioDemographics
- Specified by:
updateBioDemographicsin interfaceIdentityService
-
getEmailType
- Specified by:
getEmailTypein interfaceIdentityService- See Also:
-
findAllEmailTypes
- Specified by:
findAllEmailTypesin interfaceIdentityService
-
findPrincipals
public PrincipalQueryResults findPrincipals(QueryByCriteria query) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException - Specified by:
findPrincipalsin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException
-
getEmploymentStatus
- Specified by:
getEmploymentStatusin interfaceIdentityService- See Also:
-
findAllEmploymentStatuses
- Specified by:
findAllEmploymentStatusesin interfaceIdentityService
-
getEmploymentType
- Specified by:
getEmploymentTypein interfaceIdentityService- See Also:
-
findAllEmploymentTypes
- Specified by:
findAllEmploymentTypesin interfaceIdentityService
-
getEntityDefault
This method first tries the inner IdentityService impl, and resorts to the IdentityArchiveService if need be.- Specified by:
getEntityDefaultin interfaceIdentityService
-
getEntityDefaultByPrincipalId
This method first tries the inner IdentityService impl, and resorts to the IdentityArchiveService if need be.- Specified by:
getEntityDefaultByPrincipalIdin interfaceIdentityService
-
getEntityDefaultByPrincipalName
This method first tries the inner IdentityService impl, and resorts to the IdentityArchiveService if need be.- Specified by:
getEntityDefaultByPrincipalNamein interfaceIdentityService
-
getEntityDefaultByEmployeeId
This method first tries the inner IdentityService impl, and resorts to the IdentityArchiveService if need be.- Specified by:
getEntityDefaultByEmployeeIdin interfaceIdentityService
-
findEntityDefaults
- Specified by:
findEntityDefaultsin interfaceIdentityService
-
findEntities
- Specified by:
findEntitiesin interfaceIdentityService
-
getEntity
- Specified by:
getEntityin interfaceIdentityService
-
getEntityByPrincipalId
- Specified by:
getEntityByPrincipalIdin interfaceIdentityService
-
getEntityByPrincipalName
- Specified by:
getEntityByPrincipalNamein interfaceIdentityService
-
getEntityByEmployeeId
- Specified by:
getEntityByEmployeeIdin interfaceIdentityService
-
createEntity
- Specified by:
createEntityin interfaceIdentityService
-
updateEntity
- Specified by:
updateEntityin interfaceIdentityService
-
inactivateEntity
- Specified by:
inactivateEntityin interfaceIdentityService
-
getNameType
- Specified by:
getNameTypein interfaceIdentityService- See Also:
-
findAllNameTypes
- Specified by:
findAllNameTypesin interfaceIdentityService
-
getEntityPrivacyPreferences
- Specified by:
getEntityPrivacyPreferencesin interfaceIdentityService
-
addPrivacyPreferencesToEntity
public EntityPrivacyPreferences addPrivacyPreferencesToEntity(EntityPrivacyPreferences privacyPreferences) - Specified by:
addPrivacyPreferencesToEntityin interfaceIdentityService
-
updatePrivacyPreferences
public EntityPrivacyPreferences updatePrivacyPreferences(EntityPrivacyPreferences privacyPreferences) - Specified by:
updatePrivacyPreferencesin interfaceIdentityService
-
addCitizenshipToEntity
- Specified by:
addCitizenshipToEntityin interfaceIdentityService
-
updateCitizenship
- Specified by:
updateCitizenshipin interfaceIdentityService
-
inactivateCitizenship
- Specified by:
inactivateCitizenshipin interfaceIdentityService
-
addEthnicityToEntity
- Specified by:
addEthnicityToEntityin interfaceIdentityService
-
updateEthnicity
- Specified by:
updateEthnicityin interfaceIdentityService
-
addResidencyToEntity
- Specified by:
addResidencyToEntityin interfaceIdentityService
-
updateResidency
- Specified by:
updateResidencyin interfaceIdentityService
-
addVisaToEntity
- Specified by:
addVisaToEntityin interfaceIdentityService
-
updateVisa
- Specified by:
updateVisain interfaceIdentityService
-
getEntityType
- Specified by:
getEntityTypein interfaceIdentityService- See Also:
-
findAllEntityTypes
- Specified by:
findAllEntityTypesin interfaceIdentityService
-
getExternalIdentifierType
- Specified by:
getExternalIdentifierTypein interfaceIdentityService
-
findAllExternalIdendtifierTypes
- Specified by:
findAllExternalIdendtifierTypesin interfaceIdentityService
-
getPhoneType
- Specified by:
getPhoneTypein interfaceIdentityService- See Also:
-
findAllPhoneTypes
- Specified by:
findAllPhoneTypesin interfaceIdentityService
-
getPrincipal
- Specified by:
getPrincipalin interfaceIdentityService
-
getPrincipals
Gets a list ofPrincipalfrom a string list of principalId.This method will only return principals that exist. It will return null if the none of the principals exist.
- Specified by:
getPrincipalsin interfaceIdentityService- Parameters:
principalIds- the unique id to retrieve the principal by. cannot be null.- Returns:
- a list of
Principalor null - Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- if the principalId is blank
-
getPrincipalByPrincipalName
- Specified by:
getPrincipalByPrincipalNamein interfaceIdentityService
-
getPrincipalsByEntityId
- Specified by:
getPrincipalsByEntityIdin interfaceIdentityService
-
getPrincipalsByEmployeeId
- Specified by:
getPrincipalsByEmployeeIdin interfaceIdentityService
-
getPrincipalByPrincipalNameAndPassword
- Specified by:
getPrincipalByPrincipalNameAndPasswordin interfaceIdentityService
-
addPrincipalToEntity
- Specified by:
addPrincipalToEntityin interfaceIdentityService
-
updatePrincipal
- Specified by:
updatePrincipalin interfaceIdentityService
-
inactivatePrincipal
- Specified by:
inactivatePrincipalin interfaceIdentityService
-
inactivatePrincipalByName
- Specified by:
inactivatePrincipalByNamein interfaceIdentityService
-
addEntityTypeContactInfoToEntity
public EntityTypeContactInfo addEntityTypeContactInfoToEntity(EntityTypeContactInfo entityTypeContactInfo) - Specified by:
addEntityTypeContactInfoToEntityin interfaceIdentityService
-
updateEntityTypeContactInfo
public EntityTypeContactInfo updateEntityTypeContactInfo(EntityTypeContactInfo entityTypeContactInfo) - Specified by:
updateEntityTypeContactInfoin interfaceIdentityService
-
inactivateEntityTypeContactInfo
public EntityTypeContactInfo inactivateEntityTypeContactInfo(String entityId, String entityTypeCode) - Specified by:
inactivateEntityTypeContactInfoin interfaceIdentityService
-
addAddressToEntity
- Specified by:
addAddressToEntityin interfaceIdentityService
-
updateAddress
- Specified by:
updateAddressin interfaceIdentityService
-
inactivateAddress
- Specified by:
inactivateAddressin interfaceIdentityService
-
addEmailToEntity
- Specified by:
addEmailToEntityin interfaceIdentityService
-
updateEmail
- Specified by:
updateEmailin interfaceIdentityService
-
inactivateEmail
- Specified by:
inactivateEmailin interfaceIdentityService
-
addPhoneToEntity
- Specified by:
addPhoneToEntityin interfaceIdentityService
-
updatePhone
- Specified by:
updatePhonein interfaceIdentityService
-
inactivatePhone
- Specified by:
inactivatePhonein interfaceIdentityService
-
addExternalIdentifierToEntity
- Specified by:
addExternalIdentifierToEntityin interfaceIdentityService
-
updateExternalIdentifier
- Specified by:
updateExternalIdentifierin interfaceIdentityService
-
addAffiliationToEntity
- Specified by:
addAffiliationToEntityin interfaceIdentityService
-
updateAffiliation
- Specified by:
updateAffiliationin interfaceIdentityService
-
inactivateAffiliation
- Specified by:
inactivateAffiliationin interfaceIdentityService
-