Package org.kuali.rice.kim.impl.identity
Class IdentityServiceImpl
java.lang.Object
org.kuali.rice.kim.impl.identity.IdentityServiceImpl
- All Implemented Interfaces:
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 Summary
FieldsModifier and TypeFieldDescriptionprotected org.kuali.rice.krad.data.DataObjectServiceprotected IdentityServiceDaoprotected static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAddressToEntity(EntityAddress address) addAffiliationToEntity(EntityAffiliation affiliation) addBioDemographicsToEntity(EntityBioDemographics bioDemographics) addCitizenshipToEntity(EntityCitizenship citizenship) addEmailToEntity(EntityEmail email) addEmploymentToEntity(EntityEmployment employment) addEntityTypeContactInfoToEntity(EntityTypeContactInfo entityTypeData) addEthnicityToEntity(EntityEthnicity ethnicity) addNameToEntity(EntityName name) addPhoneToEntity(EntityPhone phone) addPrincipalToEntity(Principal principal) addPrivacyPreferencesToEntity(EntityPrivacyPreferences privacyPreferences) addResidencyToEntity(EntityResidency residency) addVisaToEntity(EntityVisa visa) createEntity(Entity entity) findEntities(QueryByCriteria queryByCriteria) findEntityDefaults(QueryByCriteria queryByCriteria) protected EntityNameQueryResultsfindNames(QueryByCriteria queryByCriteria) findPrincipals(QueryByCriteria query) getAddressType(String code) getAffiliationType(String code) getCitizenshipStatus(String code) getDefaultNamesForPrincipalId(String principalId) getDefaultNamesForPrincipalIds(List<String> principalIds) getEmailType(String code) getEmploymentStatus(String code) getEmploymentType(String code) protected EntityAddressBogetEntityAddressBo(String addressId) protected EntityAddressBogetEntityAddressBo(String entityId, String entityTypeCode, String addressTypeCode) protected EntityAffiliationBoprotected EntityBioDemographicsBogetEntityBioDemographicsBo(String entityId) protected EntityBogetEntityBo(String entityId) protected EntityBogetEntityBoByEmployeeId(String employeeId) protected EntityBogetEntityBoByPrincipalId(String principalId) protected EntityBogetEntityBoByPrincipalName(String principalName) getEntityByEmployeeId(String employeeId) protected EntityBogetEntityByKeyValue(String key, String value) Generic helper method for performing a lookup through the business object service.getEntityByPrincipalId(String principalId) getEntityByPrincipalName(String principalName) protected EntityCitizenshipBoprotected EntityCitizenshipBogetEntityCitizenshipBo(String entityId, String citizenshipStatusCode) getEntityDefault(String entityId) getEntityDefaultByEmployeeId(String employeeId) getEntityDefaultByPrincipalId(String principalId) getEntityDefaultByPrincipalName(String principalName) protected EntityEmailBogetEntityEmailBo(String emailId) protected EntityEmailBogetEntityEmailBo(String entityId, String entityTypeCode, String emailTypeCode) protected EntityEmploymentBoprotected EntityEmploymentBogetEntityEmploymentBo(String entityId, String employmentTypeCode, String employmentStatusCode, String employmentAffiliationId) protected EntityEthnicityBogetEntityEthnicityBo(String ethnicityId) protected EntityExternalIdentifierBogetEntityExternalIdentifierBo(String entityId, String externalIdentifierTypeCode) protected EntityNameBoprotected EntityNameBogetEntityNameBo(String entityId, String nameTypeCode) protected EntityPhoneBogetEntityPhoneBo(String phoneId) protected EntityPhoneBogetEntityPhoneBo(String entityId, String entityTypeCode, String phoneTypeCode) getEntityPrivacyPreferences(String entityId) protected EntityResidencyBogetEntityResidencyBo(String residencyId) getEntityType(String code) protected EntityTypeContactInfoBogetEntityTypeDataBo(String entityId, String entityTypeCode) protected EntityVisaBogetEntityVisaBo(String visaId) getNameType(String code) getPhoneType(String code) getPrincipal(String principalId) protected PrincipalBogetPrincipalBo(String principalId) protected PrincipalBogetPrincipalBoByPrincipalName(String principalName) getPrincipalByPrincipalName(String principalName) getPrincipalByPrincipalNameAndPassword(String principalName, String password) getPrincipals(List<String> principalIds) getPrincipalsByEmployeeId(String employeeId) getPrincipalsByEntityId(String entityId) getPrivacyPreferencesForPrincipalId(String principalId) inactivateAddress(String addressId) inactivateEmail(String emailId) inactivateEntity(String entityId) inactivateEntityTypeContactInfo(String entityId, String entityTypeCode) inactivateName(String id) inactivatePhone(String phoneId) inactivatePrincipal(String principalId) inactivatePrincipalByName(String principalName) protected voidincomingParamCheck(Object object, String name) voidsetDataObjectService(org.kuali.rice.krad.data.DataObjectService dataObjectService) voidsetIdentityServiceDao(IdentityServiceDao identityServiceDao) updateAddress(EntityAddress address) updateAffiliation(EntityAffiliation affiliation) updateBioDemographics(EntityBioDemographics bioDemographics) updateCitizenship(EntityCitizenship citizenship) updateEmail(EntityEmail email) updateEmployment(EntityEmployment employment) updateEntity(Entity entity) updateEntityTypeContactInfo(EntityTypeContactInfo entityTypeContactInfo) updateEthnicity(EntityEthnicity ethnicity) updateExternalIdentifier(EntityExternalIdentifier externalId) updateName(EntityName name) updatePhone(EntityPhone phone) updatePrincipal(Principal principal) updatePrivacyPreferences(EntityPrivacyPreferences privacyPreferences) updateResidency(EntityResidency residency) updateVisa(EntityVisa visa)
-
Field Details
-
UNAVAILABLE
- See Also:
-
dataObjectService
protected org.kuali.rice.krad.data.DataObjectService dataObjectService -
identityServiceDao
-
-
Constructor Details
-
IdentityServiceImpl
public IdentityServiceImpl()
-
-
Method Details
-
getEntity
public Entity getEntity(String entityId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException - Specified by:
getEntityin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException
-
getEntityByPrincipalId
public Entity getEntityByPrincipalId(String principalId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException - Specified by:
getEntityByPrincipalIdin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException
-
getEntityByPrincipalName
public Entity getEntityByPrincipalName(String principalName) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException - Specified by:
getEntityByPrincipalNamein interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException
-
getEntityByEmployeeId
public Entity getEntityByEmployeeId(String employeeId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException - Specified by:
getEntityByEmployeeIdin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException
-
getEntityDefault
public EntityDefault getEntityDefault(String entityId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException - Specified by:
getEntityDefaultin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException
-
getEntityDefaultByPrincipalId
public EntityDefault getEntityDefaultByPrincipalId(String principalId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException - Specified by:
getEntityDefaultByPrincipalIdin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException
-
getEntityDefaultByPrincipalName
public EntityDefault getEntityDefaultByPrincipalName(String principalName) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException - Specified by:
getEntityDefaultByPrincipalNamein interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException
-
getEntityDefaultByEmployeeId
public EntityDefault getEntityDefaultByEmployeeId(String employeeId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException - Specified by:
getEntityDefaultByEmployeeIdin interfaceIdentityService- 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:
getPrincipalByPrincipalNameAndPasswordin interfaceIdentityService- 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:
addPrincipalToEntityin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.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:
updatePrincipalin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.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:
inactivatePrincipalin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.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:
inactivatePrincipalByNamein interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.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:
addEntityTypeContactInfoToEntityin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.kuali.rice.core.api.exception.RiceIllegalStateException
-
getEntityTypeDataBo
-
updateEntityTypeContactInfo
public EntityTypeContactInfo updateEntityTypeContactInfo(EntityTypeContactInfo entityTypeContactInfo) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException - Specified by:
updateEntityTypeContactInfoin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.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:
inactivateEntityTypeContactInfoin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.kuali.rice.core.api.exception.RiceIllegalStateException
-
getEntityAddressBo
protected EntityAddressBo getEntityAddressBo(String entityId, String entityTypeCode, String addressTypeCode) -
getEntityAddressBo
-
addAddressToEntity
public EntityAddress addAddressToEntity(EntityAddress address) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException - Specified by:
addAddressToEntityin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.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:
updateAddressin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.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:
inactivateAddressin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.kuali.rice.core.api.exception.RiceIllegalStateException
-
getEntityEmailBo
protected EntityEmailBo getEntityEmailBo(String entityId, String entityTypeCode, String emailTypeCode) -
getEntityEmailBo
-
addEmailToEntity
public EntityEmail addEmailToEntity(EntityEmail email) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException - Specified by:
addEmailToEntityin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.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:
updateEmailin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.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:
inactivateEmailin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.kuali.rice.core.api.exception.RiceIllegalStateException
-
getEntityPhoneBo
protected EntityPhoneBo getEntityPhoneBo(String entityId, String entityTypeCode, String phoneTypeCode) -
getEntityPhoneBo
-
addPhoneToEntity
public EntityPhone addPhoneToEntity(EntityPhone phone) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException - Specified by:
addPhoneToEntityin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.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:
updatePhonein interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.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:
inactivatePhonein interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.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:
addExternalIdentifierToEntityin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.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:
updateExternalIdentifierin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.kuali.rice.core.api.exception.RiceIllegalStateException
-
getEntityAffiliationBo
-
addAffiliationToEntity
public EntityAffiliation addAffiliationToEntity(EntityAffiliation affiliation) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException - Specified by:
addAffiliationToEntityin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.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:
updateAffiliationin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.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:
inactivateAffiliationin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.kuali.rice.core.api.exception.RiceIllegalStateException
-
findEntities
public EntityQueryResults findEntities(QueryByCriteria queryByCriteria) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException - Specified by:
findEntitiesin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException
-
findEntityDefaults
public EntityDefaultQueryResults findEntityDefaults(QueryByCriteria queryByCriteria) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException - Specified by:
findEntityDefaultsin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException
-
findNames
-
getEntityPrivacyPreferences
public EntityPrivacyPreferences getEntityPrivacyPreferences(String entityId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException - Specified by:
getEntityPrivacyPreferencesin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException
-
getPrincipal
public Principal getPrincipal(String principalId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException - Specified by:
getPrincipalin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException
-
getPrincipals
- Specified by:
getPrincipalsin interfaceIdentityService
-
getPrincipalBo
-
getEntityBo
-
getPrincipalByPrincipalName
public Principal getPrincipalByPrincipalName(String principalName) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException - Specified by:
getPrincipalByPrincipalNamein interfaceIdentityService- 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:
getPrincipalsByEntityIdin interfaceIdentityService- 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:
getPrincipalsByEmployeeIdin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException
-
getEntityBoByPrincipalName
- See Also:
-
getEntityBoByPrincipalId
- See Also:
-
getEntityBoByEmployeeId
- See Also:
-
getEntityByKeyValue
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:
getAddressTypein interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException
-
findAllAddressTypes
- Specified by:
findAllAddressTypesin interfaceIdentityService
-
getAffiliationType
public EntityAffiliationType getAffiliationType(String code) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException - Specified by:
getAffiliationTypein interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException
-
findAllAffiliationTypes
- Specified by:
findAllAffiliationTypesin interfaceIdentityService
-
getCitizenshipStatus
public CodedAttribute getCitizenshipStatus(String code) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException - Specified by:
getCitizenshipStatusin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException
-
findAllCitizenshipStatuses
- Specified by:
findAllCitizenshipStatusesin interfaceIdentityService
-
getEmailType
public CodedAttribute getEmailType(String code) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException - Specified by:
getEmailTypein interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException
-
findAllEmailTypes
- Specified by:
findAllEmailTypesin interfaceIdentityService
-
findPrincipals
public PrincipalQueryResults findPrincipals(QueryByCriteria query) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException - Specified by:
findPrincipalsin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException
-
getEmploymentStatus
public CodedAttribute getEmploymentStatus(String code) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException - Specified by:
getEmploymentStatusin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException
-
findAllEmploymentStatuses
- Specified by:
findAllEmploymentStatusesin interfaceIdentityService
-
getEmploymentType
public CodedAttribute getEmploymentType(String code) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException - Specified by:
getEmploymentTypein interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException
-
findAllEmploymentTypes
- Specified by:
findAllEmploymentTypesin interfaceIdentityService
-
getNameType
public CodedAttribute getNameType(String code) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException - Specified by:
getNameTypein interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException
-
findAllNameTypes
- Specified by:
findAllNameTypesin interfaceIdentityService
-
getEntityType
public CodedAttribute getEntityType(String code) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException - Specified by:
getEntityTypein interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException
-
findAllEntityTypes
- Specified by:
findAllEntityTypesin interfaceIdentityService
-
getExternalIdentifierType
public EntityExternalIdentifierType getExternalIdentifierType(String code) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException - Specified by:
getExternalIdentifierTypein interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException
-
findAllExternalIdendtifierTypes
- Specified by:
findAllExternalIdendtifierTypesin interfaceIdentityService
-
getPhoneType
public CodedAttribute getPhoneType(String code) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException - Specified by:
getPhoneTypein interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException
-
findAllPhoneTypes
- Specified by:
findAllPhoneTypesin interfaceIdentityService
-
createEntity
public Entity createEntity(Entity entity) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException - Specified by:
createEntityin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.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:
updateEntityin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.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:
inactivateEntityin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.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:
addPrivacyPreferencesToEntityin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.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:
updatePrivacyPreferencesin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.kuali.rice.core.api.exception.RiceIllegalStateException
-
getEntityCitizenshipBo
-
getEntityCitizenshipBo
-
addCitizenshipToEntity
public EntityCitizenship addCitizenshipToEntity(EntityCitizenship citizenship) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException - Specified by:
addCitizenshipToEntityin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.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:
updateCitizenshipin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.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:
inactivateCitizenshipin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.kuali.rice.core.api.exception.RiceIllegalStateException
-
getEntityEthnicityBo
-
addEthnicityToEntity
public EntityEthnicity addEthnicityToEntity(EntityEthnicity ethnicity) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException - Specified by:
addEthnicityToEntityin interfaceIdentityService- 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:
updateEthnicityin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.kuali.rice.core.api.exception.RiceIllegalStateException
-
getEntityResidencyBo
-
addResidencyToEntity
public EntityResidency addResidencyToEntity(EntityResidency residency) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException - Specified by:
addResidencyToEntityin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.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:
updateResidencyin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.kuali.rice.core.api.exception.RiceIllegalStateException
-
getEntityVisaBo
-
addVisaToEntity
public EntityVisa addVisaToEntity(EntityVisa visa) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException - Specified by:
addVisaToEntityin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.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:
updateVisain interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.kuali.rice.core.api.exception.RiceIllegalStateException
-
getEntityNameBo
-
getEntityNameBo
-
getDefaultNamesForPrincipalId
- Specified by:
getDefaultNamesForPrincipalIdin interfaceIdentityService
-
getDefaultNamesForPrincipalIds
public Map<String,EntityNamePrincipalName> getDefaultNamesForPrincipalIds(List<String> principalIds) - Specified by:
getDefaultNamesForPrincipalIdsin interfaceIdentityService
-
getPrivacyPreferencesForPrincipalId
- Specified by:
getPrivacyPreferencesForPrincipalIdin interfaceIdentityService
-
addNameToEntity
public EntityName addNameToEntity(EntityName name) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException - Specified by:
addNameToEntityin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.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:
updateNamein interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.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:
inactivateNamein interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.kuali.rice.core.api.exception.RiceIllegalStateException
-
getEntityEmploymentBo
protected EntityEmploymentBo getEntityEmploymentBo(String entityId, String employmentTypeCode, String employmentStatusCode, String employmentAffiliationId) -
getEntityEmploymentBo
-
addEmploymentToEntity
public EntityEmployment addEmploymentToEntity(EntityEmployment employment) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException - Specified by:
addEmploymentToEntityin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.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:
updateEmploymentin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.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:
inactivateEmploymentin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.kuali.rice.core.api.exception.RiceIllegalStateException
-
getEntityBioDemographicsBo
-
addBioDemographicsToEntity
public EntityBioDemographics addBioDemographicsToEntity(EntityBioDemographics bioDemographics) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException - Specified by:
addBioDemographicsToEntityin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.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:
updateBioDemographicsin interfaceIdentityService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.kuali.rice.core.api.exception.RiceIllegalStateException
-
incomingParamCheck
-
setDataObjectService
public void setDataObjectService(org.kuali.rice.krad.data.DataObjectService dataObjectService) -
getIdentityServiceDao
-
setIdentityServiceDao
-