Class IdentityServiceImpl

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

public class IdentityServiceImpl extends Object implements org.kuali.rice.kim.api.identity.IdentityService
Base implementation of the identity (identity) service. This version assumes the KimEntity and related data is located within the KIM database.
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Field Details

    • UNAVAILABLE

      protected static final String UNAVAILABLE
      See Also:
    • dataObjectService

      protected org.kuali.rice.krad.data.DataObjectService dataObjectService
    • identityServiceDao

      protected IdentityServiceDao identityServiceDao
  • Constructor Details

    • IdentityServiceImpl

      public IdentityServiceImpl()
  • Method Details

    • getEntity

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

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

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

      public org.kuali.rice.kim.api.identity.entity.Entity getEntityByEmployeeId(String employeeId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      Specified by:
      getEntityByEmployeeId in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
    • getEntityDefault

      public org.kuali.rice.kim.api.identity.entity.EntityDefault getEntityDefault(String entityId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      Specified by:
      getEntityDefault in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
    • getEntityDefaultByPrincipalId

      public org.kuali.rice.kim.api.identity.entity.EntityDefault getEntityDefaultByPrincipalId(String principalId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      Specified by:
      getEntityDefaultByPrincipalId in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
    • getEntityDefaultByPrincipalName

      public org.kuali.rice.kim.api.identity.entity.EntityDefault getEntityDefaultByPrincipalName(String principalName) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      Specified by:
      getEntityDefaultByPrincipalName in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
    • getEntityDefaultByEmployeeId

      public org.kuali.rice.kim.api.identity.entity.EntityDefault getEntityDefaultByEmployeeId(String employeeId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      Specified by:
      getEntityDefaultByEmployeeId in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
    • getPrincipalByPrincipalNameAndPassword

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

      public org.kuali.rice.kim.api.identity.principal.Principal addPrincipalToEntity(org.kuali.rice.kim.api.identity.principal.Principal principal) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      addPrincipalToEntity in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • updatePrincipal

      public org.kuali.rice.kim.api.identity.principal.Principal updatePrincipal(org.kuali.rice.kim.api.identity.principal.Principal principal) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      updatePrincipal in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • inactivatePrincipal

      public org.kuali.rice.kim.api.identity.principal.Principal inactivatePrincipal(String principalId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      inactivatePrincipal in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • inactivatePrincipalByName

      public org.kuali.rice.kim.api.identity.principal.Principal inactivatePrincipalByName(String principalName) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      inactivatePrincipalByName in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • addEntityTypeContactInfoToEntity

      public org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo addEntityTypeContactInfoToEntity(org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo entityTypeData) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      addEntityTypeContactInfoToEntity in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • getEntityTypeDataBo

      protected EntityTypeContactInfoBo getEntityTypeDataBo(String entityId, String entityTypeCode)
    • updateEntityTypeContactInfo

      public org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo updateEntityTypeContactInfo(org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo entityTypeContactInfo) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      updateEntityTypeContactInfo in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • inactivateEntityTypeContactInfo

      public org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo inactivateEntityTypeContactInfo(String entityId, String entityTypeCode) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      inactivateEntityTypeContactInfo in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • getEntityAddressBo

      protected EntityAddressBo getEntityAddressBo(String entityId, String entityTypeCode, String addressTypeCode)
    • getEntityAddressBo

      protected EntityAddressBo getEntityAddressBo(String addressId)
    • addAddressToEntity

      public org.kuali.rice.kim.api.identity.address.EntityAddress addAddressToEntity(org.kuali.rice.kim.api.identity.address.EntityAddress address) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      addAddressToEntity in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • updateAddress

      public org.kuali.rice.kim.api.identity.address.EntityAddress updateAddress(org.kuali.rice.kim.api.identity.address.EntityAddress address) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      updateAddress in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • inactivateAddress

      public org.kuali.rice.kim.api.identity.address.EntityAddress inactivateAddress(String addressId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      inactivateAddress in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • getEntityEmailBo

      protected EntityEmailBo getEntityEmailBo(String entityId, String entityTypeCode, String emailTypeCode)
    • getEntityEmailBo

      protected EntityEmailBo getEntityEmailBo(String emailId)
    • addEmailToEntity

      public org.kuali.rice.kim.api.identity.email.EntityEmail addEmailToEntity(org.kuali.rice.kim.api.identity.email.EntityEmail email) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      addEmailToEntity in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • updateEmail

      public org.kuali.rice.kim.api.identity.email.EntityEmail updateEmail(org.kuali.rice.kim.api.identity.email.EntityEmail email) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      updateEmail in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • inactivateEmail

      public org.kuali.rice.kim.api.identity.email.EntityEmail inactivateEmail(String emailId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      inactivateEmail in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • getEntityPhoneBo

      protected EntityPhoneBo getEntityPhoneBo(String entityId, String entityTypeCode, String phoneTypeCode)
    • getEntityPhoneBo

      protected EntityPhoneBo getEntityPhoneBo(String phoneId)
    • addPhoneToEntity

      public org.kuali.rice.kim.api.identity.phone.EntityPhone addPhoneToEntity(org.kuali.rice.kim.api.identity.phone.EntityPhone phone) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      addPhoneToEntity in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • updatePhone

      public org.kuali.rice.kim.api.identity.phone.EntityPhone updatePhone(org.kuali.rice.kim.api.identity.phone.EntityPhone phone) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      updatePhone in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • inactivatePhone

      public org.kuali.rice.kim.api.identity.phone.EntityPhone inactivatePhone(String phoneId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      inactivatePhone in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • getEntityExternalIdentifierBo

      protected EntityExternalIdentifierBo getEntityExternalIdentifierBo(String entityId, String externalIdentifierTypeCode)
    • addExternalIdentifierToEntity

      public org.kuali.rice.kim.api.identity.external.EntityExternalIdentifier addExternalIdentifierToEntity(org.kuali.rice.kim.api.identity.external.EntityExternalIdentifier externalId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      addExternalIdentifierToEntity in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • updateExternalIdentifier

      public org.kuali.rice.kim.api.identity.external.EntityExternalIdentifier updateExternalIdentifier(org.kuali.rice.kim.api.identity.external.EntityExternalIdentifier externalId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      updateExternalIdentifier in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • getEntityAffiliationBo

      protected EntityAffiliationBo getEntityAffiliationBo(String id)
    • addAffiliationToEntity

      public org.kuali.rice.kim.api.identity.affiliation.EntityAffiliation addAffiliationToEntity(org.kuali.rice.kim.api.identity.affiliation.EntityAffiliation affiliation) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      addAffiliationToEntity in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • updateAffiliation

      public org.kuali.rice.kim.api.identity.affiliation.EntityAffiliation updateAffiliation(org.kuali.rice.kim.api.identity.affiliation.EntityAffiliation affiliation) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      updateAffiliation in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • inactivateAffiliation

      public org.kuali.rice.kim.api.identity.affiliation.EntityAffiliation inactivateAffiliation(String id) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      inactivateAffiliation in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • findEntities

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

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

      protected org.kuali.rice.kim.api.identity.name.EntityNameQueryResults findNames(org.kuali.rice.core.api.criteria.QueryByCriteria queryByCriteria)
    • getEntityPrivacyPreferences

      public org.kuali.rice.kim.api.identity.privacy.EntityPrivacyPreferences getEntityPrivacyPreferences(String entityId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      Specified by:
      getEntityPrivacyPreferences in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
    • getPrincipal

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

      public List<org.kuali.rice.kim.api.identity.principal.Principal> getPrincipals(List<String> principalIds)
      Specified by:
      getPrincipals in interface org.kuali.rice.kim.api.identity.IdentityService
    • getPrincipalBo

      protected PrincipalBo getPrincipalBo(String principalId)
    • getEntityBo

      protected EntityBo getEntityBo(String entityId)
    • getPrincipalByPrincipalName

      public org.kuali.rice.kim.api.identity.principal.Principal getPrincipalByPrincipalName(String principalName) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      Specified by:
      getPrincipalByPrincipalName in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
    • getPrincipalBoByPrincipalName

      protected PrincipalBo getPrincipalBoByPrincipalName(String principalName) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
    • getPrincipalsByEntityId

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

      public List<org.kuali.rice.kim.api.identity.principal.Principal> getPrincipalsByEmployeeId(String employeeId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      Specified by:
      getPrincipalsByEmployeeId in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
    • getEntityBoByPrincipalName

      protected EntityBo getEntityBoByPrincipalName(String principalName)
      See Also:
      • IdentityService.getEntityByPrincipalName(java.lang.String)
    • getEntityBoByPrincipalId

      protected EntityBo getEntityBoByPrincipalId(String principalId)
      See Also:
      • IdentityService.getEntityByPrincipalId(java.lang.String)
    • getEntityBoByEmployeeId

      protected EntityBo getEntityBoByEmployeeId(String employeeId)
      See Also:
      • IdentityService.getEntityByEmployeeId(java.lang.String)
    • getEntityByKeyValue

      protected EntityBo getEntityByKeyValue(String key, String value)
      Generic helper method for performing a lookup through the business object service.
    • getAddressType

      public org.kuali.rice.kim.api.identity.CodedAttribute getAddressType(String code) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      Specified by:
      getAddressType in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
    • 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) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      Specified by:
      getAffiliationType in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
    • 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) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      Specified by:
      getCitizenshipStatus in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
    • findAllCitizenshipStatuses

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

      public org.kuali.rice.kim.api.identity.CodedAttribute getEmailType(String code) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      Specified by:
      getEmailType in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
    • 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) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      Specified by:
      getEmploymentStatus in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
    • 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) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      Specified by:
      getEmploymentType in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
    • findAllEmploymentTypes

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

      public org.kuali.rice.kim.api.identity.CodedAttribute getNameType(String code) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      Specified by:
      getNameType in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
    • findAllNameTypes

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

      public org.kuali.rice.kim.api.identity.CodedAttribute getEntityType(String code) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      Specified by:
      getEntityType in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
    • 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) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      Specified by:
      getExternalIdentifierType in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
    • 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) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      Specified by:
      getPhoneType in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
    • findAllPhoneTypes

      public List<org.kuali.rice.kim.api.identity.CodedAttribute> findAllPhoneTypes()
      Specified by:
      findAllPhoneTypes 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) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      createEntity in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • updateEntity

      public org.kuali.rice.kim.api.identity.entity.Entity updateEntity(org.kuali.rice.kim.api.identity.entity.Entity entity) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      updateEntity in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • inactivateEntity

      public org.kuali.rice.kim.api.identity.entity.Entity inactivateEntity(String entityId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      inactivateEntity in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • addPrivacyPreferencesToEntity

      public org.kuali.rice.kim.api.identity.privacy.EntityPrivacyPreferences addPrivacyPreferencesToEntity(org.kuali.rice.kim.api.identity.privacy.EntityPrivacyPreferences privacyPreferences) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      addPrivacyPreferencesToEntity in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • updatePrivacyPreferences

      public org.kuali.rice.kim.api.identity.privacy.EntityPrivacyPreferences updatePrivacyPreferences(org.kuali.rice.kim.api.identity.privacy.EntityPrivacyPreferences privacyPreferences) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      updatePrivacyPreferences in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • getEntityCitizenshipBo

      protected EntityCitizenshipBo getEntityCitizenshipBo(String entityId, String citizenshipStatusCode)
    • getEntityCitizenshipBo

      protected EntityCitizenshipBo getEntityCitizenshipBo(String id)
    • addCitizenshipToEntity

      public org.kuali.rice.kim.api.identity.citizenship.EntityCitizenship addCitizenshipToEntity(org.kuali.rice.kim.api.identity.citizenship.EntityCitizenship citizenship) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      addCitizenshipToEntity in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • updateCitizenship

      public org.kuali.rice.kim.api.identity.citizenship.EntityCitizenship updateCitizenship(org.kuali.rice.kim.api.identity.citizenship.EntityCitizenship citizenship) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      updateCitizenship in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • inactivateCitizenship

      public org.kuali.rice.kim.api.identity.citizenship.EntityCitizenship inactivateCitizenship(String id) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      inactivateCitizenship in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • getEntityEthnicityBo

      protected EntityEthnicityBo getEntityEthnicityBo(String ethnicityId)
    • addEthnicityToEntity

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

      public org.kuali.rice.kim.api.identity.personal.EntityEthnicity updateEthnicity(org.kuali.rice.kim.api.identity.personal.EntityEthnicity ethnicity) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      updateEthnicity in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • getEntityResidencyBo

      protected EntityResidencyBo getEntityResidencyBo(String residencyId)
    • addResidencyToEntity

      public org.kuali.rice.kim.api.identity.residency.EntityResidency addResidencyToEntity(org.kuali.rice.kim.api.identity.residency.EntityResidency residency) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      addResidencyToEntity in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • updateResidency

      public org.kuali.rice.kim.api.identity.residency.EntityResidency updateResidency(org.kuali.rice.kim.api.identity.residency.EntityResidency residency) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      updateResidency in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • getEntityVisaBo

      protected EntityVisaBo getEntityVisaBo(String visaId)
    • addVisaToEntity

      public org.kuali.rice.kim.api.identity.visa.EntityVisa addVisaToEntity(org.kuali.rice.kim.api.identity.visa.EntityVisa visa) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      addVisaToEntity in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • updateVisa

      public org.kuali.rice.kim.api.identity.visa.EntityVisa updateVisa(org.kuali.rice.kim.api.identity.visa.EntityVisa visa) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      updateVisa in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • getEntityNameBo

      protected EntityNameBo getEntityNameBo(String entityId, String nameTypeCode)
    • getEntityNameBo

      protected EntityNameBo getEntityNameBo(String id)
    • 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) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      addNameToEntity in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • updateName

      public org.kuali.rice.kim.api.identity.name.EntityName updateName(org.kuali.rice.kim.api.identity.name.EntityName name) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      updateName in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • inactivateName

      public org.kuali.rice.kim.api.identity.name.EntityName inactivateName(String id) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      inactivateName in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • getEntityEmploymentBo

      protected EntityEmploymentBo getEntityEmploymentBo(String entityId, String employmentTypeCode, String employmentStatusCode, String employmentAffiliationId)
    • getEntityEmploymentBo

      protected EntityEmploymentBo getEntityEmploymentBo(String id)
    • addEmploymentToEntity

      public org.kuali.rice.kim.api.identity.employment.EntityEmployment addEmploymentToEntity(org.kuali.rice.kim.api.identity.employment.EntityEmployment employment) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      addEmploymentToEntity in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • updateEmployment

      public org.kuali.rice.kim.api.identity.employment.EntityEmployment updateEmployment(org.kuali.rice.kim.api.identity.employment.EntityEmployment employment) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      updateEmployment in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • inactivateEmployment

      public org.kuali.rice.kim.api.identity.employment.EntityEmployment inactivateEmployment(String id) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      inactivateEmployment in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • getEntityBioDemographicsBo

      protected EntityBioDemographicsBo getEntityBioDemographicsBo(String entityId)
    • addBioDemographicsToEntity

      public org.kuali.rice.kim.api.identity.personal.EntityBioDemographics addBioDemographicsToEntity(org.kuali.rice.kim.api.identity.personal.EntityBioDemographics bioDemographics) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      addBioDemographicsToEntity in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • updateBioDemographics

      public org.kuali.rice.kim.api.identity.personal.EntityBioDemographics updateBioDemographics(org.kuali.rice.kim.api.identity.personal.EntityBioDemographics bioDemographics) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      updateBioDemographics in interface org.kuali.rice.kim.api.identity.IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • incomingParamCheck

      protected void incomingParamCheck(Object object, String name)
    • setDataObjectService

      public void setDataObjectService(org.kuali.rice.krad.data.DataObjectService dataObjectService)
    • getIdentityServiceDao

      public IdentityServiceDao getIdentityServiceDao()
    • setIdentityServiceDao

      public void setIdentityServiceDao(IdentityServiceDao identityServiceDao)