Name | Identity | |
---|---|---|
Version | ||
Included Services | ||
Java Package | org.kuali.rice.kim.api.identity |
A principal represents an identity that can authenticate. In essence, a principal can be
thought of as an "account" or as an identity's authentication credentials. A principal has
an id which is used to uniquely identify it. It also has a name which represents the
principal's username and is typically what is entered when authenticating. All principals
are associated with one and only one identity.
An identity represents a person or system. Additionally, other "types" of entities can
be defined in KIM. Information like name, phone number, etc. is associated with an identity.
It is the representation of a concrete person or system. While an identity will typically
have a single principal associated with it, it is possible for an identity to have more than
one principal or even no principals at all (in the case where the identity does not actually
authenticate).
This service also provides operations for querying various pieces of reference data, such as
address types, affiliation types, phone types, etc.
Method | findEntityDefaults | ||
---|---|---|---|
Description | This method finds EntityDefault data based on a query criteria. The criteria cannot be null. | ||
Parameters | QueryByCriteria | query | the criteria. Cannot be null. |
Return | EntityDefaultQueryResults | query results. will never return null. | |
Errors | RiceIllegalArgumentException | if the queryByCriteria is null |
Method | findEntities | ||
---|---|---|---|
Description | This method finds Entities based on a query criteria. The criteria cannot be null. | ||
Parameters | QueryByCriteria | query | the criteria. Cannot be null. |
Return | EntityQueryResults | query results. will never return null. | |
Errors | RiceIllegalArgumentException | if the queryByCriteria is null |
Method | getEntity | ||
---|---|---|---|
Description | Gets a {@link org.kuali.rice.kim.api.identity.entity.Entity} from an id.
|
||
Parameters | String | id | the unique id to retrieve the entity by. cannot be null. |
Return | Entity | a {@link org.kuali.rice.kim.api.identity.entity.Entity} or null | |
Errors | RiceIllegalArgumentException | if the id is blank |
Method | getEntityByPrincipalId | ||
---|---|---|---|
Description | Gets a {@link org.kuali.rice.kim.api.identity.entity.Entity} from a principalId.
|
||
Parameters | String | principalId | the unique id to retrieve the entity by. cannot be null. |
Return | Entity | a {@link org.kuali.rice.kim.api.identity.entity.Entity} or null | |
Errors | RiceIllegalArgumentException | if the principalId is blank |
Method | getEntityByPrincipalName | ||
---|---|---|---|
Description | Gets a {@link org.kuali.rice.kim.api.identity.entity.Entity} from a principalName.
|
||
Parameters | String | principalName | the unique id to retrieve the entity by. cannot be null. |
Return | Entity | a {@link org.kuali.rice.kim.api.identity.entity.Entity} or null | |
Errors | RiceIllegalArgumentException | if the id is blank |
Method | getEntityByEmployeeId | ||
---|---|---|---|
Description | Gets a {@link org.kuali.rice.kim.api.identity.entity.Entity} from a employeeId.
|
||
Parameters | String | employeeId | the unique id to retrieve the entity by. cannot be null. |
Return | Entity | a {@link org.kuali.rice.kim.api.identity.entity.Entity} or null | |
Errors | RiceIllegalArgumentException | if the employeeId is blank |
Method | createEntity | ||
---|---|---|---|
Description | This will create a {@link org.kuali.rice.kim.api.identity.entity.Entity} exactly like the entity passed in. | ||
Parameters | Entity | entity | the entity to create |
Return | Entity | the newly created Entity object. | |
Errors | RiceIllegalArgumentException | if the entity is null | |
RiceIllegalStateException | if the entity already exists in the system |
Method | updateEntity | ||
---|---|---|---|
Description | This will update a {@link org.kuali.rice.kim.api.identity.entity.Entity}. | ||
Parameters | Entity | entity | the entity to update |
Return | Entity | the updated Entity object. | |
Errors | RiceIllegalArgumentException | if the entity is null | |
RiceIllegalStateException | if the entity does not already exist in the system |
Method | inactivateEntity | ||
---|---|---|---|
Description | This will inactivate a {@link org.kuali.rice.kim.api.identity.entity.Entity}. | ||
Parameters | String | id | the unique id of the entity to inactivate |
Return | Entity | the inactivated Entity object. | |
Errors | RiceIllegalArgumentException | if the entity is null | |
RiceIllegalStateException | if the entity does not already exist in the system |
Method | getEntityDefault | ||
---|---|---|---|
Description | Gets a {@link org.kuali.rice.kim.api.identity.entity.EntityDefault} from an id. {@link org.kuali.rice.kim.api.identity.entity.EntityDefault} is a condensed version of {@link org.kuali.rice.kim.api.identity.entity.Entity} that contains default values of its subclasses
|
||
Parameters | String | id | the unique id to retrieve the entity by. cannot be null. |
Return | EntityDefault | a {@link org.kuali.rice.kim.api.identity.entity.EntityDefault} or null | |
Errors | RiceIllegalArgumentException | if the id is blank |
Method | getEntityDefaultByPrincipalId | ||
---|---|---|---|
Description | Gets a {@link org.kuali.rice.kim.api.identity.entity.EntityDefault} from an principalId. {@link org.kuali.rice.kim.api.identity.entity.EntityDefault} is a condensed version of {@link org.kuali.rice.kim.api.identity.entity.Entity} that contains default values of its subclasses
|
||
Parameters | String | principalId | the unique id to retrieve the entity by. cannot be null. |
Return | EntityDefault | a {@link org.kuali.rice.kim.api.identity.entity.EntityDefault} or null | |
Errors | RiceIllegalArgumentException | if the principalId is blank |
Method | getEntityDefaultByPrincipalName | ||
---|---|---|---|
Description | Gets a {@link org.kuali.rice.kim.api.identity.entity.EntityDefault} from an principalName. {@link org.kuali.rice.kim.api.identity.entity.EntityDefault} is a condensed version of {@link org.kuali.rice.kim.api.identity.entity.Entity} that contains default values of its subclasses
|
||
Parameters | String | principalName | the unique id to retrieve the entity by. cannot be null. |
Return | EntityDefault | a {@link org.kuali.rice.kim.api.identity.entity.EntityDefault} or null | |
Errors | RiceIllegalArgumentException | if the principalId is blank |
Method | getEntityDefaultByEmployeeId | ||
---|---|---|---|
Description | Gets a {@link org.kuali.rice.kim.api.identity.entity.EntityDefault} from an employeeId. {@link org.kuali.rice.kim.api.identity.entity.EntityDefault} is a condensed version of {@link org.kuali.rice.kim.api.identity.entity.Entity} that contains default values of its subclasses
|
||
Parameters | String | employeeId | the unique id to retrieve the entity by. cannot be null. |
Return | EntityDefault | a {@link org.kuali.rice.kim.api.identity.entity.EntityDefault} or null | |
Errors | RiceIllegalArgumentException | if the employeeId is blank |
Method | getPrincipal | ||
---|---|---|---|
Description | Gets a {@link org.kuali.rice.kim.api.identity.principal.Principal} from an principalId.
|
||
Parameters | String | principalId | the unique id to retrieve the principal by. cannot be null. |
Return | Principal | a {@link org.kuali.rice.kim.api.identity.principal.Principal} or null | |
Errors | RiceIllegalArgumentException | if the principalId is blank |
Method | getPrincipals | ||
---|---|---|---|
Description | Gets a list of {@link org.kuali.rice.kim.api.identity.principal.Principal} from a string list of principalId.
|
||
Parameters | StringList | principalIds | the unique id to retrieve the principal by. cannot be null. |
Return | PrincipalList | a list of {@link org.kuali.rice.kim.api.identity.principal.Principal} | |
Errors | NONE | No Errors |
Method | getPrincipalByPrincipalName | ||
---|---|---|---|
Description | Gets a {@link org.kuali.rice.kim.api.identity.principal.Principal} from an principalName.
|
||
Parameters | String | principalName | the unique id to retrieve the principal by. cannot be null. |
Return | Principal | a {@link org.kuali.rice.kim.api.identity.principal.Principal} or null | |
Errors | RiceIllegalArgumentException | ??? |
Method | getPrincipalByPrincipalNameAndPassword | ||
---|---|---|---|
Description | Gets a {@link org.kuali.rice.kim.api.identity.principal.Principal} from an principalName and password.
|
||
Parameters | String | principalName | the unique id to retrieve the principal by. cannot be null. |
String | password | the password for the principal | |
Return | Principal | a {@link org.kuali.rice.kim.api.identity.principal.Principal} or null | |
Errors | RiceIllegalArgumentException | if the principalName is blank |
Method | addPrincipalToEntity | ||
---|---|---|---|
Description | This will create a {@link org.kuali.rice.kim.api.identity.principal.Principal} exactly like the principal passed in. The principal object passed in must be populated with an entityId and a principalName |
||
Parameters | Principal | principal | the principal to create |
Return | Principal | the newly created Principal object. | |
Errors | RiceIllegalArgumentException | if the principal is null | |
RiceIllegalStateException | if the principal already exists in the system or the principal object is not populated with entityId and principalName |
Method | updatePrincipal | ||
---|---|---|---|
Description | This will update a {@link org.kuali.rice.kim.api.identity.principal.Principal} exactly like the principal passed in. | ||
Parameters | Principal | principal | the principal to update |
Return | Principal | the updated Principal object. | |
Errors | RiceIllegalArgumentException | if the principal is null | |
RiceIllegalStateException | if the principal does not exist in the system. |
Method | inactivatePrincipal | ||
---|---|---|---|
Description | This will inactivate a {@link org.kuali.rice.kim.api.identity.principal.Principal}. | ||
Parameters | String | principalId | the unique id of the principal to inactivate |
Return | Principal | the inactivated Principal object. | |
Errors | RiceIllegalArgumentException | if the principal is null | |
RiceIllegalStateException | if the principal does not exist in the system. |
Method | inactivatePrincipalByName | ||
---|---|---|---|
Description | This will inactivate a {@link org.kuali.rice.kim.api.identity.principal.Principal}. | ||
Parameters | String | principalName | the unique principalName of the principal to inactivate |
Return | Principal | the inactivated Principal object. | |
Errors | RiceIllegalArgumentException | if the principal is null | |
RiceIllegalStateException | if the principal does not exist in the system. |
Method | addEntityTypeContactInfoToEntity | ||
---|---|---|---|
Description | This will create a {@link org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo} exactly like the entityTypeContactInfo passed in. The EntityTypeContactInfo object passed in must be populated with an entityId and a entityTypeCode |
||
Parameters | EntityTypeContactInfo | entityTypeContactInfo | the EntityTypeContactInfo to create |
Return | EntityTypeContactInfo | the newly created EntityTypeContactInfo object. | |
Errors | RiceIllegalArgumentException | if the entityTypeContactInfo is null | |
RiceIllegalStateException | if the entityTypeContactInfo already exists in the system or the EntityTypeContactInfo object is not populated with entityId and entityTypeCode |
Method | updateEntityTypeContactInfo | ||
---|---|---|---|
Description | This will update a {@link org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo} exactly like the entityTypeContactInfo passed in. | ||
Parameters | EntityTypeContactInfo | entityTypeContactInfo | the EntityTypeContactInfo to update |
Return | EntityTypeContactInfo | the updated EntityTypeContactInfo object. | |
Errors | RiceIllegalArgumentException | if the entityTypeContactInfo is null | |
RiceIllegalStateException | if the entityTypeContactInfo does not exist in the system. |
Method | inactivateEntityTypeContactInfo | ||
---|---|---|---|
Description | This will inactivate a {@link org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo} with the passed in parameters. | ||
Parameters | String | entityId | the entityId of the EntityTypeContactInfo to inactivate |
String | entityTypeCode | the entityTypeCode of the EntityTypeContactInfo to inactivate | |
Return | EntityTypeContactInfo | the inactivated EntityTypeContactInfo object. | |
Errors | RiceIllegalArgumentException | if the entityId or entityTypeCode passed in is null | |
RiceIllegalStateException | if the EntityTypeContactInfo does not exist in the system. |
Method | addAddressToEntity | ||
---|---|---|---|
Description | This will create a {@link org.kuali.rice.kim.api.identity.address.EntityAddress} exactly like the address passed in. The EntityAddress object passed in must be populated with an entityId and a entityTypeCode |
||
Parameters | EntityAddress | address | the EntityAddress to create |
Return | EntityAddress | the newly created EntityAddress object. | |
Errors | RiceIllegalArgumentException | if the address is null | |
RiceIllegalStateException | if the address already exists in the system or address is not populated with entityId and entityTypeCode |
Method | updateAddress | ||
---|---|---|---|
Description | This will update a {@link org.kuali.rice.kim.api.identity.address.EntityAddress} exactly like the address passed in. | ||
Parameters | EntityAddress | address | the EntityAddress to update |
Return | EntityAddress | the updated EntityAddress object. | |
Errors | RiceIllegalArgumentException | if the address does not exist in the system. | |
RiceIllegalStateException | ??? |
Method | inactivateAddress | ||
---|---|---|---|
Description | This will inactivate a {@link org.kuali.rice.kim.api.identity.address.EntityAddress} with the id passed in. | ||
Parameters | String | id | the unique id of the EntityAddress to inactivate |
Return | EntityAddress | the updated EntityAddress object. | |
Errors | RiceIllegalArgumentException | if the id is null | |
RiceIllegalStateException | if the address does not exist in the system. |
Method | addEmailToEntity | ||
---|---|---|---|
Description | This will create a {@link org.kuali.rice.kim.api.identity.email.EntityEmail} exactly like the email passed in. The EntityEmail object passed in must be populated with an entityId and a entityTypeCode |
||
Parameters | EntityEmail | the EntityEmail to create | |
Return | EntityEmail | the newly created EntityEmail object. | |
Errors | RiceIllegalArgumentException | if the email is null | |
RiceIllegalStateException | if the email already exists in the system or email is not populated with entityId and entityTypeCode |
Method | updateEmail | ||
---|---|---|---|
Description | This will update a {@link org.kuali.rice.kim.api.identity.email.EntityEmail} exactly like the email passed in. | ||
Parameters | EntityEmail | the EntityEmail to update | |
Return | EntityEmail | the updated EntityEmail object. | |
Errors | RiceIllegalArgumentException | if the email is null | |
RiceIllegalStateException | if the email does not exist in the system. |
Method | inactivateEmail | ||
---|---|---|---|
Description | This will inactivate the {@link org.kuali.rice.kim.api.identity.email.EntityEmail} with the passed in id. | ||
Parameters | String | id | the unique id of the EntityEmail to inactivate |
Return | EntityEmail | the inactivated EntityEmail object. | |
Errors | RiceIllegalArgumentException | if the id is null | |
RiceIllegalStateException | if the email does not exist in the system. |
Method | addPhoneToEntity | ||
---|---|---|---|
Description | This will create a {@link org.kuali.rice.kim.api.identity.phone.EntityPhone} exactly like the phone passed in. The EntityPhone object passed in must be populated with an entityId and a entityTypeCode |
||
Parameters | EntityPhone | phone | the EntityPhone to create |
Return | EntityPhone | the newly created EntityPhone object. | |
Errors | RiceIllegalArgumentException | if the phone is null | |
RiceIllegalStateException | if the phone already exists in the system or phone is not populated with entityId and entityTypeCode |
Method | updatePhone | ||
---|---|---|---|
Description | This will update a {@link org.kuali.rice.kim.api.identity.phone.EntityPhone} exactly like the phone passed in. | ||
Parameters | EntityPhone | phone | the EntityPhone to update |
Return | EntityPhone | the updated EntityPhone object. | |
Errors | RiceIllegalArgumentException | if the phone is null | |
RiceIllegalStateException | if the phone does not exist in the system. |
Method | inactivatePhone | ||
---|---|---|---|
Description | This will inactivate the {@link org.kuali.rice.kim.api.identity.phone.EntityPhone} with the passed in id. | ||
Parameters | String | id | the unique id of the EntityPhone to inactivate |
Return | EntityPhone | the inactivated EntityPhone object. | |
Errors | RiceIllegalArgumentException | if the id is null | |
RiceIllegalStateException | if the phone does not exist in the system. |
Method | addExternalIdentifierToEntity | ||
---|---|---|---|
Description | This will create a {@link org.kuali.rice.kim.api.identity.external.EntityExternalIdentifier} exactly like the externalId passed in. The EntityExternalIdentifier object passed in must be populated with an entityId and a externalIdentifierTypeCode |
||
Parameters | EntityExternalIdentifier | externalId | the EntityExternalIdentifier to create |
Return | EntityExternalIdentifier | the newly created EntityExternalIdentifier object. | |
Errors | RiceIllegalArgumentException | if the externalId is null | |
RiceIllegalStateException | if the externalId already exists in the system or externalId is not populated with entityId and externalIdentifierTypeCode |
Method | updateExternalIdentifier | ||
---|---|---|---|
Description | This will update a {@link org.kuali.rice.kim.api.identity.external.EntityExternalIdentifier} exactly like the externalId passed in. | ||
Parameters | EntityExternalIdentifier | externalId | the EntityExternalIdentifier to update |
Return | EntityExternalIdentifier | the updated EntityExternalIdentifier object. | |
Errors | RiceIllegalArgumentException | if the externalId is null | |
RiceIllegalStateException | if the externalId does not exist in the system. |
Method | addAffiliationToEntity | ||
---|---|---|---|
Description | This will create a {@link org.kuali.rice.kim.api.identity.affiliation.EntityAffiliation} exactly like the affiliation passed in. The EntityAffiliation object passed in must be populated with an entityId and a affiliationType |
||
Parameters | EntityAffiliation | affiliation | the EntityAffiliation to create |
Return | EntityAffiliation | the newly created EntityAffiliation object. | |
Errors | RiceIllegalArgumentException | if the affiliation is null | |
RiceIllegalStateException | if the affiliation already exists in the system or affiliation is not populated with entityId and affiliationType |
Method | updateAffiliation | ||
---|---|---|---|
Description | This will update a {@link org.kuali.rice.kim.api.identity.affiliation.EntityAffiliation} exactly like the affiliation passed in. | ||
Parameters | EntityAffiliation | affiliation | the EntityAffiliation to update |
Return | EntityAffiliation | the updated EntityAffiliation object. | |
Errors | RiceIllegalArgumentException | if the affiliation is null | |
RiceIllegalStateException | if the affiliation does not exist in the system. |
Method | inactivateAffiliation | ||
---|---|---|---|
Description | This will inactivate a {@link org.kuali.rice.kim.api.identity.affiliation.EntityAffiliation} with the id passed in. | ||
Parameters | String | id | the unique id of the EntityAffiliation to inactivate |
Return | EntityAffiliation | the updated EntityAffiliation object. | |
Errors | RiceIllegalArgumentException | if the affiliation is null | |
RiceIllegalStateException | if the affiliation does not exist in the system. |
Method | getDefaultNamesForPrincipalId | ||
---|---|---|---|
Description | This returns the display name information for the given principal without loading the full person object. |
||
Parameters | String | principalId | The principal ID to find the name information for |
Return | EntityNamePrincipalName | The default name information for the principal | |
Errors | NONE | No Errors |
Method | addNameToEntity | ||
---|---|---|---|
Description | This will create a {@link org.kuali.rice.kim.api.identity.name.EntityName} exactly like the name passed in. The EntityName object passed in must be populated with an entityId and a nameType |
||
Parameters | EntityName | name | the EntityName to create |
Return | EntityName | the newly created EntityName object. | |
Errors | RiceIllegalArgumentException | if the name is null | |
RiceIllegalStateException | if the name already exists in the system or name is not populated with entityId and nameType |
Method | updateName | ||
---|---|---|---|
Description | This will update a {@link org.kuali.rice.kim.api.identity.name.EntityName} exactly like the name passed in. | ||
Parameters | EntityName | name | the EntityName to update |
Return | EntityName | the updated EntityName object. | |
Errors | RiceIllegalArgumentException | if the name is null | |
RiceIllegalStateException | if the name does not exist in the system. |
Method | inactivateName | ||
---|---|---|---|
Description | This will inactivate a {@link org.kuali.rice.kim.api.identity.name.EntityName} with the passed in id. | ||
Parameters | String | id | the unique id of the EntityName to inactivate |
Return | EntityName | the inactivated EntityName object. | |
Errors | RiceIllegalArgumentException | if the id is null | |
RiceIllegalStateException | if the name with the id does not exist in the system. |
Method | addEmploymentToEntity | ||
---|---|---|---|
Description | This will create a {@link org.kuali.rice.kim.api.identity.employment.EntityEmployment} exactly like the employment passed in. The EntityEmployment object passed in must be populated with an entityId and a employmentType |
||
Parameters | EntityEmployment | employment | the EntityEmployment to create |
Return | EntityEmployment | the newly created EntityName object. | |
Errors | RiceIllegalArgumentException | if the employment is null | |
RiceIllegalStateException | if the employment already exists in the system or employment is not populated with entityId and employmentType |
Method | updateEmployment | ||
---|---|---|---|
Description | This will update a {@link org.kuali.rice.kim.api.identity.employment.EntityEmployment} exactly like the employment passed in. | ||
Parameters | EntityEmployment | employment | the EntityEmployment to update |
Return | EntityEmployment | the updated EntityEmployment object. | |
Errors | RiceIllegalArgumentException | if the employment is null | |
RiceIllegalStateException | if the employment does not exist in the system. |
Method | inactivateEmployment | ||
---|---|---|---|
Description | This will inactivate a {@link org.kuali.rice.kim.api.identity.employment.EntityEmployment} with the passed in id. | ||
Parameters | String | id | the unique id of the EntityEmployment to inactivate |
Return | EntityEmployment | the inactivated EntityEmployment object. | |
Errors | RiceIllegalArgumentException | if the id is null | |
RiceIllegalStateException | if the employment with the id does not exist in the system. |
Method | addBioDemographicsToEntity | ||
---|---|---|---|
Description | This will create a {@link org.kuali.rice.kim.api.identity.personal.EntityBioDemographics} exactly like the bioDemographics passed in. The EntityBioDemographics object passed in must be populated with an entityId |
||
Parameters | EntityBioDemographics | bioDemographics | the EntityBioDemographics to create |
Return | EntityBioDemographics | the newly created EntityBioDemographics object. | |
Errors | RiceIllegalArgumentException | if the bioDemographics is null | |
RiceIllegalStateException | if the bioDemographics already exists in the system or bioDemographics is not populated with entityId |
Method | updateBioDemographics | ||
---|---|---|---|
Description | This will update a {@link org.kuali.rice.kim.api.identity.personal.EntityBioDemographics} exactly like the bioDemographics passed in. | ||
Parameters | EntityBioDemographics | bioDemographics | the EntityBioDemographics to update |
Return | EntityBioDemographics | the updated EntityBioDemographics object. | |
Errors | RiceIllegalArgumentException | if the bioDemographics is null | |
RiceIllegalStateException | if the bioDemographics does not exist in the system. |
Method | getEntityPrivacyPreferences | ||
---|---|---|---|
Description | Gets a {@link org.kuali.rice.kim.api.identity.privacy.EntityPrivacyPreferences} for a given id.
|
||
Parameters | String | id | the unique id to retrieve the EntityPrivacyPreferences by. Cannot be null. |
Return | EntityPrivacyPreferences | a {@link org.kuali.rice.kim.api.identity.privacy.EntityPrivacyPreferences} or null | |
Errors | RiceIllegalArgumentException | if the entityId is blank |
Method | addPrivacyPreferencesToEntity | ||
---|---|---|---|
Description | This will create a {@link org.kuali.rice.kim.api.identity.privacy.EntityPrivacyPreferences} exactly like the privacyPreferences passed in. The EntityPrivacyPreferences object passed in must be populated with an entityId |
||
Parameters | EntityPrivacyPreferences | privacyPreferences | the EntityPrivacyPreferences to create |
Return | EntityPrivacyPreferences | the newly created EntityPrivacyPreferences object. | |
Errors | RiceIllegalArgumentException | if the privacyPreferences is null | |
RiceIllegalStateException | if the privacyPreferences already exists in the system or privacyPreferences is not populated with entityId |
Method | updatePrivacyPreferences | ||
---|---|---|---|
Description | This will update a {@link org.kuali.rice.kim.api.identity.privacy.EntityPrivacyPreferences} exactly like the privacyPreferences passed in. | ||
Parameters | EntityPrivacyPreferences | privacyPreferences | the EntityPrivacyPreferences to update |
Return | EntityPrivacyPreferences | the updated EntityPrivacyPreferences object. | |
Errors | RiceIllegalArgumentException | if the privacyPreferences is null | |
RiceIllegalStateException | if the privacyPreferences does not exist in the system. |
Method | addCitizenshipToEntity | ||
---|---|---|---|
Description | This will create a {@link org.kuali.rice.kim.api.identity.citizenship.EntityCitizenship} exactly like the citizenship passed in. The EntityCitizenship object passed in must be populated with an entityId and a status |
||
Parameters | EntityCitizenship | citizenship | the EntityCitizenship to create |
Return | EntityCitizenship | the newly created EntityCitizenship object. | |
Errors | RiceIllegalArgumentException | if the citizenship is null | |
RiceIllegalStateException | if the citizenship already exists in the system or citizenship is not populated with entityId and status |
Method | updateCitizenship | ||
---|---|---|---|
Description | This will update a {@link org.kuali.rice.kim.api.identity.citizenship.EntityCitizenship} exactly like the citizenship passed in. | ||
Parameters | EntityCitizenship | citizenship | the EntityCitizenship to update |
Return | EntityCitizenship | the updated EntityCitizenship object. | |
Errors | RiceIllegalArgumentException | if the citizenship is null | |
RiceIllegalStateException | if the citizenship does not exist in the system. |
Method | inactivateCitizenship | ||
---|---|---|---|
Description | This will inactivate a {@link org.kuali.rice.kim.api.identity.citizenship.EntityCitizenship} with the unique id passed in. | ||
Parameters | String | id | the id of the EntityCitizenship to inactivate |
Return | EntityCitizenship | the inactivated EntityCitizenship object. | |
Errors | RiceIllegalArgumentException | if the citizenship is null | |
RiceIllegalStateException | if the citizenship does not exist in the system. |
Method | addEthnicityToEntity | ||
---|---|---|---|
Description | This will create a {@link EntityEthnicity} exactly like the ethnicity passed in. The EntityEthnicity object passed in must be populated with an entityId and a ethnicity code |
||
Parameters | EntityEthnicity | ethnicity | the EntityEthnicity to create |
Return | EntityEthnicity | the newly created EntityEthnicity object. | |
Errors | RiceIllegalArgumentException | if the ethnicity is null | |
RiceIllegalStateException | if the ethnicity already exists in the system or ethnicity is not populated with entityId and ethnicity code |
Method | updateEthnicity | ||
---|---|---|---|
Description | This will update a {@link EntityEthnicity} exactly like the ethnicity passed in. | ||
Parameters | EntityEthnicity | ethnicity | the EntityEthnicity to update |
Return | EntityEthnicity | the updated EntityEthnicity object. | |
Errors | RiceIllegalArgumentException | if the ethnicity is null | |
RiceIllegalStateException | if the ethnicity does not exist in the system. |
Method | addResidencyToEntity | ||
---|---|---|---|
Description | This will create a {@link org.kuali.rice.kim.api.identity.residency.EntityResidency} exactly like the residency passed in. The EntityResidency object passed in must be populated with an entityId |
||
Parameters | EntityResidency | residency | the EntityResidency to create |
Return | EntityResidency | the newly created EntityResidency object. | |
Errors | RiceIllegalArgumentException | if the residency is null | |
RiceIllegalStateException | if the residency already exists in the system or residency is not populated with entityId |
Method | updateResidency | ||
---|---|---|---|
Description | This will update a {@link org.kuali.rice.kim.api.identity.residency.EntityResidency} exactly like the residency passed in. | ||
Parameters | EntityResidency | residency | the EntityResidency to update |
Return | EntityResidency | the updated EntityResidency object. | |
Errors | RiceIllegalArgumentException | if the residency is null | |
RiceIllegalStateException | if the residency does not exist in the system. |
Method | addVisaToEntity | ||
---|---|---|---|
Description | This will create a {@link org.kuali.rice.kim.api.identity.visa.EntityVisa} exactly like the visa passed in. The EntityVisa object passed in must be populated with an entityId and a visaTypeKey |
||
Parameters | EntityVisa | visa | the EntityVisa to create |
Return | EntityVisa | the newly created EntityVisa object. | |
Errors | RiceIllegalArgumentException | if the visa is null | |
RiceIllegalStateException | if the visa already exists in the system or visa is not populated with entityId and a visaTypeKey |
Method | updateVisa | ||
---|---|---|---|
Description | This will update a {@link org.kuali.rice.kim.api.identity.visa.EntityVisa} exactly like the visa passed in. | ||
Parameters | EntityVisa | visa | the EntityVisa to update |
Return | EntityVisa | the updated EntityVisa object. | |
Errors | RiceIllegalArgumentException | if the visa is null | |
RiceIllegalStateException | if the visa does not exist in the system. |
Method | getEntityType | ||
---|---|---|---|
Description | Gets the {@link org.kuali.rice.kim.api.identity.CodedAttribute} for a given EntityType code.
|
||
Parameters | String | code | the unique id to retrieve the Type by. Cannot be null. |
Return | CodedAttribute | a {@link org.kuali.rice.kim.api.identity.CodedAttribute} or null | |
Errors | RiceIllegalArgumentException | if the code is blank |
Method | findAllEntityTypes | ||
---|---|---|---|
Description | Finds all EntityTypes | ||
Parameters | None | None | No Parameters |
Return | CodedAttributeList | a list of {@link org.kuali.rice.kim.api.identity.CodedAttribute} | |
Errors | NONE | No Errors |
Method | getAddressType | ||
---|---|---|---|
Description | Gets the {@link org.kuali.rice.kim.api.identity.CodedAttribute} for a given EntityAddressType code.
|
||
Parameters | String | code | the unique id to retrieve the Type by. Cannot be null. |
Return | CodedAttribute | a {@link org.kuali.rice.kim.api.identity.CodedAttribute} or null | |
Errors | RiceIllegalArgumentException | if the code is blank |
Method | findAllAddressTypes | ||
---|---|---|---|
Description | Finds all EntityAddressTypes | ||
Parameters | None | None | No Parameters |
Return | CodedAttributeList | a list of {@link org.kuali.rice.kim.api.identity.CodedAttribute} | |
Errors | NONE | No Errors |
Method | getAffiliationType | ||
---|---|---|---|
Description | Gets the {@link org.kuali.rice.kim.api.identity.affiliation.EntityAffiliationType} for a given EntityAffiliationType code.
|
||
Parameters | String | code | the unique id to retrieve the EntityAffiliationType by. Cannot be null. |
Return | EntityAffiliationType | a {@link org.kuali.rice.kim.api.identity.affiliation.EntityAffiliationType} or null | |
Errors | RiceIllegalArgumentException | if the code is blank |
Method | findAllAffiliationTypes | ||
---|---|---|---|
Description | Finds all EntityAffiliationTypes | ||
Parameters | None | None | No Parameters |
Return | EntityAffiliationTypeList | a list of {@link org.kuali.rice.kim.api.identity.affiliation.EntityAffiliationType} | |
Errors | NONE | No Errors |
Method | getCitizenshipStatus | ||
---|---|---|---|
Description | Gets the {@link org.kuali.rice.kim.api.identity.CodedAttribute} for a given EntityCitizenship status code.
|
||
Parameters | String | code | the unique id to retrieve the Type by. Cannot be null. |
Return | CodedAttribute | a {@link org.kuali.rice.kim.api.identity.CodedAttribute} or null | |
Errors | RiceIllegalArgumentException | if the code is blank |
Method | findAllCitizenshipStatuses | ||
---|---|---|---|
Description | Finds all EntityCitizenshipStatuses | ||
Parameters | None | None | No Parameters |
Return | CodedAttributeList | a list of {@link org.kuali.rice.kim.api.identity.CodedAttribute} | |
Errors | NONE | No Errors |
Method | getEmploymentType | ||
---|---|---|---|
Description | Gets the {@link org.kuali.rice.kim.api.identity.CodedAttribute} for a given EntityEmployment type code.
|
||
Parameters | String | code | the unique id to retrieve the Type by. Cannot be null. |
Return | CodedAttribute | a {@link org.kuali.rice.kim.api.identity.CodedAttribute} or null | |
Errors | RiceIllegalArgumentException | if the code is blank |
Method | findAllEmploymentTypes | ||
---|---|---|---|
Description | Finds all EntityEmploymentTypes | ||
Parameters | None | None | No Parameters |
Return | CodedAttributeList | a list of {@link org.kuali.rice.kim.api.identity.CodedAttribute} | |
Errors | NONE | No Errors |
Method | getEmploymentStatus | ||
---|---|---|---|
Description | Gets the {@link org.kuali.rice.kim.api.identity.CodedAttribute} for a given EntityEmployment status code.
|
||
Parameters | String | code | the unique id to retrieve the Type by. Cannot be null. |
Return | CodedAttribute | a {@link org.kuali.rice.kim.api.identity.CodedAttribute} or null | |
Errors | RiceIllegalArgumentException | if the code is blank |
Method | findAllEmploymentStatuses | ||
---|---|---|---|
Description | Finds all EntityEmploymentStatuses | ||
Parameters | None | None | No Parameters |
Return | CodedAttributeList | a list of {@link org.kuali.rice.kim.api.identity.CodedAttribute} | |
Errors | NONE | No Errors |
Method | getExternalIdentifierType | ||
---|---|---|---|
Description | Gets the {@link org.kuali.rice.kim.api.identity.external.EntityExternalIdentifierType} for a given type code.
|
||
Parameters | String | code | the unique id to retrieve the EntityExternalIdentifierType by. Cannot be null. |
Return | EntityExternalIdentifierType | a {@link org.kuali.rice.kim.api.identity.CodedAttribute} or null | |
Errors | RiceIllegalArgumentException | if the code is blank |
Method | findAllExternalIdendtifierTypes | ||
---|---|---|---|
Description | Finds all ExternalIdentifierTypes | ||
Parameters | None | None | No Parameters |
Return | EntityExternalIdentifierTypeList | a list of {@link org.kuali.rice.kim.api.identity.external.EntityExternalIdentifierType} | |
Errors | NONE | No Errors |
Method | getNameType | ||
---|---|---|---|
Description | Gets the {@link org.kuali.rice.kim.api.identity.CodedAttribute} for a given EntityName type code.
|
||
Parameters | String | code | the unique id to retrieve the Type by. Cannot be null. |
Return | CodedAttribute | a {@link org.kuali.rice.kim.api.identity.CodedAttribute} or null | |
Errors | RiceIllegalArgumentException | if the code is blank |
Method | findAllNameTypes | ||
---|---|---|---|
Description | Finds all EntityNameTypes | ||
Parameters | None | None | No Parameters |
Return | CodedAttributeList | a list of {@link org.kuali.rice.kim.api.identity.CodedAttribute} | |
Errors | NONE | No Errors |
Method | getPhoneType | ||
---|---|---|---|
Description | Gets the {@link org.kuali.rice.kim.api.identity.CodedAttribute} for a given EntityPhone type code.
|
||
Parameters | String | code | the unique id to retrieve the Type by. Cannot be null. |
Return | CodedAttribute | a {@link org.kuali.rice.kim.api.identity.CodedAttribute} or null | |
Errors | RiceIllegalArgumentException | if the code is blank |
Method | findAllPhoneTypes | ||
---|---|---|---|
Description | Finds all EntityPhoneTypes | ||
Parameters | None | None | No Parameters |
Return | CodedAttributeList | a list of {@link org.kuali.rice.kim.api.identity.CodedAttribute} | |
Errors | NONE | No Errors |
Method | getEmailType | ||
---|---|---|---|
Description | Gets the {@link org.kuali.rice.kim.api.identity.CodedAttribute} for a given EntityEmail type code.
|
||
Parameters | String | code | the unique id to retrieve the Type by. Cannot be null. |
Return | CodedAttribute | a {@link org.kuali.rice.kim.api.identity.CodedAttribute} or null | |
Errors | RiceIllegalArgumentException | if the code is blank |
Method | findAllEmailTypes | ||
---|---|---|---|
Description | Finds all EntityEmailTypes | ||
Parameters | None | None | No Parameters |
Return | CodedAttributeList | a list of {@link org.kuali.rice.kim.api.identity.CodedAttribute} | |
Errors | NONE | No Errors |
Method | findPrincipals | ||
---|---|---|---|
Description | This method finds Principals based on a query criteria. The criteria cannot be null. | ||
Parameters | QueryByCriteria | query | the criteria. Cannot be null. |
Return | PrincipalQueryResults | query results. will never return null. | |
Errors | RiceIllegalArgumentException | ??? |