public class IdentityCurrentAndArchivedServiceImpl extends Object implements IdentityService
EntityDefault in which case the IdentityArchiveService
will be invoked if the inner IndentityService impl returns null.| Constructor and Description |
|---|
IdentityCurrentAndArchivedServiceImpl(IdentityService innerIdentityService,
IdentityArchiveService identityArchiveService)
This constructs a IdentityCurrentAndArchivedServiceImpl, injecting the
needed services.
|
| Modifier and Type | Method and Description |
|---|---|
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 entityTypeContactInfo)
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. |
List<CodedAttribute> |
findAllAddressTypes()
Finds all EntityAddressTypes
|
List<EntityAffiliationType> |
findAllAffiliationTypes()
Finds all EntityAffiliationTypes
|
List<CodedAttribute> |
findAllCitizenshipStatuses()
Finds all EntityCitizenshipStatuses
|
List<CodedAttribute> |
findAllEmailTypes()
Finds all EntityEmailTypes
|
List<CodedAttribute> |
findAllEmploymentStatuses()
Finds all EntityEmploymentStatuses
|
List<CodedAttribute> |
findAllEmploymentTypes()
Finds all EntityEmploymentTypes
|
List<CodedAttribute> |
findAllEntityTypes()
Finds all EntityTypes
|
List<EntityExternalIdentifierType> |
findAllExternalIdendtifierTypes()
Finds all ExternalIdentifierTypes
|
List<CodedAttribute> |
findAllNameTypes()
Finds all EntityNameTypes
|
List<CodedAttribute> |
findAllPhoneTypes()
Finds all EntityPhoneTypes
|
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.
|
PrincipalQueryResults |
findPrincipals(QueryByCriteria query)
This method finds Principals based on a query criteria.
|
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. |
EntityNamePrincipalName |
getDefaultNamesForPrincipalId(String principalId)
This returns the display name information for the given principal
without loading the full person object.
|
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. |
Entity |
getEntityByEmployeeId(String employeeId)
Gets a
Entity from a employeeId. |
Entity |
getEntityByPrincipalId(String principalId)
Gets a
Entity from a principalId. |
Entity |
getEntityByPrincipalName(String principalName)
Gets a
Entity from a principalName. |
EntityDefault |
getEntityDefault(String entityId)
This method first tries the inner IdentityService impl, and resorts to
the IdentityArchiveService if need be.
|
EntityDefault |
getEntityDefaultByEmployeeId(String employeeId)
This method first tries the inner IdentityService impl, and resorts to
the IdentityArchiveService if need be.
|
EntityDefault |
getEntityDefaultByPrincipalId(String principalId)
This method first tries the inner IdentityService impl, and resorts to
the IdentityArchiveService if need be.
|
EntityDefault |
getEntityDefaultByPrincipalName(String principalName)
This method first tries the inner IdentityService impl, and resorts to
the IdentityArchiveService if need be.
|
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. |
List<Principal> |
getPrincipals(List<String> principalIds)
Gets a list of
Principal from a string list of principalId. |
List<Principal> |
getPrincipalsByEmployeeId(String employeeId)
Gets a list of
Principal from an employeeId |
List<Principal> |
getPrincipalsByEntityId(String entityId)
Gets a list of
Principal from an entityId. |
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. |
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. |
public IdentityCurrentAndArchivedServiceImpl(IdentityService innerIdentityService, IdentityArchiveService identityArchiveService)
public CodedAttribute getAddressType(String code)
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 nullIdentityService.getAddressType(java.lang.String)public List<CodedAttribute> findAllAddressTypes()
IdentityServicefindAllAddressTypes in interface IdentityServiceCodedAttributepublic EntityAffiliationType getAffiliationType(String code)
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 nullpublic List<EntityAffiliationType> findAllAffiliationTypes()
IdentityServicefindAllAffiliationTypes in interface IdentityServiceEntityAffiliationTypepublic CodedAttribute getCitizenshipStatus(String code)
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 nullIdentityService.getCitizenshipStatus(java.lang.String)public List<CodedAttribute> findAllCitizenshipStatuses()
IdentityServicefindAllCitizenshipStatuses in interface IdentityServiceCodedAttributepublic EntityNamePrincipalName getDefaultNamesForPrincipalId(String principalId)
IdentityServicegetDefaultNamesForPrincipalId in interface IdentityServiceprincipalId - The principal ID to find the name information forpublic EntityName addNameToEntity(EntityName name)
IdentityServiceEntityName exactly like the name passed in.
The EntityName object passed in must be populated with an entityId and a nameTypeaddNameToEntity in interface IdentityServicename - the EntityName to createpublic EntityName updateName(EntityName name)
IdentityServiceEntityName exactly like the name passed in.updateName in interface IdentityServicename - the EntityName to updatepublic EntityName inactivateName(String id)
IdentityServiceEntityName with the passed in id.inactivateName in interface IdentityServiceid - the unique id of the EntityName to inactivatepublic EntityEmployment addEmploymentToEntity(EntityEmployment employment)
IdentityServiceEntityEmployment exactly like the employment passed in.
The EntityEmployment object passed in must be populated with an entityId and a employmentTypeaddEmploymentToEntity in interface IdentityServiceemployment - the EntityEmployment to createpublic EntityEmployment updateEmployment(EntityEmployment employment)
IdentityServiceEntityEmployment exactly like the employment passed in.updateEmployment in interface IdentityServiceemployment - the EntityEmployment to updatepublic EntityEmployment inactivateEmployment(String id)
IdentityServiceEntityEmployment with the passed in id.inactivateEmployment in interface IdentityServiceid - the unique id of the EntityEmployment to inactivatepublic EntityBioDemographics addBioDemographicsToEntity(EntityBioDemographics bioDemographics)
IdentityServiceEntityBioDemographics exactly like the bioDemographics passed in.
The EntityBioDemographics object passed in must be populated with an entityIdaddBioDemographicsToEntity in interface IdentityServicebioDemographics - the EntityBioDemographics to createpublic EntityBioDemographics updateBioDemographics(EntityBioDemographics bioDemographics)
IdentityServiceEntityBioDemographics exactly like the bioDemographics passed in.updateBioDemographics in interface IdentityServicebioDemographics - the EntityBioDemographics to updatepublic CodedAttribute getEmailType(String code)
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 nullIdentityService.getEmailType(java.lang.String)public List<CodedAttribute> findAllEmailTypes()
IdentityServicefindAllEmailTypes in interface IdentityServiceCodedAttributepublic PrincipalQueryResults findPrincipals(QueryByCriteria query) throws RiceIllegalArgumentException
IdentityServicefindPrincipals in interface IdentityServicequery - the criteria. Cannot be null.RiceIllegalArgumentExceptionpublic CodedAttribute getEmploymentStatus(String code)
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 nullIdentityService.getEmploymentStatus(java.lang.String)public List<CodedAttribute> findAllEmploymentStatuses()
IdentityServicefindAllEmploymentStatuses in interface IdentityServiceCodedAttributepublic CodedAttribute getEmploymentType(String code)
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 nullIdentityService.getEmploymentType(java.lang.String)public List<CodedAttribute> findAllEmploymentTypes()
IdentityServicefindAllEmploymentTypes in interface IdentityServiceCodedAttributepublic EntityDefault getEntityDefault(String entityId)
getEntityDefault in interface IdentityServiceentityId - the unique id to retrieve the entity by. cannot be null.EntityDefault or nullpublic EntityDefault getEntityDefaultByPrincipalId(String principalId)
getEntityDefaultByPrincipalId in interface IdentityServiceprincipalId - the unique id to retrieve the entity by. cannot be null.EntityDefault or nullpublic EntityDefault getEntityDefaultByPrincipalName(String principalName)
getEntityDefaultByPrincipalName in interface IdentityServiceprincipalName - the unique id to retrieve the entity by. cannot be null.EntityDefault or nullpublic EntityDefault getEntityDefaultByEmployeeId(String employeeId)
getEntityDefaultByEmployeeId in interface IdentityServiceemployeeId - the unique id to retrieve the entity by. cannot be null.EntityDefault or nullpublic EntityDefaultQueryResults findEntityDefaults(QueryByCriteria queryByCriteria)
IdentityServicefindEntityDefaults in interface IdentityServicequeryByCriteria - the criteria. Cannot be null.public EntityQueryResults findEntities(QueryByCriteria queryByCriteria)
IdentityServicefindEntities in interface IdentityServicequeryByCriteria - the criteria. Cannot be null.public Entity getEntity(String entityId)
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 nullpublic Entity getEntityByPrincipalId(String principalId)
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 nullpublic Entity getEntityByPrincipalName(String principalName)
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 nullpublic Entity getEntityByEmployeeId(String employeeId)
IdentityServiceEntity from a employeeId.
This method will return null if the Entity does not exist.
getEntityByEmployeeId in interface IdentityServiceemployeeId - the unique id to retrieve the entity by. cannot be null.Entity or nullpublic Entity createEntity(Entity entity)
IdentityServiceEntity exactly like the entity passed in.createEntity in interface IdentityServiceentity - the entity to createpublic Entity updateEntity(Entity entity)
IdentityServiceEntity.updateEntity in interface IdentityServiceentity - the entity to updatepublic Entity inactivateEntity(String entityId)
IdentityServiceEntity.inactivateEntity in interface IdentityServiceentityId - the unique id of the entity to inactivatepublic CodedAttribute getNameType(String code)
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 nullIdentityService.getNameType(java.lang.String)public List<CodedAttribute> findAllNameTypes()
IdentityServicefindAllNameTypes in interface IdentityServiceCodedAttributepublic EntityPrivacyPreferences getEntityPrivacyPreferences(String entityId)
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 nullpublic EntityPrivacyPreferences addPrivacyPreferencesToEntity(EntityPrivacyPreferences privacyPreferences)
IdentityServiceEntityPrivacyPreferences exactly like the privacyPreferences passed in.
The EntityPrivacyPreferences object passed in must be populated with an entityIdaddPrivacyPreferencesToEntity in interface IdentityServiceprivacyPreferences - the EntityPrivacyPreferences to createpublic EntityPrivacyPreferences updatePrivacyPreferences(EntityPrivacyPreferences privacyPreferences)
IdentityServiceEntityPrivacyPreferences exactly like the privacyPreferences passed in.updatePrivacyPreferences in interface IdentityServiceprivacyPreferences - the EntityPrivacyPreferences to updatepublic EntityCitizenship addCitizenshipToEntity(EntityCitizenship citizenship)
IdentityServiceEntityCitizenship exactly like the citizenship passed in.
The EntityCitizenship object passed in must be populated with an entityId and a statusaddCitizenshipToEntity in interface IdentityServicecitizenship - the EntityCitizenship to createpublic EntityCitizenship updateCitizenship(EntityCitizenship citizenship)
IdentityServiceEntityCitizenship exactly like the citizenship passed in.updateCitizenship in interface IdentityServicecitizenship - the EntityCitizenship to updatepublic EntityCitizenship inactivateCitizenship(String id)
IdentityServiceEntityCitizenship with the unique id passed in.inactivateCitizenship in interface IdentityServiceid - the id of the EntityCitizenship to inactivatepublic EntityEthnicity addEthnicityToEntity(EntityEthnicity ethnicity)
IdentityServiceEntityEthnicity exactly like the ethnicity passed in.
The EntityEthnicity object passed in must be populated with an entityId and a ethnicity codeaddEthnicityToEntity in interface IdentityServiceethnicity - the EntityEthnicity to createpublic EntityEthnicity updateEthnicity(EntityEthnicity ethnicity)
IdentityServiceEntityEthnicity exactly like the ethnicity passed in.updateEthnicity in interface IdentityServiceethnicity - the EntityEthnicity to updatepublic EntityResidency addResidencyToEntity(EntityResidency residency)
IdentityServiceEntityResidency exactly like the residency passed in.
The EntityResidency object passed in must be populated with an entityIdaddResidencyToEntity in interface IdentityServiceresidency - the EntityResidency to createpublic EntityResidency updateResidency(EntityResidency residency)
IdentityServiceEntityResidency exactly like the residency passed in.updateResidency in interface IdentityServiceresidency - the EntityResidency to updatepublic EntityVisa addVisaToEntity(EntityVisa visa)
IdentityServiceEntityVisa exactly like the visa passed in.
The EntityVisa object passed in must be populated with an entityId and a visaTypeKeyaddVisaToEntity in interface IdentityServicevisa - the EntityVisa to createpublic EntityVisa updateVisa(EntityVisa visa)
IdentityServiceEntityVisa exactly like the visa passed in.updateVisa in interface IdentityServicevisa - the EntityVisa to updatepublic CodedAttribute getEntityType(String code)
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 nullIdentityService.getEntityType(java.lang.String)public List<CodedAttribute> findAllEntityTypes()
IdentityServicefindAllEntityTypes in interface IdentityServiceCodedAttributepublic EntityExternalIdentifierType getExternalIdentifierType(String code)
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 nullpublic List<EntityExternalIdentifierType> findAllExternalIdendtifierTypes()
IdentityServicefindAllExternalIdendtifierTypes in interface IdentityServiceEntityExternalIdentifierTypepublic CodedAttribute getPhoneType(String code)
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 nullIdentityService.getPhoneType(java.lang.String)public List<CodedAttribute> findAllPhoneTypes()
IdentityServicefindAllPhoneTypes in interface IdentityServiceCodedAttributepublic Principal getPrincipal(String principalId)
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 nullpublic List<Principal> getPrincipals(List<String> principalIds)
Principal from a string list of principalId.
This method will only return principals that exist. It will return null if the none of the principals exist.
getPrincipals in interface IdentityServiceprincipalIds - the unique id to retrieve the principal by. cannot be null.Principal or nullRiceIllegalArgumentException - if the principalId is blankpublic Principal getPrincipalByPrincipalName(String principalName)
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 nullpublic List<Principal> getPrincipalsByEntityId(String entityId)
IdentityServicePrincipal from an entityId.
This method will only return principals that exist.
getPrincipalsByEntityId in interface IdentityServiceentityId - the unique id to retrieve the principals by. cannot be null.Principalpublic List<Principal> getPrincipalsByEmployeeId(String employeeId)
IdentityServicePrincipal from an employeeId
This method will only return principals that exist.
getPrincipalsByEmployeeId in interface IdentityServiceemployeeId - the employee id to retrieve the principals by. cannot be null.Principalpublic Principal getPrincipalByPrincipalNameAndPassword(String principalName, String password)
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 principalPrincipal or nullpublic Principal addPrincipalToEntity(Principal principal)
IdentityServicePrincipal exactly like the principal passed in.
The principal object passed in must be populated with an entityId and a principalNameaddPrincipalToEntity in interface IdentityServiceprincipal - the principal to createpublic Principal updatePrincipal(Principal principal)
IdentityServicePrincipal exactly like the principal passed in.updatePrincipal in interface IdentityServiceprincipal - the principal to updatepublic Principal inactivatePrincipal(String principalId)
IdentityServicePrincipal.inactivatePrincipal in interface IdentityServiceprincipalId - the unique id of the principal to inactivatepublic Principal inactivatePrincipalByName(String principalName)
IdentityServicePrincipal.inactivatePrincipalByName in interface IdentityServiceprincipalName - the unique principalName of the principal to inactivatepublic EntityTypeContactInfo addEntityTypeContactInfoToEntity(EntityTypeContactInfo entityTypeContactInfo)
IdentityServiceEntityTypeContactInfo exactly like the entityTypeContactInfo passed in.
The EntityTypeContactInfo object passed in must be populated with an entityId and a entityTypeCodeaddEntityTypeContactInfoToEntity in interface IdentityServiceentityTypeContactInfo - the EntityTypeContactInfo to createpublic EntityTypeContactInfo updateEntityTypeContactInfo(EntityTypeContactInfo entityTypeContactInfo)
IdentityServiceEntityTypeContactInfo exactly like the entityTypeContactInfo passed in.updateEntityTypeContactInfo in interface IdentityServiceentityTypeContactInfo - the EntityTypeContactInfo to updatepublic EntityTypeContactInfo inactivateEntityTypeContactInfo(String entityId, String entityTypeCode)
IdentityServiceEntityTypeContactInfo with the passed in parameters.inactivateEntityTypeContactInfo in interface IdentityServiceentityId - the entityId of the EntityTypeContactInfo to inactivateentityTypeCode - the entityTypeCode of the EntityTypeContactInfo to inactivatepublic EntityAddress addAddressToEntity(EntityAddress address)
IdentityServiceEntityAddress exactly like the address passed in.
The EntityAddress object passed in must be populated with an entityId and a entityTypeCodeaddAddressToEntity in interface IdentityServiceaddress - the EntityAddress to createpublic EntityAddress updateAddress(EntityAddress address)
IdentityServiceEntityAddress exactly like the address passed in.updateAddress in interface IdentityServiceaddress - the EntityAddress to updatepublic EntityAddress inactivateAddress(String addressId)
IdentityServiceEntityAddress with the id passed in.inactivateAddress in interface IdentityServiceaddressId - the unique id of the EntityAddress to inactivatepublic EntityEmail addEmailToEntity(EntityEmail email)
IdentityServiceEntityEmail exactly like the email passed in.
The EntityEmail object passed in must be populated with an entityId and a entityTypeCodeaddEmailToEntity in interface IdentityServiceemail - the EntityEmail to createpublic EntityEmail updateEmail(EntityEmail email)
IdentityServiceEntityEmail exactly like the email passed in.updateEmail in interface IdentityServiceemail - the EntityEmail to updatepublic EntityEmail inactivateEmail(String emailId)
IdentityServiceEntityEmail with the passed in id.inactivateEmail in interface IdentityServiceemailId - the unique id of the EntityEmail to inactivatepublic EntityPhone addPhoneToEntity(EntityPhone phone)
IdentityServiceEntityPhone exactly like the phone passed in.
The EntityPhone object passed in must be populated with an entityId and a entityTypeCodeaddPhoneToEntity in interface IdentityServicephone - the EntityPhone to createpublic EntityPhone updatePhone(EntityPhone phone)
IdentityServiceEntityPhone exactly like the phone passed in.updatePhone in interface IdentityServicephone - the EntityPhone to updatepublic EntityPhone inactivatePhone(String phoneId)
IdentityServiceEntityPhone with the passed in id.inactivatePhone in interface IdentityServicephoneId - the unique id of the EntityPhone to inactivatepublic EntityExternalIdentifier addExternalIdentifierToEntity(EntityExternalIdentifier externalId)
IdentityServiceEntityExternalIdentifier exactly like the externalId passed in.
The EntityExternalIdentifier object passed in must be populated with an entityId and a externalIdentifierTypeCodeaddExternalIdentifierToEntity in interface IdentityServiceexternalId - the EntityExternalIdentifier to createpublic EntityExternalIdentifier updateExternalIdentifier(EntityExternalIdentifier externalId)
IdentityServiceEntityExternalIdentifier exactly like the externalId passed in.updateExternalIdentifier in interface IdentityServiceexternalId - the EntityExternalIdentifier to updatepublic EntityAffiliation addAffiliationToEntity(EntityAffiliation affiliation)
IdentityServiceEntityAffiliation exactly like the affiliation passed in.
The EntityAffiliation object passed in must be populated with an entityId and a affiliationTypeaddAffiliationToEntity in interface IdentityServiceaffiliation - the EntityAffiliation to createpublic EntityAffiliation updateAffiliation(EntityAffiliation affiliation)
IdentityServiceEntityAffiliation exactly like the affiliation passed in.updateAffiliation in interface IdentityServiceaffiliation - the EntityAffiliation to updatepublic EntityAffiliation inactivateAffiliation(String id)
IdentityServiceEntityAffiliation with the id passed in.inactivateAffiliation in interface IdentityServiceid - the unique id of the EntityAffiliation to inactivateCopyright © 2005–2016 The Kuali Foundation. All rights reserved.