Class IdentityCurrentAndArchivedServiceImpl

java.lang.Object
org.kuali.rice.kim.impl.identity.IdentityCurrentAndArchivedServiceImpl
All Implemented Interfaces:
org.kuali.rice.kim.api.identity.IdentityService

public class IdentityCurrentAndArchivedServiceImpl extends Object implements org.kuali.rice.kim.api.identity.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

    Constructors
    Constructor
    Description
    IdentityCurrentAndArchivedServiceImpl(org.kuali.rice.kim.api.identity.IdentityService innerIdentityService, IdentityArchiveService identityArchiveService)
    This constructs a IdentityCurrentAndArchivedServiceImpl, injecting the needed services.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.kuali.rice.kim.api.identity.address.EntityAddress
    addAddressToEntity(org.kuali.rice.kim.api.identity.address.EntityAddress address)
     
    org.kuali.rice.kim.api.identity.affiliation.EntityAffiliation
    addAffiliationToEntity(org.kuali.rice.kim.api.identity.affiliation.EntityAffiliation affiliation)
     
    org.kuali.rice.kim.api.identity.personal.EntityBioDemographics
    addBioDemographicsToEntity(org.kuali.rice.kim.api.identity.personal.EntityBioDemographics bioDemographics)
     
    org.kuali.rice.kim.api.identity.citizenship.EntityCitizenship
    addCitizenshipToEntity(org.kuali.rice.kim.api.identity.citizenship.EntityCitizenship citizenship)
     
    org.kuali.rice.kim.api.identity.email.EntityEmail
    addEmailToEntity(org.kuali.rice.kim.api.identity.email.EntityEmail email)
     
    org.kuali.rice.kim.api.identity.employment.EntityEmployment
    addEmploymentToEntity(org.kuali.rice.kim.api.identity.employment.EntityEmployment employment)
     
    org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo
    addEntityTypeContactInfoToEntity(org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo entityTypeContactInfo)
     
    org.kuali.rice.kim.api.identity.personal.EntityEthnicity
    addEthnicityToEntity(org.kuali.rice.kim.api.identity.personal.EntityEthnicity ethnicity)
     
    org.kuali.rice.kim.api.identity.external.EntityExternalIdentifier
    addExternalIdentifierToEntity(org.kuali.rice.kim.api.identity.external.EntityExternalIdentifier externalId)
     
    org.kuali.rice.kim.api.identity.name.EntityName
    addNameToEntity(org.kuali.rice.kim.api.identity.name.EntityName name)
     
    org.kuali.rice.kim.api.identity.phone.EntityPhone
    addPhoneToEntity(org.kuali.rice.kim.api.identity.phone.EntityPhone phone)
     
    org.kuali.rice.kim.api.identity.principal.Principal
    addPrincipalToEntity(org.kuali.rice.kim.api.identity.principal.Principal principal)
     
    org.kuali.rice.kim.api.identity.privacy.EntityPrivacyPreferences
    addPrivacyPreferencesToEntity(org.kuali.rice.kim.api.identity.privacy.EntityPrivacyPreferences privacyPreferences)
     
    org.kuali.rice.kim.api.identity.residency.EntityResidency
    addResidencyToEntity(org.kuali.rice.kim.api.identity.residency.EntityResidency residency)
     
    org.kuali.rice.kim.api.identity.visa.EntityVisa
    addVisaToEntity(org.kuali.rice.kim.api.identity.visa.EntityVisa visa)
     
    org.kuali.rice.kim.api.identity.entity.Entity
    createEntity(org.kuali.rice.kim.api.identity.entity.Entity entity)
     
    List<org.kuali.rice.kim.api.identity.CodedAttribute>
     
    List<org.kuali.rice.kim.api.identity.affiliation.EntityAffiliationType>
     
    List<org.kuali.rice.kim.api.identity.CodedAttribute>
     
    List<org.kuali.rice.kim.api.identity.CodedAttribute>
     
    List<org.kuali.rice.kim.api.identity.CodedAttribute>
     
    List<org.kuali.rice.kim.api.identity.CodedAttribute>
     
    List<org.kuali.rice.kim.api.identity.CodedAttribute>
     
    List<org.kuali.rice.kim.api.identity.external.EntityExternalIdentifierType>
     
    List<org.kuali.rice.kim.api.identity.CodedAttribute>
     
    List<org.kuali.rice.kim.api.identity.CodedAttribute>
     
    org.kuali.rice.kim.api.identity.entity.EntityQueryResults
    findEntities(org.kuali.rice.core.api.criteria.QueryByCriteria queryByCriteria)
     
    org.kuali.rice.kim.api.identity.entity.EntityDefaultQueryResults
    findEntityDefaults(org.kuali.rice.core.api.criteria.QueryByCriteria queryByCriteria)
     
    org.kuali.rice.kim.api.identity.principal.PrincipalQueryResults
    findPrincipals(org.kuali.rice.core.api.criteria.QueryByCriteria query)
     
    org.kuali.rice.kim.api.identity.CodedAttribute
     
    org.kuali.rice.kim.api.identity.affiliation.EntityAffiliationType
     
    org.kuali.rice.kim.api.identity.CodedAttribute
     
    org.kuali.rice.kim.api.identity.principal.EntityNamePrincipalName
     
    Map<String,org.kuali.rice.kim.api.identity.principal.EntityNamePrincipalName>
     
    org.kuali.rice.kim.api.identity.CodedAttribute
     
    org.kuali.rice.kim.api.identity.CodedAttribute
     
    org.kuali.rice.kim.api.identity.CodedAttribute
     
    org.kuali.rice.kim.api.identity.entity.Entity
    getEntity(String entityId)
     
    org.kuali.rice.kim.api.identity.entity.Entity
     
    org.kuali.rice.kim.api.identity.entity.Entity
     
    org.kuali.rice.kim.api.identity.entity.Entity
     
    org.kuali.rice.kim.api.identity.entity.EntityDefault
    This method first tries the inner IdentityService impl, and resorts to the IdentityArchiveService if need be.
    org.kuali.rice.kim.api.identity.entity.EntityDefault
    This method first tries the inner IdentityService impl, and resorts to the IdentityArchiveService if need be.
    org.kuali.rice.kim.api.identity.entity.EntityDefault
    This method first tries the inner IdentityService impl, and resorts to the IdentityArchiveService if need be.
    org.kuali.rice.kim.api.identity.entity.EntityDefault
    This method first tries the inner IdentityService impl, and resorts to the IdentityArchiveService if need be.
    org.kuali.rice.kim.api.identity.privacy.EntityPrivacyPreferences
     
    org.kuali.rice.kim.api.identity.CodedAttribute
     
    org.kuali.rice.kim.api.identity.external.EntityExternalIdentifierType
     
    org.kuali.rice.kim.api.identity.CodedAttribute
     
    org.kuali.rice.kim.api.identity.CodedAttribute
     
    org.kuali.rice.kim.api.identity.principal.Principal
    getPrincipal(String principalId)
     
    org.kuali.rice.kim.api.identity.principal.Principal
     
    org.kuali.rice.kim.api.identity.principal.Principal
     
    List<org.kuali.rice.kim.api.identity.principal.Principal>
    getPrincipals(List<String> principalIds)
    Gets a list of Principal from a string list of principalId.
    List<org.kuali.rice.kim.api.identity.principal.Principal>
     
    List<org.kuali.rice.kim.api.identity.principal.Principal>
     
    org.kuali.rice.kim.api.identity.privacy.EntityPrivacyPreferences
    org.kuali.rice.kim.api.identity.address.EntityAddress
     
    org.kuali.rice.kim.api.identity.affiliation.EntityAffiliation
     
    org.kuali.rice.kim.api.identity.citizenship.EntityCitizenship
     
    org.kuali.rice.kim.api.identity.email.EntityEmail
     
    org.kuali.rice.kim.api.identity.employment.EntityEmployment
     
    org.kuali.rice.kim.api.identity.entity.Entity
     
    org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo
    inactivateEntityTypeContactInfo(String entityId, String entityTypeCode)
     
    org.kuali.rice.kim.api.identity.name.EntityName
     
    org.kuali.rice.kim.api.identity.phone.EntityPhone
     
    org.kuali.rice.kim.api.identity.principal.Principal
     
    org.kuali.rice.kim.api.identity.principal.Principal
     
    org.kuali.rice.kim.api.identity.address.EntityAddress
    updateAddress(org.kuali.rice.kim.api.identity.address.EntityAddress address)
     
    org.kuali.rice.kim.api.identity.affiliation.EntityAffiliation
    updateAffiliation(org.kuali.rice.kim.api.identity.affiliation.EntityAffiliation affiliation)
     
    org.kuali.rice.kim.api.identity.personal.EntityBioDemographics
    updateBioDemographics(org.kuali.rice.kim.api.identity.personal.EntityBioDemographics bioDemographics)
     
    org.kuali.rice.kim.api.identity.citizenship.EntityCitizenship
    updateCitizenship(org.kuali.rice.kim.api.identity.citizenship.EntityCitizenship citizenship)
     
    org.kuali.rice.kim.api.identity.email.EntityEmail
    updateEmail(org.kuali.rice.kim.api.identity.email.EntityEmail email)
     
    org.kuali.rice.kim.api.identity.employment.EntityEmployment
    updateEmployment(org.kuali.rice.kim.api.identity.employment.EntityEmployment employment)
     
    org.kuali.rice.kim.api.identity.entity.Entity
    updateEntity(org.kuali.rice.kim.api.identity.entity.Entity entity)
     
    org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo
    updateEntityTypeContactInfo(org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo entityTypeContactInfo)
     
    org.kuali.rice.kim.api.identity.personal.EntityEthnicity
    updateEthnicity(org.kuali.rice.kim.api.identity.personal.EntityEthnicity ethnicity)
     
    org.kuali.rice.kim.api.identity.external.EntityExternalIdentifier
    updateExternalIdentifier(org.kuali.rice.kim.api.identity.external.EntityExternalIdentifier externalId)
     
    org.kuali.rice.kim.api.identity.name.EntityName
    updateName(org.kuali.rice.kim.api.identity.name.EntityName name)
     
    org.kuali.rice.kim.api.identity.phone.EntityPhone
    updatePhone(org.kuali.rice.kim.api.identity.phone.EntityPhone phone)
     
    org.kuali.rice.kim.api.identity.principal.Principal
    updatePrincipal(org.kuali.rice.kim.api.identity.principal.Principal principal)
     
    org.kuali.rice.kim.api.identity.privacy.EntityPrivacyPreferences
    updatePrivacyPreferences(org.kuali.rice.kim.api.identity.privacy.EntityPrivacyPreferences privacyPreferences)
     
    org.kuali.rice.kim.api.identity.residency.EntityResidency
    updateResidency(org.kuali.rice.kim.api.identity.residency.EntityResidency residency)
     
    org.kuali.rice.kim.api.identity.visa.EntityVisa
    updateVisa(org.kuali.rice.kim.api.identity.visa.EntityVisa visa)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • IdentityCurrentAndArchivedServiceImpl

      public IdentityCurrentAndArchivedServiceImpl(org.kuali.rice.kim.api.identity.IdentityService innerIdentityService, IdentityArchiveService identityArchiveService)
      This constructs a IdentityCurrentAndArchivedServiceImpl, injecting the needed services.
  • Method Details

    • getAddressType

      public org.kuali.rice.kim.api.identity.CodedAttribute getAddressType(String code)
      Specified by:
      getAddressType in interface org.kuali.rice.kim.api.identity.IdentityService
      See Also:
      • IdentityService.getAddressType(java.lang.String)
    • findAllAddressTypes

      public List<org.kuali.rice.kim.api.identity.CodedAttribute> findAllAddressTypes()
      Specified by:
      findAllAddressTypes in interface org.kuali.rice.kim.api.identity.IdentityService
    • getAffiliationType

      public org.kuali.rice.kim.api.identity.affiliation.EntityAffiliationType getAffiliationType(String code)
      Specified by:
      getAffiliationType in interface org.kuali.rice.kim.api.identity.IdentityService
    • findAllAffiliationTypes

      public List<org.kuali.rice.kim.api.identity.affiliation.EntityAffiliationType> findAllAffiliationTypes()
      Specified by:
      findAllAffiliationTypes in interface org.kuali.rice.kim.api.identity.IdentityService
    • getCitizenshipStatus

      public org.kuali.rice.kim.api.identity.CodedAttribute getCitizenshipStatus(String code)
      Specified by:
      getCitizenshipStatus in interface org.kuali.rice.kim.api.identity.IdentityService
      See Also:
      • IdentityService.getCitizenshipStatus(java.lang.String)
    • findAllCitizenshipStatuses

      public List<org.kuali.rice.kim.api.identity.CodedAttribute> findAllCitizenshipStatuses()
      Specified by:
      findAllCitizenshipStatuses in interface org.kuali.rice.kim.api.identity.IdentityService
    • getDefaultNamesForPrincipalId

      public org.kuali.rice.kim.api.identity.principal.EntityNamePrincipalName getDefaultNamesForPrincipalId(String principalId)
      Specified by:
      getDefaultNamesForPrincipalId in interface org.kuali.rice.kim.api.identity.IdentityService
    • getDefaultNamesForPrincipalIds

      public Map<String,org.kuali.rice.kim.api.identity.principal.EntityNamePrincipalName> getDefaultNamesForPrincipalIds(List<String> principalIds)
      Specified by:
      getDefaultNamesForPrincipalIds in interface org.kuali.rice.kim.api.identity.IdentityService
    • getPrivacyPreferencesForPrincipalId

      public org.kuali.rice.kim.api.identity.privacy.EntityPrivacyPreferences getPrivacyPreferencesForPrincipalId(String principalId)
      Specified by:
      getPrivacyPreferencesForPrincipalId in interface org.kuali.rice.kim.api.identity.IdentityService
    • addNameToEntity

      public org.kuali.rice.kim.api.identity.name.EntityName addNameToEntity(org.kuali.rice.kim.api.identity.name.EntityName name)
      Specified by:
      addNameToEntity in interface org.kuali.rice.kim.api.identity.IdentityService
    • updateName

      public org.kuali.rice.kim.api.identity.name.EntityName updateName(org.kuali.rice.kim.api.identity.name.EntityName name)
      Specified by:
      updateName in interface org.kuali.rice.kim.api.identity.IdentityService
    • inactivateName

      public org.kuali.rice.kim.api.identity.name.EntityName inactivateName(String id)
      Specified by:
      inactivateName in interface org.kuali.rice.kim.api.identity.IdentityService
    • addEmploymentToEntity

      public org.kuali.rice.kim.api.identity.employment.EntityEmployment addEmploymentToEntity(org.kuali.rice.kim.api.identity.employment.EntityEmployment employment)
      Specified by:
      addEmploymentToEntity in interface org.kuali.rice.kim.api.identity.IdentityService
    • updateEmployment

      public org.kuali.rice.kim.api.identity.employment.EntityEmployment updateEmployment(org.kuali.rice.kim.api.identity.employment.EntityEmployment employment)
      Specified by:
      updateEmployment in interface org.kuali.rice.kim.api.identity.IdentityService
    • inactivateEmployment

      public org.kuali.rice.kim.api.identity.employment.EntityEmployment inactivateEmployment(String id)
      Specified by:
      inactivateEmployment in interface org.kuali.rice.kim.api.identity.IdentityService
    • addBioDemographicsToEntity

      public org.kuali.rice.kim.api.identity.personal.EntityBioDemographics addBioDemographicsToEntity(org.kuali.rice.kim.api.identity.personal.EntityBioDemographics bioDemographics)
      Specified by:
      addBioDemographicsToEntity in interface org.kuali.rice.kim.api.identity.IdentityService
    • updateBioDemographics

      public org.kuali.rice.kim.api.identity.personal.EntityBioDemographics updateBioDemographics(org.kuali.rice.kim.api.identity.personal.EntityBioDemographics bioDemographics)
      Specified by:
      updateBioDemographics in interface org.kuali.rice.kim.api.identity.IdentityService
    • getEmailType

      public org.kuali.rice.kim.api.identity.CodedAttribute getEmailType(String code)
      Specified by:
      getEmailType in interface org.kuali.rice.kim.api.identity.IdentityService
      See Also:
      • IdentityService.getEmailType(java.lang.String)
    • findAllEmailTypes

      public List<org.kuali.rice.kim.api.identity.CodedAttribute> findAllEmailTypes()
      Specified by:
      findAllEmailTypes in interface org.kuali.rice.kim.api.identity.IdentityService
    • findPrincipals

      public org.kuali.rice.kim.api.identity.principal.PrincipalQueryResults findPrincipals(org.kuali.rice.core.api.criteria.QueryByCriteria query) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      Specified by:
      findPrincipals in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
    • getEmploymentStatus

      public org.kuali.rice.kim.api.identity.CodedAttribute getEmploymentStatus(String code)
      Specified by:
      getEmploymentStatus in interface org.kuali.rice.kim.api.identity.IdentityService
      See Also:
      • IdentityService.getEmploymentStatus(java.lang.String)
    • findAllEmploymentStatuses

      public List<org.kuali.rice.kim.api.identity.CodedAttribute> findAllEmploymentStatuses()
      Specified by:
      findAllEmploymentStatuses in interface org.kuali.rice.kim.api.identity.IdentityService
    • getEmploymentType

      public org.kuali.rice.kim.api.identity.CodedAttribute getEmploymentType(String code)
      Specified by:
      getEmploymentType in interface org.kuali.rice.kim.api.identity.IdentityService
      See Also:
      • IdentityService.getEmploymentType(java.lang.String)
    • findAllEmploymentTypes

      public List<org.kuali.rice.kim.api.identity.CodedAttribute> findAllEmploymentTypes()
      Specified by:
      findAllEmploymentTypes in interface org.kuali.rice.kim.api.identity.IdentityService
    • getEntityDefault

      public org.kuali.rice.kim.api.identity.entity.EntityDefault getEntityDefault(String entityId)
      This method first tries the inner IdentityService impl, and resorts to the IdentityArchiveService if need be.
      Specified by:
      getEntityDefault in interface org.kuali.rice.kim.api.identity.IdentityService
    • getEntityDefaultByPrincipalId

      public org.kuali.rice.kim.api.identity.entity.EntityDefault getEntityDefaultByPrincipalId(String principalId)
      This method first tries the inner IdentityService impl, and resorts to the IdentityArchiveService if need be.
      Specified by:
      getEntityDefaultByPrincipalId in interface org.kuali.rice.kim.api.identity.IdentityService
    • getEntityDefaultByPrincipalName

      public org.kuali.rice.kim.api.identity.entity.EntityDefault getEntityDefaultByPrincipalName(String principalName)
      This method first tries the inner IdentityService impl, and resorts to the IdentityArchiveService if need be.
      Specified by:
      getEntityDefaultByPrincipalName in interface org.kuali.rice.kim.api.identity.IdentityService
    • getEntityDefaultByEmployeeId

      public org.kuali.rice.kim.api.identity.entity.EntityDefault getEntityDefaultByEmployeeId(String employeeId)
      This method first tries the inner IdentityService impl, and resorts to the IdentityArchiveService if need be.
      Specified by:
      getEntityDefaultByEmployeeId in interface org.kuali.rice.kim.api.identity.IdentityService
    • findEntityDefaults

      public org.kuali.rice.kim.api.identity.entity.EntityDefaultQueryResults findEntityDefaults(org.kuali.rice.core.api.criteria.QueryByCriteria queryByCriteria)
      Specified by:
      findEntityDefaults in interface org.kuali.rice.kim.api.identity.IdentityService
    • findEntities

      public org.kuali.rice.kim.api.identity.entity.EntityQueryResults findEntities(org.kuali.rice.core.api.criteria.QueryByCriteria queryByCriteria)
      Specified by:
      findEntities in interface org.kuali.rice.kim.api.identity.IdentityService
    • getEntity

      public org.kuali.rice.kim.api.identity.entity.Entity getEntity(String entityId)
      Specified by:
      getEntity in interface org.kuali.rice.kim.api.identity.IdentityService
    • getEntityByPrincipalId

      public org.kuali.rice.kim.api.identity.entity.Entity getEntityByPrincipalId(String principalId)
      Specified by:
      getEntityByPrincipalId in interface org.kuali.rice.kim.api.identity.IdentityService
    • getEntityByPrincipalName

      public org.kuali.rice.kim.api.identity.entity.Entity getEntityByPrincipalName(String principalName)
      Specified by:
      getEntityByPrincipalName in interface org.kuali.rice.kim.api.identity.IdentityService
    • getEntityByEmployeeId

      public org.kuali.rice.kim.api.identity.entity.Entity getEntityByEmployeeId(String employeeId)
      Specified by:
      getEntityByEmployeeId in interface org.kuali.rice.kim.api.identity.IdentityService
    • createEntity

      public org.kuali.rice.kim.api.identity.entity.Entity createEntity(org.kuali.rice.kim.api.identity.entity.Entity entity)
      Specified by:
      createEntity in interface org.kuali.rice.kim.api.identity.IdentityService
    • updateEntity

      public org.kuali.rice.kim.api.identity.entity.Entity updateEntity(org.kuali.rice.kim.api.identity.entity.Entity entity)
      Specified by:
      updateEntity in interface org.kuali.rice.kim.api.identity.IdentityService
    • inactivateEntity

      public org.kuali.rice.kim.api.identity.entity.Entity inactivateEntity(String entityId)
      Specified by:
      inactivateEntity in interface org.kuali.rice.kim.api.identity.IdentityService
    • getNameType

      public org.kuali.rice.kim.api.identity.CodedAttribute getNameType(String code)
      Specified by:
      getNameType in interface org.kuali.rice.kim.api.identity.IdentityService
      See Also:
      • IdentityService.getNameType(java.lang.String)
    • findAllNameTypes

      public List<org.kuali.rice.kim.api.identity.CodedAttribute> findAllNameTypes()
      Specified by:
      findAllNameTypes in interface org.kuali.rice.kim.api.identity.IdentityService
    • getEntityPrivacyPreferences

      public org.kuali.rice.kim.api.identity.privacy.EntityPrivacyPreferences getEntityPrivacyPreferences(String entityId)
      Specified by:
      getEntityPrivacyPreferences in interface org.kuali.rice.kim.api.identity.IdentityService
    • addPrivacyPreferencesToEntity

      public org.kuali.rice.kim.api.identity.privacy.EntityPrivacyPreferences addPrivacyPreferencesToEntity(org.kuali.rice.kim.api.identity.privacy.EntityPrivacyPreferences privacyPreferences)
      Specified by:
      addPrivacyPreferencesToEntity in interface org.kuali.rice.kim.api.identity.IdentityService
    • updatePrivacyPreferences

      public org.kuali.rice.kim.api.identity.privacy.EntityPrivacyPreferences updatePrivacyPreferences(org.kuali.rice.kim.api.identity.privacy.EntityPrivacyPreferences privacyPreferences)
      Specified by:
      updatePrivacyPreferences in interface org.kuali.rice.kim.api.identity.IdentityService
    • addCitizenshipToEntity

      public org.kuali.rice.kim.api.identity.citizenship.EntityCitizenship addCitizenshipToEntity(org.kuali.rice.kim.api.identity.citizenship.EntityCitizenship citizenship)
      Specified by:
      addCitizenshipToEntity in interface org.kuali.rice.kim.api.identity.IdentityService
    • updateCitizenship

      public org.kuali.rice.kim.api.identity.citizenship.EntityCitizenship updateCitizenship(org.kuali.rice.kim.api.identity.citizenship.EntityCitizenship citizenship)
      Specified by:
      updateCitizenship in interface org.kuali.rice.kim.api.identity.IdentityService
    • inactivateCitizenship

      public org.kuali.rice.kim.api.identity.citizenship.EntityCitizenship inactivateCitizenship(String id)
      Specified by:
      inactivateCitizenship in interface org.kuali.rice.kim.api.identity.IdentityService
    • addEthnicityToEntity

      public org.kuali.rice.kim.api.identity.personal.EntityEthnicity addEthnicityToEntity(org.kuali.rice.kim.api.identity.personal.EntityEthnicity ethnicity)
      Specified by:
      addEthnicityToEntity in interface org.kuali.rice.kim.api.identity.IdentityService
    • updateEthnicity

      public org.kuali.rice.kim.api.identity.personal.EntityEthnicity updateEthnicity(org.kuali.rice.kim.api.identity.personal.EntityEthnicity ethnicity)
      Specified by:
      updateEthnicity in interface org.kuali.rice.kim.api.identity.IdentityService
    • addResidencyToEntity

      public org.kuali.rice.kim.api.identity.residency.EntityResidency addResidencyToEntity(org.kuali.rice.kim.api.identity.residency.EntityResidency residency)
      Specified by:
      addResidencyToEntity in interface org.kuali.rice.kim.api.identity.IdentityService
    • updateResidency

      public org.kuali.rice.kim.api.identity.residency.EntityResidency updateResidency(org.kuali.rice.kim.api.identity.residency.EntityResidency residency)
      Specified by:
      updateResidency in interface org.kuali.rice.kim.api.identity.IdentityService
    • addVisaToEntity

      public org.kuali.rice.kim.api.identity.visa.EntityVisa addVisaToEntity(org.kuali.rice.kim.api.identity.visa.EntityVisa visa)
      Specified by:
      addVisaToEntity in interface org.kuali.rice.kim.api.identity.IdentityService
    • updateVisa

      public org.kuali.rice.kim.api.identity.visa.EntityVisa updateVisa(org.kuali.rice.kim.api.identity.visa.EntityVisa visa)
      Specified by:
      updateVisa in interface org.kuali.rice.kim.api.identity.IdentityService
    • getEntityType

      public org.kuali.rice.kim.api.identity.CodedAttribute getEntityType(String code)
      Specified by:
      getEntityType in interface org.kuali.rice.kim.api.identity.IdentityService
      See Also:
      • IdentityService.getEntityType(java.lang.String)
    • findAllEntityTypes

      public List<org.kuali.rice.kim.api.identity.CodedAttribute> findAllEntityTypes()
      Specified by:
      findAllEntityTypes in interface org.kuali.rice.kim.api.identity.IdentityService
    • getExternalIdentifierType

      public org.kuali.rice.kim.api.identity.external.EntityExternalIdentifierType getExternalIdentifierType(String code)
      Specified by:
      getExternalIdentifierType in interface org.kuali.rice.kim.api.identity.IdentityService
    • findAllExternalIdendtifierTypes

      public List<org.kuali.rice.kim.api.identity.external.EntityExternalIdentifierType> findAllExternalIdendtifierTypes()
      Specified by:
      findAllExternalIdendtifierTypes in interface org.kuali.rice.kim.api.identity.IdentityService
    • getPhoneType

      public org.kuali.rice.kim.api.identity.CodedAttribute getPhoneType(String code)
      Specified by:
      getPhoneType in interface org.kuali.rice.kim.api.identity.IdentityService
      See Also:
      • IdentityService.getPhoneType(java.lang.String)
    • findAllPhoneTypes

      public List<org.kuali.rice.kim.api.identity.CodedAttribute> findAllPhoneTypes()
      Specified by:
      findAllPhoneTypes in interface org.kuali.rice.kim.api.identity.IdentityService
    • getPrincipal

      public org.kuali.rice.kim.api.identity.principal.Principal getPrincipal(String principalId)
      Specified by:
      getPrincipal in interface org.kuali.rice.kim.api.identity.IdentityService
    • getPrincipals

      public List<org.kuali.rice.kim.api.identity.principal.Principal> getPrincipals(List<String> principalIds)
      Gets a list of Principal from 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:
      getPrincipals in interface org.kuali.rice.kim.api.identity.IdentityService
      Parameters:
      principalIds - the unique id to retrieve the principal by. cannot be null.
      Returns:
      a list of Principal or null
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException - if the principalId is blank
    • getPrincipalByPrincipalName

      public org.kuali.rice.kim.api.identity.principal.Principal getPrincipalByPrincipalName(String principalName)
      Specified by:
      getPrincipalByPrincipalName in interface org.kuali.rice.kim.api.identity.IdentityService
    • getPrincipalsByEntityId

      public List<org.kuali.rice.kim.api.identity.principal.Principal> getPrincipalsByEntityId(String entityId)
      Specified by:
      getPrincipalsByEntityId in interface org.kuali.rice.kim.api.identity.IdentityService
    • getPrincipalsByEmployeeId

      public List<org.kuali.rice.kim.api.identity.principal.Principal> getPrincipalsByEmployeeId(String employeeId)
      Specified by:
      getPrincipalsByEmployeeId in interface org.kuali.rice.kim.api.identity.IdentityService
    • getPrincipalByPrincipalNameAndPassword

      public org.kuali.rice.kim.api.identity.principal.Principal getPrincipalByPrincipalNameAndPassword(String principalName, String password)
      Specified by:
      getPrincipalByPrincipalNameAndPassword in interface org.kuali.rice.kim.api.identity.IdentityService
    • addPrincipalToEntity

      public org.kuali.rice.kim.api.identity.principal.Principal addPrincipalToEntity(org.kuali.rice.kim.api.identity.principal.Principal principal)
      Specified by:
      addPrincipalToEntity in interface org.kuali.rice.kim.api.identity.IdentityService
    • updatePrincipal

      public org.kuali.rice.kim.api.identity.principal.Principal updatePrincipal(org.kuali.rice.kim.api.identity.principal.Principal principal)
      Specified by:
      updatePrincipal in interface org.kuali.rice.kim.api.identity.IdentityService
    • inactivatePrincipal

      public org.kuali.rice.kim.api.identity.principal.Principal inactivatePrincipal(String principalId)
      Specified by:
      inactivatePrincipal in interface org.kuali.rice.kim.api.identity.IdentityService
    • inactivatePrincipalByName

      public org.kuali.rice.kim.api.identity.principal.Principal inactivatePrincipalByName(String principalName)
      Specified by:
      inactivatePrincipalByName in interface org.kuali.rice.kim.api.identity.IdentityService
    • addEntityTypeContactInfoToEntity

      public org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo addEntityTypeContactInfoToEntity(org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo entityTypeContactInfo)
      Specified by:
      addEntityTypeContactInfoToEntity in interface org.kuali.rice.kim.api.identity.IdentityService
    • updateEntityTypeContactInfo

      public org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo updateEntityTypeContactInfo(org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo entityTypeContactInfo)
      Specified by:
      updateEntityTypeContactInfo in interface org.kuali.rice.kim.api.identity.IdentityService
    • inactivateEntityTypeContactInfo

      public org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo inactivateEntityTypeContactInfo(String entityId, String entityTypeCode)
      Specified by:
      inactivateEntityTypeContactInfo in interface org.kuali.rice.kim.api.identity.IdentityService
    • addAddressToEntity

      public org.kuali.rice.kim.api.identity.address.EntityAddress addAddressToEntity(org.kuali.rice.kim.api.identity.address.EntityAddress address)
      Specified by:
      addAddressToEntity in interface org.kuali.rice.kim.api.identity.IdentityService
    • updateAddress

      public org.kuali.rice.kim.api.identity.address.EntityAddress updateAddress(org.kuali.rice.kim.api.identity.address.EntityAddress address)
      Specified by:
      updateAddress in interface org.kuali.rice.kim.api.identity.IdentityService
    • inactivateAddress

      public org.kuali.rice.kim.api.identity.address.EntityAddress inactivateAddress(String addressId)
      Specified by:
      inactivateAddress in interface org.kuali.rice.kim.api.identity.IdentityService
    • addEmailToEntity

      public org.kuali.rice.kim.api.identity.email.EntityEmail addEmailToEntity(org.kuali.rice.kim.api.identity.email.EntityEmail email)
      Specified by:
      addEmailToEntity in interface org.kuali.rice.kim.api.identity.IdentityService
    • updateEmail

      public org.kuali.rice.kim.api.identity.email.EntityEmail updateEmail(org.kuali.rice.kim.api.identity.email.EntityEmail email)
      Specified by:
      updateEmail in interface org.kuali.rice.kim.api.identity.IdentityService
    • inactivateEmail

      public org.kuali.rice.kim.api.identity.email.EntityEmail inactivateEmail(String emailId)
      Specified by:
      inactivateEmail in interface org.kuali.rice.kim.api.identity.IdentityService
    • addPhoneToEntity

      public org.kuali.rice.kim.api.identity.phone.EntityPhone addPhoneToEntity(org.kuali.rice.kim.api.identity.phone.EntityPhone phone)
      Specified by:
      addPhoneToEntity in interface org.kuali.rice.kim.api.identity.IdentityService
    • updatePhone

      public org.kuali.rice.kim.api.identity.phone.EntityPhone updatePhone(org.kuali.rice.kim.api.identity.phone.EntityPhone phone)
      Specified by:
      updatePhone in interface org.kuali.rice.kim.api.identity.IdentityService
    • inactivatePhone

      public org.kuali.rice.kim.api.identity.phone.EntityPhone inactivatePhone(String phoneId)
      Specified by:
      inactivatePhone in interface org.kuali.rice.kim.api.identity.IdentityService
    • addExternalIdentifierToEntity

      public org.kuali.rice.kim.api.identity.external.EntityExternalIdentifier addExternalIdentifierToEntity(org.kuali.rice.kim.api.identity.external.EntityExternalIdentifier externalId)
      Specified by:
      addExternalIdentifierToEntity in interface org.kuali.rice.kim.api.identity.IdentityService
    • updateExternalIdentifier

      public org.kuali.rice.kim.api.identity.external.EntityExternalIdentifier updateExternalIdentifier(org.kuali.rice.kim.api.identity.external.EntityExternalIdentifier externalId)
      Specified by:
      updateExternalIdentifier in interface org.kuali.rice.kim.api.identity.IdentityService
    • addAffiliationToEntity

      public org.kuali.rice.kim.api.identity.affiliation.EntityAffiliation addAffiliationToEntity(org.kuali.rice.kim.api.identity.affiliation.EntityAffiliation affiliation)
      Specified by:
      addAffiliationToEntity in interface org.kuali.rice.kim.api.identity.IdentityService
    • updateAffiliation

      public org.kuali.rice.kim.api.identity.affiliation.EntityAffiliation updateAffiliation(org.kuali.rice.kim.api.identity.affiliation.EntityAffiliation affiliation)
      Specified by:
      updateAffiliation in interface org.kuali.rice.kim.api.identity.IdentityService
    • inactivateAffiliation

      public org.kuali.rice.kim.api.identity.affiliation.EntityAffiliation inactivateAffiliation(String id)
      Specified by:
      inactivateAffiliation in interface org.kuali.rice.kim.api.identity.IdentityService