|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kim.impl.identity.IdentityServiceImpl
public class IdentityServiceImpl
Base implementation of the identity (identity) service. This version assumes the KimEntity and related data is located within the KIM database.
| Constructor Summary | |
|---|---|
IdentityServiceImpl()
|
|
| Method Summary | |
|---|---|
EntityAddress |
addAddressToEntity(EntityAddress address)
This will create a EntityAddress exactly like the address passed in. |
EntityAffiliation |
addAffiliationToEntity(EntityAffiliation affiliation)
This will create a EntityAffiliation exactly like the affiliation passed in. |
EntityBioDemographics |
addBioDemographicsToEntity(EntityBioDemographics bioDemographics)
This will create a EntityBioDemographics exactly like the bioDemographics passed in. |
EntityCitizenship |
addCitizenshipToEntity(EntityCitizenship citizenship)
This will create a EntityCitizenship exactly like the citizenship passed in. |
EntityEmail |
addEmailToEntity(EntityEmail email)
This will create a EntityEmail exactly like the email passed in. |
EntityEmployment |
addEmploymentToEntity(EntityEmployment employment)
This will create a EntityEmployment exactly like the employment passed in. |
EntityTypeContactInfo |
addEntityTypeContactInfoToEntity(EntityTypeContactInfo entityTypeData)
This will create a EntityTypeContactInfo exactly like the entityTypeContactInfo passed in. |
EntityEthnicity |
addEthnicityToEntity(EntityEthnicity ethnicity)
This will create a EntityEthnicity exactly like the ethnicity passed in. |
EntityExternalIdentifier |
addExternalIdentifierToEntity(EntityExternalIdentifier externalId)
This will create a EntityExternalIdentifier exactly like the externalId passed in. |
EntityName |
addNameToEntity(EntityName name)
This will create a EntityName exactly like the name passed in. |
EntityPhone |
addPhoneToEntity(EntityPhone phone)
This will create a EntityPhone exactly like the phone passed in. |
Principal |
addPrincipalToEntity(Principal principal)
This will create a Principal exactly like the principal passed in. |
EntityPrivacyPreferences |
addPrivacyPreferencesToEntity(EntityPrivacyPreferences privacyPreferences)
This will create a EntityPrivacyPreferences exactly like the privacyPreferences passed in. |
EntityResidency |
addResidencyToEntity(EntityResidency residency)
This will create a EntityResidency exactly like the residency passed in. |
EntityVisa |
addVisaToEntity(EntityVisa visa)
This will create a EntityVisa exactly like the visa passed in. |
Entity |
createEntity(Entity entity)
This will create a Entity exactly like the entity passed in. |
EntityQueryResults |
findEntities(QueryByCriteria queryByCriteria)
This method finds Entities based on a query criteria. |
EntityDefaultQueryResults |
findEntityDefaults(QueryByCriteria queryByCriteria)
This method finds EntityDefault data based on a query criteria. |
protected EntityNameQueryResults |
findNames(QueryByCriteria queryByCriteria)
|
CodedAttribute |
getAddressType(String code)
Gets the CodedAttribute for a given EntityAddressType code. |
EntityAffiliationType |
getAffiliationType(String code)
Gets the EntityAffiliationType for a given EntityAffiliationType code. |
CodedAttribute |
getCitizenshipStatus(String code)
Gets the CodedAttribute for a given EntityCitizenship status code. |
CodedAttribute |
getEmailType(String code)
Gets the CodedAttribute for a given EntityEmail type code. |
CodedAttribute |
getEmploymentStatus(String code)
Gets the CodedAttribute for a given EntityEmployment status code. |
CodedAttribute |
getEmploymentType(String code)
Gets the CodedAttribute for a given EntityEmployment type code. |
Entity |
getEntity(String entityId)
Gets a Entity from an id. |
protected org.kuali.rice.kim.impl.identity.entity.EntityBo |
getEntityBoByPrincipalId(String principalId)
|
protected org.kuali.rice.kim.impl.identity.entity.EntityBo |
getEntityBoByPrincipalName(String principalName)
|
protected org.kuali.rice.kim.impl.identity.entity.EntityBo |
getEntityByKeyValue(String key,
String value)
Generic helper method for performing a lookup through the business object service. |
Entity |
getEntityByPrincipalId(String principalId)
Gets a Entity from a principalId. |
Entity |
getEntityByPrincipalName(String principalName)
Gets a Entity from a principalName. |
EntityDefault |
getEntityDefault(String entityId)
Gets a EntityDefault from an id. |
EntityDefault |
getEntityDefaultByPrincipalId(String principalId)
Gets a EntityDefault from an principalId. |
EntityDefault |
getEntityDefaultByPrincipalName(String principalName)
Gets a EntityDefault from an principalName. |
EntityPrivacyPreferences |
getEntityPrivacyPreferences(String entityId)
Gets a EntityPrivacyPreferences for a given id. |
CodedAttribute |
getEntityType(String code)
Gets the CodedAttribute for a given EntityType code. |
EntityExternalIdentifierType |
getExternalIdentifierType(String code)
Gets the EntityExternalIdentifierType for a given type code. |
CodedAttribute |
getNameType(String code)
Gets the CodedAttribute for a given EntityName type code. |
CodedAttribute |
getPhoneType(String code)
Gets the CodedAttribute for a given EntityPhone type code. |
Principal |
getPrincipal(String principalId)
Gets a Principal from an principalId. |
Principal |
getPrincipalByPrincipalName(String principalName)
Gets a Principal from an principalName. |
Principal |
getPrincipalByPrincipalNameAndPassword(String principalName,
String password)
Gets a Principal from an principalName and password. |
EntityAddress |
inactivateAddress(String addressId)
This will inactivate a EntityAddress with the id passed in. |
EntityAffiliation |
inactivateAffiliation(String id)
This will inactivate a EntityAffiliation with the id passed in. |
EntityCitizenship |
inactivateCitizenship(String id)
This will inactivate a EntityCitizenship with the unique id passed in. |
EntityEmail |
inactivateEmail(String emailId)
This will inactivate the EntityEmail with the passed in id. |
EntityEmployment |
inactivateEmployment(String id)
This will inactivate a EntityEmployment with the passed in id. |
Entity |
inactivateEntity(String entityId)
This will inactivate a Entity. |
EntityTypeContactInfo |
inactivateEntityTypeContactInfo(String entityId,
String entityTypeCode)
This will inactivate a EntityTypeContactInfo with the passed in parameters. |
EntityName |
inactivateName(String id)
This will inactivate a EntityName with the passed in id. |
EntityPhone |
inactivatePhone(String phoneId)
This will inactivate the EntityPhone with the passed in id. |
Principal |
inactivatePrincipal(String principalId)
This will inactivate a Principal. |
Principal |
inactivatePrincipalByName(String principalName)
This will inactivate a Principal. |
void |
setBusinessObjectService(BusinessObjectService businessObjectService)
|
void |
setCriteriaLookupService(CriteriaLookupService criteriaLookupService)
|
EntityAddress |
updateAddress(EntityAddress address)
This will update a EntityAddress exactly like the address passed in. |
EntityAffiliation |
updateAffiliation(EntityAffiliation affiliation)
This will update a EntityAffiliation exactly like the affiliation passed in. |
EntityBioDemographics |
updateBioDemographics(EntityBioDemographics bioDemographics)
This will update a EntityBioDemographics exactly like the bioDemographics passed in. |
EntityCitizenship |
updateCitizenship(EntityCitizenship citizenship)
This will update a EntityCitizenship exactly like the citizenship passed in. |
EntityEmail |
updateEmail(EntityEmail email)
This will update a EntityEmail exactly like the email passed in. |
EntityEmployment |
updateEmployment(EntityEmployment employment)
This will update a EntityEmployment exactly like the employment passed in. |
Entity |
updateEntity(Entity entity)
This will update a Entity. |
EntityTypeContactInfo |
updateEntityTypeContactInfo(EntityTypeContactInfo entityTypeContactInfo)
This will update a EntityTypeContactInfo exactly like the entityTypeContactInfo passed in. |
EntityEthnicity |
updateEthnicity(EntityEthnicity ethnicity)
This will update a EntityEthnicity exactly like the ethnicity passed in. |
EntityExternalIdentifier |
updateExternalIdentifier(EntityExternalIdentifier externalId)
This will update a EntityExternalIdentifier exactly like the externalId passed in. |
EntityName |
updateName(EntityName name)
This will update a EntityName exactly like the name passed in. |
EntityPhone |
updatePhone(EntityPhone phone)
This will update a EntityPhone exactly like the phone passed in. |
Principal |
updatePrincipal(Principal principal)
This will update a Principal exactly like the principal passed in. |
EntityPrivacyPreferences |
updatePrivacyPreferences(EntityPrivacyPreferences privacyPreferences)
This will update a EntityPrivacyPreferences exactly like the privacyPreferences passed in. |
EntityResidency |
updateResidency(EntityResidency residency)
This will update a EntityResidency exactly like the residency passed in. |
EntityVisa |
updateVisa(EntityVisa visa)
This will update a EntityVisa exactly like the visa passed in. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IdentityServiceImpl()
| Method Detail |
|---|
public Entity getEntity(String entityId)
throws RiceIllegalArgumentException
IdentityServiceEntity from an id.
This method will return null if the Entity does not exist.
getEntity in interface IdentityServiceentityId - the unique id to retrieve the entity by. cannot be null.
Entity or null
RiceIllegalArgumentException
public Entity getEntityByPrincipalId(String principalId)
throws RiceIllegalArgumentException
IdentityServiceEntity from a principalId.
This method will return null if the Entity does not exist.
getEntityByPrincipalId in interface IdentityServiceprincipalId - the unique id to retrieve the entity by. cannot be null.
Entity or null
RiceIllegalArgumentException
public Entity getEntityByPrincipalName(String principalName)
throws RiceIllegalArgumentException
IdentityServiceEntity from a principalName.
This method will return null if the Entity does not exist.
getEntityByPrincipalName in interface IdentityServiceprincipalName - the unique id to retrieve the entity by. cannot be null.
Entity or null
RiceIllegalArgumentException
public EntityDefault getEntityDefault(String entityId)
throws RiceIllegalArgumentException
IdentityServiceEntityDefault from an id.
EntityDefault is a condensed version of Entity that contains
default values of its subclasses
This method will return null if the Entity does not exist.
getEntityDefault in interface IdentityServiceentityId - the unique id to retrieve the entity by. cannot be null.
EntityDefault or null
RiceIllegalArgumentException
public EntityDefault getEntityDefaultByPrincipalId(String principalId)
throws RiceIllegalArgumentException
IdentityServiceEntityDefault from an principalId.
EntityDefault is a condensed version of Entity that contains
default values of its subclasses
This method will return null if the Entity does not exist.
getEntityDefaultByPrincipalId in interface IdentityServiceprincipalId - the unique id to retrieve the entity by. cannot be null.
EntityDefault or null
RiceIllegalArgumentException
public EntityDefault getEntityDefaultByPrincipalName(String principalName)
throws RiceIllegalArgumentException
IdentityServiceEntityDefault from an principalName.
EntityDefault is a condensed version of Entity that contains
default values of its subclasses
This method will return null if the Entity does not exist.
getEntityDefaultByPrincipalName in interface IdentityServiceprincipalName - the unique id to retrieve the entity by. cannot be null.
EntityDefault or null
RiceIllegalArgumentException
public Principal getPrincipalByPrincipalNameAndPassword(String principalName,
String password)
throws RiceIllegalArgumentException
IdentityServicePrincipal from an principalName and password.
This method will return null if the Principal does not exist or the password is incorrect.
getPrincipalByPrincipalNameAndPassword in interface IdentityServiceprincipalName - the unique id to retrieve the principal by. cannot be null.password - the password for the principal
Principal or null
RiceIllegalArgumentException
public Principal addPrincipalToEntity(Principal principal)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServicePrincipal exactly like the principal passed in.
The principal object passed in must be populated with an entityId and a principalName
addPrincipalToEntity in interface IdentityServiceprincipal - the principal to create
RiceIllegalArgumentException
RiceIllegalStateException
public Principal updatePrincipal(Principal principal)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServicePrincipal exactly like the principal passed in.
updatePrincipal in interface IdentityServiceprincipal - the principal to update
RiceIllegalArgumentException
RiceIllegalStateException
public Principal inactivatePrincipal(String principalId)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServicePrincipal.
inactivatePrincipal in interface IdentityServiceprincipalId - the unique id of the principal to inactivate
RiceIllegalArgumentException
RiceIllegalStateException
public Principal inactivatePrincipalByName(String principalName)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServicePrincipal.
inactivatePrincipalByName in interface IdentityServiceprincipalName - the unique principalName of the principal to inactivate
RiceIllegalArgumentException
RiceIllegalStateException
public EntityTypeContactInfo addEntityTypeContactInfoToEntity(EntityTypeContactInfo entityTypeData)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntityTypeContactInfo exactly like the entityTypeContactInfo passed in.
The EntityTypeContactInfo object passed in must be populated with an entityId and a entityTypeCode
addEntityTypeContactInfoToEntity in interface IdentityServiceentityTypeData - the EntityTypeContactInfo to create
RiceIllegalArgumentException
RiceIllegalStateException
public EntityTypeContactInfo updateEntityTypeContactInfo(EntityTypeContactInfo entityTypeContactInfo)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntityTypeContactInfo exactly like the entityTypeContactInfo passed in.
updateEntityTypeContactInfo in interface IdentityServiceentityTypeContactInfo - the EntityTypeContactInfo to update
RiceIllegalArgumentException
RiceIllegalStateException
public EntityTypeContactInfo inactivateEntityTypeContactInfo(String entityId,
String entityTypeCode)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntityTypeContactInfo with the passed in parameters.
inactivateEntityTypeContactInfo in interface IdentityServiceentityId - the entityId of the EntityTypeContactInfo to inactivateentityTypeCode - the entityTypeCode of the EntityTypeContactInfo to inactivate
RiceIllegalArgumentException
RiceIllegalStateException
public EntityAddress addAddressToEntity(EntityAddress address)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntityAddress exactly like the address passed in.
The EntityAddress object passed in must be populated with an entityId and a entityTypeCode
addAddressToEntity in interface IdentityServiceaddress - the EntityAddress to create
RiceIllegalArgumentException
RiceIllegalStateException
public EntityAddress updateAddress(EntityAddress address)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntityAddress exactly like the address passed in.
updateAddress in interface IdentityServiceaddress - the EntityAddress to update
RiceIllegalArgumentException
RiceIllegalStateException
public EntityAddress inactivateAddress(String addressId)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntityAddress with the id passed in.
inactivateAddress in interface IdentityServiceaddressId - the unique id of the EntityAddress to inactivate
RiceIllegalArgumentException
RiceIllegalStateException
public EntityEmail addEmailToEntity(EntityEmail email)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntityEmail exactly like the email passed in.
The EntityEmail object passed in must be populated with an entityId and a entityTypeCode
addEmailToEntity in interface IdentityServiceemail - the EntityEmail to create
RiceIllegalArgumentException
RiceIllegalStateException
public EntityEmail updateEmail(EntityEmail email)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntityEmail exactly like the email passed in.
updateEmail in interface IdentityServiceemail - the EntityEmail to update
RiceIllegalArgumentException
RiceIllegalStateException
public EntityEmail inactivateEmail(String emailId)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntityEmail with the passed in id.
inactivateEmail in interface IdentityServiceemailId - the unique id of the EntityEmail to inactivate
RiceIllegalArgumentException
RiceIllegalStateException
public EntityPhone addPhoneToEntity(EntityPhone phone)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntityPhone exactly like the phone passed in.
The EntityPhone object passed in must be populated with an entityId and a entityTypeCode
addPhoneToEntity in interface IdentityServicephone - the EntityPhone to create
RiceIllegalArgumentException
RiceIllegalStateException
public EntityPhone updatePhone(EntityPhone phone)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntityPhone exactly like the phone passed in.
updatePhone in interface IdentityServicephone - the EntityPhone to update
RiceIllegalArgumentException
RiceIllegalStateException
public EntityPhone inactivatePhone(String phoneId)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntityPhone with the passed in id.
inactivatePhone in interface IdentityServicephoneId - the unique id of the EntityPhone to inactivate
RiceIllegalArgumentException
RiceIllegalStateException
public EntityExternalIdentifier addExternalIdentifierToEntity(EntityExternalIdentifier externalId)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntityExternalIdentifier exactly like the externalId passed in.
The EntityExternalIdentifier object passed in must be populated with an entityId and a externalIdentifierTypeCode
addExternalIdentifierToEntity in interface IdentityServiceexternalId - the EntityExternalIdentifier to create
RiceIllegalArgumentException
RiceIllegalStateException
public EntityExternalIdentifier updateExternalIdentifier(EntityExternalIdentifier externalId)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntityExternalIdentifier exactly like the externalId passed in.
updateExternalIdentifier in interface IdentityServiceexternalId - the EntityExternalIdentifier to update
RiceIllegalArgumentException
RiceIllegalStateException
public EntityAffiliation addAffiliationToEntity(EntityAffiliation affiliation)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntityAffiliation exactly like the affiliation passed in.
The EntityAffiliation object passed in must be populated with an entityId and a affiliationType
addAffiliationToEntity in interface IdentityServiceaffiliation - the EntityAffiliation to create
RiceIllegalArgumentException
RiceIllegalStateException
public EntityAffiliation updateAffiliation(EntityAffiliation affiliation)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntityAffiliation exactly like the affiliation passed in.
updateAffiliation in interface IdentityServiceaffiliation - the EntityAffiliation to update
RiceIllegalArgumentException
RiceIllegalStateException
public EntityAffiliation inactivateAffiliation(String id)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntityAffiliation with the id passed in.
inactivateAffiliation in interface IdentityServiceid - the unique id of the EntityAffiliation to inactivate
RiceIllegalArgumentException
RiceIllegalStateException
public EntityQueryResults findEntities(QueryByCriteria queryByCriteria)
throws RiceIllegalArgumentException
IdentityService
findEntities in interface IdentityServicequeryByCriteria - the criteria. Cannot be null.
RiceIllegalArgumentException
public EntityDefaultQueryResults findEntityDefaults(QueryByCriteria queryByCriteria)
throws RiceIllegalArgumentException
IdentityService
findEntityDefaults in interface IdentityServicequeryByCriteria - the criteria. Cannot be null.
RiceIllegalArgumentExceptionprotected EntityNameQueryResults findNames(QueryByCriteria queryByCriteria)
public EntityPrivacyPreferences getEntityPrivacyPreferences(String entityId)
throws RiceIllegalArgumentException
IdentityServiceEntityPrivacyPreferences for a given id.
This method will return null if the EntityPrivacyPreferences does not exist.
getEntityPrivacyPreferences in interface IdentityServiceentityId - the unique id to retrieve the EntityPrivacyPreferences by. Cannot be null.
EntityPrivacyPreferences or null
RiceIllegalArgumentException
public Principal getPrincipal(String principalId)
throws RiceIllegalArgumentException
IdentityServicePrincipal from an principalId.
This method will return null if the Principal does not exist.
getPrincipal in interface IdentityServiceprincipalId - the unique id to retrieve the principal by. cannot be null.
Principal or null
RiceIllegalArgumentException
public Principal getPrincipalByPrincipalName(String principalName)
throws RiceIllegalArgumentException
IdentityServicePrincipal from an principalName.
This method will return null if the Principal does not exist.
getPrincipalByPrincipalName in interface IdentityServiceprincipalName - the unique id to retrieve the principal by. cannot be null.
Principal or null
RiceIllegalArgumentExceptionprotected org.kuali.rice.kim.impl.identity.entity.EntityBo getEntityBoByPrincipalName(String principalName)
IdentityService.getEntityByPrincipalName(java.lang.String)protected org.kuali.rice.kim.impl.identity.entity.EntityBo getEntityBoByPrincipalId(String principalId)
IdentityService.getEntityByPrincipalId(java.lang.String)
protected org.kuali.rice.kim.impl.identity.entity.EntityBo getEntityByKeyValue(String key,
String value)
public CodedAttribute getAddressType(String code)
throws RiceIllegalArgumentException
IdentityServiceCodedAttribute for a given EntityAddressType code.
This method will return null if the code does not exist.
getAddressType in interface IdentityServicecode - the unique id to retrieve the Type by. Cannot be null.
CodedAttribute or null
RiceIllegalArgumentException
public EntityAffiliationType getAffiliationType(String code)
throws RiceIllegalArgumentException
IdentityServiceEntityAffiliationType for a given EntityAffiliationType code.
This method will return null if the code does not exist.
getAffiliationType in interface IdentityServicecode - the unique id to retrieve the EntityAffiliationType by. Cannot be null.
EntityAffiliationType or null
RiceIllegalArgumentException
public CodedAttribute getCitizenshipStatus(String code)
throws RiceIllegalArgumentException
IdentityServiceCodedAttribute for a given EntityCitizenship status code.
This method will return null if the code does not exist.
getCitizenshipStatus in interface IdentityServicecode - the unique id to retrieve the Type by. Cannot be null.
CodedAttribute or null
RiceIllegalArgumentException
public CodedAttribute getEmailType(String code)
throws RiceIllegalArgumentException
IdentityServiceCodedAttribute for a given EntityEmail type code.
This method will return null if the code does not exist.
getEmailType in interface IdentityServicecode - the unique id to retrieve the Type by. Cannot be null.
CodedAttribute or null
RiceIllegalArgumentException
public CodedAttribute getEmploymentStatus(String code)
throws RiceIllegalArgumentException
IdentityServiceCodedAttribute for a given EntityEmployment status code.
This method will return null if the code does not exist.
getEmploymentStatus in interface IdentityServicecode - the unique id to retrieve the Type by. Cannot be null.
CodedAttribute or null
RiceIllegalArgumentException
public CodedAttribute getEmploymentType(String code)
throws RiceIllegalArgumentException
IdentityServiceCodedAttribute for a given EntityEmployment type code.
This method will return null if the code does not exist.
getEmploymentType in interface IdentityServicecode - the unique id to retrieve the Type by. Cannot be null.
CodedAttribute or null
RiceIllegalArgumentException
public CodedAttribute getNameType(String code)
throws RiceIllegalArgumentException
IdentityServiceCodedAttribute for a given EntityName type code.
This method will return null if the code does not exist.
getNameType in interface IdentityServicecode - the unique id to retrieve the Type by. Cannot be null.
CodedAttribute or null
RiceIllegalArgumentException
public CodedAttribute getEntityType(String code)
throws RiceIllegalArgumentException
IdentityServiceCodedAttribute for a given EntityType code.
This method will return null if the code does not exist.
getEntityType in interface IdentityServicecode - the unique id to retrieve the Type by. Cannot be null.
CodedAttribute or null
RiceIllegalArgumentException
public EntityExternalIdentifierType getExternalIdentifierType(String code)
throws RiceIllegalArgumentException
IdentityServiceEntityExternalIdentifierType for a given type code.
This method will return null if the code does not exist.
getExternalIdentifierType in interface IdentityServicecode - the unique id to retrieve the EntityExternalIdentifierType by. Cannot be null.
CodedAttribute or null
RiceIllegalArgumentException
public CodedAttribute getPhoneType(String code)
throws RiceIllegalArgumentException
IdentityServiceCodedAttribute for a given EntityPhone type code.
This method will return null if the code does not exist.
getPhoneType in interface IdentityServicecode - the unique id to retrieve the Type by. Cannot be null.
CodedAttribute or null
RiceIllegalArgumentException
public Entity createEntity(Entity entity)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntity exactly like the entity passed in.
createEntity in interface IdentityServiceentity - the entity to create
RiceIllegalArgumentException
RiceIllegalStateException
public Entity updateEntity(Entity entity)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntity.
updateEntity in interface IdentityServiceentity - the entity to update
RiceIllegalArgumentException
RiceIllegalStateException
public Entity inactivateEntity(String entityId)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntity.
inactivateEntity in interface IdentityServiceentityId - the unique id of the entity to inactivate
RiceIllegalArgumentException
RiceIllegalStateException
public EntityPrivacyPreferences addPrivacyPreferencesToEntity(EntityPrivacyPreferences privacyPreferences)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntityPrivacyPreferences exactly like the privacyPreferences passed in.
The EntityPrivacyPreferences object passed in must be populated with an entityId
addPrivacyPreferencesToEntity in interface IdentityServiceprivacyPreferences - the EntityPrivacyPreferences to create
RiceIllegalArgumentException
RiceIllegalStateException
public EntityPrivacyPreferences updatePrivacyPreferences(EntityPrivacyPreferences privacyPreferences)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntityPrivacyPreferences exactly like the privacyPreferences passed in.
updatePrivacyPreferences in interface IdentityServiceprivacyPreferences - the EntityPrivacyPreferences to update
RiceIllegalArgumentException
RiceIllegalStateException
public EntityCitizenship addCitizenshipToEntity(EntityCitizenship citizenship)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntityCitizenship exactly like the citizenship passed in.
The EntityCitizenship object passed in must be populated with an entityId and a status
addCitizenshipToEntity in interface IdentityServicecitizenship - the EntityCitizenship to create
RiceIllegalArgumentException
RiceIllegalStateException
public EntityCitizenship updateCitizenship(EntityCitizenship citizenship)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntityCitizenship exactly like the citizenship passed in.
updateCitizenship in interface IdentityServicecitizenship - the EntityCitizenship to update
RiceIllegalArgumentException
RiceIllegalStateException
public EntityCitizenship inactivateCitizenship(String id)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntityCitizenship with the unique id passed in.
inactivateCitizenship in interface IdentityServiceid - the id of the EntityCitizenship to inactivate
RiceIllegalArgumentException
RiceIllegalStateException
public EntityEthnicity addEthnicityToEntity(EntityEthnicity ethnicity)
throws RiceIllegalArgumentException
IdentityServiceEntityEthnicity exactly like the ethnicity passed in.
The EntityEthnicity object passed in must be populated with an entityId and a ethnicity code
addEthnicityToEntity in interface IdentityServiceethnicity - the EntityEthnicity to create
RiceIllegalArgumentException
public EntityEthnicity updateEthnicity(EntityEthnicity ethnicity)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntityEthnicity exactly like the ethnicity passed in.
updateEthnicity in interface IdentityServiceethnicity - the EntityEthnicity to update
RiceIllegalArgumentException
RiceIllegalStateException
public EntityResidency addResidencyToEntity(EntityResidency residency)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntityResidency exactly like the residency passed in.
The EntityResidency object passed in must be populated with an entityId
addResidencyToEntity in interface IdentityServiceresidency - the EntityResidency to create
RiceIllegalArgumentException
RiceIllegalStateException
public EntityResidency updateResidency(EntityResidency residency)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntityResidency exactly like the residency passed in.
updateResidency in interface IdentityServiceresidency - the EntityResidency to update
RiceIllegalArgumentException
RiceIllegalStateException
public EntityVisa addVisaToEntity(EntityVisa visa)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntityVisa exactly like the visa passed in.
The EntityVisa object passed in must be populated with an entityId and a visaTypeKey
addVisaToEntity in interface IdentityServicevisa - the EntityVisa to create
RiceIllegalArgumentException
RiceIllegalStateException
public EntityVisa updateVisa(EntityVisa visa)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntityVisa exactly like the visa passed in.
updateVisa in interface IdentityServicevisa - the EntityVisa to update
RiceIllegalArgumentException
RiceIllegalStateException
public EntityName addNameToEntity(EntityName name)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntityName exactly like the name passed in.
The EntityName object passed in must be populated with an entityId and a nameType
addNameToEntity in interface IdentityServicename - the EntityName to create
RiceIllegalArgumentException
RiceIllegalStateException
public EntityName updateName(EntityName name)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntityName exactly like the name passed in.
updateName in interface IdentityServicename - the EntityName to update
RiceIllegalArgumentException
RiceIllegalStateException
public EntityName inactivateName(String id)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntityName with the passed in id.
inactivateName in interface IdentityServiceid - the unique id of the EntityName to inactivate
RiceIllegalArgumentException
RiceIllegalStateException
public EntityEmployment addEmploymentToEntity(EntityEmployment employment)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntityEmployment exactly like the employment passed in.
The EntityEmployment object passed in must be populated with an entityId and a employmentType
addEmploymentToEntity in interface IdentityServiceemployment - the EntityEmployment to create
RiceIllegalArgumentException
RiceIllegalStateException
public EntityEmployment updateEmployment(EntityEmployment employment)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntityEmployment exactly like the employment passed in.
updateEmployment in interface IdentityServiceemployment - the EntityEmployment to update
RiceIllegalArgumentException
RiceIllegalStateException
public EntityEmployment inactivateEmployment(String id)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntityEmployment with the passed in id.
inactivateEmployment in interface IdentityServiceid - the unique id of the EntityEmployment to inactivate
RiceIllegalArgumentException
RiceIllegalStateException
public EntityBioDemographics addBioDemographicsToEntity(EntityBioDemographics bioDemographics)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntityBioDemographics exactly like the bioDemographics passed in.
The EntityBioDemographics object passed in must be populated with an entityId
addBioDemographicsToEntity in interface IdentityServicebioDemographics - the EntityBioDemographics to create
RiceIllegalArgumentException
RiceIllegalStateException
public EntityBioDemographics updateBioDemographics(EntityBioDemographics bioDemographics)
throws RiceIllegalArgumentException,
RiceIllegalStateException
IdentityServiceEntityBioDemographics exactly like the bioDemographics passed in.
updateBioDemographics in interface IdentityServicebioDemographics - the EntityBioDemographics to update
RiceIllegalArgumentException
RiceIllegalStateExceptionpublic void setCriteriaLookupService(CriteriaLookupService criteriaLookupService)
public void setBusinessObjectService(BusinessObjectService businessObjectService)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||