Class IdentityServiceImpl

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

public class IdentityServiceImpl extends Object implements 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 Entity getEntity(String entityId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      Specified by:
      getEntity in interface IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
    • getEntityByPrincipalId

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

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

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

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

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

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

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

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

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

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

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

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

      public EntityTypeContactInfo addEntityTypeContactInfoToEntity(EntityTypeContactInfo entityTypeData) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      addEntityTypeContactInfoToEntity in interface 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 EntityTypeContactInfo updateEntityTypeContactInfo(EntityTypeContactInfo entityTypeContactInfo) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      updateEntityTypeContactInfo in interface IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • inactivateEntityTypeContactInfo

      public 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 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 EntityAddress addAddressToEntity(EntityAddress address) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      addAddressToEntity in interface IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • updateAddress

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

      public EntityAddress inactivateAddress(String addressId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      inactivateAddress in interface 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 EntityEmail addEmailToEntity(EntityEmail email) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      addEmailToEntity in interface IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • updateEmail

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

      public EntityEmail inactivateEmail(String emailId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      inactivateEmail in interface 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 EntityPhone addPhoneToEntity(EntityPhone phone) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      addPhoneToEntity in interface IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • updatePhone

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

      public EntityPhone inactivatePhone(String phoneId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      inactivatePhone in interface 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 EntityExternalIdentifier addExternalIdentifierToEntity(EntityExternalIdentifier externalId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      addExternalIdentifierToEntity in interface IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • updateExternalIdentifier

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

      protected EntityAffiliationBo getEntityAffiliationBo(String id)
    • addAffiliationToEntity

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

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

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

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

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

      protected EntityNameQueryResults findNames(QueryByCriteria queryByCriteria)
    • getEntityPrivacyPreferences

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

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

      public List<Principal> getPrincipals(List<String> principalIds)
      Specified by:
      getPrincipals in interface IdentityService
    • getPrincipalBo

      protected PrincipalBo getPrincipalBo(String principalId)
    • getEntityBo

      protected EntityBo getEntityBo(String entityId)
    • getPrincipalByPrincipalName

      public Principal getPrincipalByPrincipalName(String principalName) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      Specified by:
      getPrincipalByPrincipalName in interface 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<Principal> getPrincipalsByEntityId(String entityId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      Specified by:
      getPrincipalsByEntityId in interface IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
    • getPrincipalsByEmployeeId

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

      protected EntityBo getEntityBoByPrincipalName(String principalName)
      See Also:
    • getEntityBoByPrincipalId

      protected EntityBo getEntityBoByPrincipalId(String principalId)
      See Also:
    • getEntityBoByEmployeeId

      protected EntityBo getEntityBoByEmployeeId(String employeeId)
      See Also:
    • getEntityByKeyValue

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

      public CodedAttribute getAddressType(String code) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      Specified by:
      getAddressType in interface IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
    • findAllAddressTypes

      public List<CodedAttribute> findAllAddressTypes()
      Specified by:
      findAllAddressTypes in interface IdentityService
    • getAffiliationType

      public EntityAffiliationType getAffiliationType(String code) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      Specified by:
      getAffiliationType in interface IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
    • findAllAffiliationTypes

      public List<EntityAffiliationType> findAllAffiliationTypes()
      Specified by:
      findAllAffiliationTypes in interface IdentityService
    • getCitizenshipStatus

      public CodedAttribute getCitizenshipStatus(String code) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      Specified by:
      getCitizenshipStatus in interface IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
    • findAllCitizenshipStatuses

      public List<CodedAttribute> findAllCitizenshipStatuses()
      Specified by:
      findAllCitizenshipStatuses in interface IdentityService
    • getEmailType

      public CodedAttribute getEmailType(String code) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      Specified by:
      getEmailType in interface IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
    • findAllEmailTypes

      public List<CodedAttribute> findAllEmailTypes()
      Specified by:
      findAllEmailTypes in interface IdentityService
    • findPrincipals

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

      public CodedAttribute getEmploymentStatus(String code) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      Specified by:
      getEmploymentStatus in interface IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
    • findAllEmploymentStatuses

      public List<CodedAttribute> findAllEmploymentStatuses()
      Specified by:
      findAllEmploymentStatuses in interface IdentityService
    • getEmploymentType

      public CodedAttribute getEmploymentType(String code) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      Specified by:
      getEmploymentType in interface IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
    • findAllEmploymentTypes

      public List<CodedAttribute> findAllEmploymentTypes()
      Specified by:
      findAllEmploymentTypes in interface IdentityService
    • getNameType

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

      public List<CodedAttribute> findAllNameTypes()
      Specified by:
      findAllNameTypes in interface IdentityService
    • getEntityType

      public CodedAttribute getEntityType(String code) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      Specified by:
      getEntityType in interface IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
    • findAllEntityTypes

      public List<CodedAttribute> findAllEntityTypes()
      Specified by:
      findAllEntityTypes in interface IdentityService
    • getExternalIdentifierType

      public EntityExternalIdentifierType getExternalIdentifierType(String code) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      Specified by:
      getExternalIdentifierType in interface IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
    • findAllExternalIdendtifierTypes

      public List<EntityExternalIdentifierType> findAllExternalIdendtifierTypes()
      Specified by:
      findAllExternalIdendtifierTypes in interface IdentityService
    • getPhoneType

      public CodedAttribute getPhoneType(String code) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      Specified by:
      getPhoneType in interface IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
    • findAllPhoneTypes

      public List<CodedAttribute> findAllPhoneTypes()
      Specified by:
      findAllPhoneTypes in interface IdentityService
    • createEntity

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

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

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

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

      public EntityPrivacyPreferences updatePrivacyPreferences(EntityPrivacyPreferences privacyPreferences) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      updatePrivacyPreferences in interface 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 EntityCitizenship addCitizenshipToEntity(EntityCitizenship citizenship) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      addCitizenshipToEntity in interface IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • updateCitizenship

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

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

      protected EntityEthnicityBo getEntityEthnicityBo(String ethnicityId)
    • addEthnicityToEntity

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

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

      protected EntityResidencyBo getEntityResidencyBo(String residencyId)
    • addResidencyToEntity

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

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

      protected EntityVisaBo getEntityVisaBo(String visaId)
    • addVisaToEntity

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

      public EntityVisa updateVisa(EntityVisa visa) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      updateVisa in interface 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 EntityNamePrincipalName getDefaultNamesForPrincipalId(String principalId)
      Specified by:
      getDefaultNamesForPrincipalId in interface IdentityService
    • getDefaultNamesForPrincipalIds

      public Map<String,EntityNamePrincipalName> getDefaultNamesForPrincipalIds(List<String> principalIds)
      Specified by:
      getDefaultNamesForPrincipalIds in interface IdentityService
    • getPrivacyPreferencesForPrincipalId

      public EntityPrivacyPreferences getPrivacyPreferencesForPrincipalId(String principalId)
      Specified by:
      getPrivacyPreferencesForPrincipalId in interface IdentityService
    • addNameToEntity

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

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

      public EntityName inactivateName(String id) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      inactivateName in interface 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 EntityEmployment addEmploymentToEntity(EntityEmployment employment) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      addEmploymentToEntity in interface IdentityService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      org.kuali.rice.core.api.exception.RiceIllegalStateException
    • updateEmployment

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

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

      protected EntityBioDemographicsBo getEntityBioDemographicsBo(String entityId)
    • addBioDemographicsToEntity

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

      public EntityBioDemographics updateBioDemographics(EntityBioDemographics bioDemographics) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
      Specified by:
      updateBioDemographics in interface 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)