public interface IdentityService
Modifier and Type | Method and Description |
---|---|
org.kuali.rice.kim.api.identity.address.EntityAddress |
addAddressToEntity(org.kuali.rice.kim.api.identity.address.EntityAddress address)
This will create a
EntityAddress exactly like the address passed in. |
org.kuali.rice.kim.api.identity.affiliation.EntityAffiliation |
addAffiliationToEntity(org.kuali.rice.kim.api.identity.affiliation.EntityAffiliation affiliation)
This will create a
EntityAffiliation exactly like the affiliation passed in. |
org.kuali.rice.kim.api.identity.personal.EntityBioDemographics |
addBioDemographicsToEntity(org.kuali.rice.kim.api.identity.personal.EntityBioDemographics bioDemographics)
This will create a
EntityBioDemographics exactly like the bioDemographics passed in. |
org.kuali.rice.kim.api.identity.citizenship.EntityCitizenship |
addCitizenshipToEntity(org.kuali.rice.kim.api.identity.citizenship.EntityCitizenship citizenship)
This will create a
EntityCitizenship exactly like the citizenship passed in. |
org.kuali.rice.kim.api.identity.email.EntityEmail |
addEmailToEntity(org.kuali.rice.kim.api.identity.email.EntityEmail email)
This will create a
EntityEmail exactly like the email passed in. |
org.kuali.rice.kim.api.identity.employment.EntityEmployment |
addEmploymentToEntity(org.kuali.rice.kim.api.identity.employment.EntityEmployment employment)
This will create a
EntityEmployment exactly like the employment passed in. |
org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo |
addEntityTypeContactInfoToEntity(org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo entityTypeContactInfo)
This will create a
EntityTypeContactInfo exactly like the entityTypeContactInfo passed in. |
org.kuali.rice.kim.api.identity.personal.EntityEthnicity |
addEthnicityToEntity(org.kuali.rice.kim.api.identity.personal.EntityEthnicity ethnicity)
This will create a
EntityEthnicity exactly like the ethnicity passed in. |
org.kuali.rice.kim.api.identity.external.EntityExternalIdentifier |
addExternalIdentifierToEntity(org.kuali.rice.kim.api.identity.external.EntityExternalIdentifier externalId)
This will create a
EntityExternalIdentifier exactly like the externalId passed in. |
org.kuali.rice.kim.api.identity.name.EntityName |
addNameToEntity(org.kuali.rice.kim.api.identity.name.EntityName name)
This will create a
EntityName exactly like the name passed in. |
org.kuali.rice.kim.api.identity.phone.EntityPhone |
addPhoneToEntity(org.kuali.rice.kim.api.identity.phone.EntityPhone phone)
This will create a
EntityPhone exactly like the phone passed in. |
org.kuali.rice.kim.api.identity.principal.Principal |
addPrincipalToEntity(org.kuali.rice.kim.api.identity.principal.Principal principal)
This will create a
Principal exactly like the principal passed in. |
org.kuali.rice.kim.api.identity.privacy.EntityPrivacyPreferences |
addPrivacyPreferencesToEntity(org.kuali.rice.kim.api.identity.privacy.EntityPrivacyPreferences privacyPreferences)
This will create a
EntityPrivacyPreferences exactly like the privacyPreferences passed in. |
org.kuali.rice.kim.api.identity.residency.EntityResidency |
addResidencyToEntity(org.kuali.rice.kim.api.identity.residency.EntityResidency residency)
This will create a
EntityResidency exactly like the residency passed in. |
org.kuali.rice.kim.api.identity.visa.EntityVisa |
addVisaToEntity(org.kuali.rice.kim.api.identity.visa.EntityVisa visa)
This will create a
EntityVisa exactly like the visa passed in. |
org.kuali.rice.kim.api.identity.entity.Entity |
createEntity(org.kuali.rice.kim.api.identity.entity.Entity entity)
This will create a
Entity exactly like the entity passed in. |
List<org.kuali.rice.kim.api.identity.CodedAttribute> |
findAllAddressTypes()
Finds all EntityAddressTypes
|
List<org.kuali.rice.kim.api.identity.affiliation.EntityAffiliationType> |
findAllAffiliationTypes()
Finds all EntityAffiliationTypes
|
List<org.kuali.rice.kim.api.identity.CodedAttribute> |
findAllCitizenshipStatuses()
Finds all EntityCitizenshipStatuses
|
List<org.kuali.rice.kim.api.identity.CodedAttribute> |
findAllEmailTypes()
Finds all EntityEmailTypes
|
List<org.kuali.rice.kim.api.identity.CodedAttribute> |
findAllEmploymentStatuses()
Finds all EntityEmploymentStatuses
|
List<org.kuali.rice.kim.api.identity.CodedAttribute> |
findAllEmploymentTypes()
Finds all EntityEmploymentTypes
|
List<org.kuali.rice.kim.api.identity.CodedAttribute> |
findAllEntityTypes()
Finds all EntityTypes
|
List<org.kuali.rice.kim.api.identity.external.EntityExternalIdentifierType> |
findAllExternalIdendtifierTypes()
Finds all ExternalIdentifierTypes
|
List<org.kuali.rice.kim.api.identity.CodedAttribute> |
findAllNameTypes()
Finds all EntityNameTypes
|
List<org.kuali.rice.kim.api.identity.CodedAttribute> |
findAllPhoneTypes()
Finds all EntityPhoneTypes
|
org.kuali.rice.kim.api.identity.entity.EntityQueryResults |
findEntities(org.kuali.rice.core.api.criteria.QueryByCriteria query)
This method finds Entities based on a query criteria.
|
org.kuali.rice.kim.api.identity.entity.EntityDefaultQueryResults |
findEntityDefaults(org.kuali.rice.core.api.criteria.QueryByCriteria query)
This method finds EntityDefault data based on a query criteria.
|
org.kuali.rice.kim.api.identity.principal.PrincipalQueryResults |
findPrincipals(org.kuali.rice.core.api.criteria.QueryByCriteria query)
This method finds Principals based on a query criteria.
|
org.kuali.rice.kim.api.identity.CodedAttribute |
getAddressType(String code)
Gets the
CodedAttribute for a given EntityAddressType code. |
org.kuali.rice.kim.api.identity.affiliation.EntityAffiliationType |
getAffiliationType(String code)
Gets the
EntityAffiliationType for a given EntityAffiliationType code. |
org.kuali.rice.kim.api.identity.CodedAttribute |
getCitizenshipStatus(String code)
Gets the
CodedAttribute for a given EntityCitizenship status code. |
org.kuali.rice.kim.api.identity.principal.EntityNamePrincipalName |
getDefaultNamesForPrincipalId(String principalId)
This returns the display name information for the given principal
without loading the full person object.
|
org.kuali.rice.kim.api.identity.CodedAttribute |
getEmailType(String code)
Gets the
CodedAttribute for a given EntityEmail type code. |
org.kuali.rice.kim.api.identity.CodedAttribute |
getEmploymentStatus(String code)
Gets the
CodedAttribute for a given EntityEmployment status code. |
org.kuali.rice.kim.api.identity.CodedAttribute |
getEmploymentType(String code)
Gets the
CodedAttribute for a given EntityEmployment type code. |
org.kuali.rice.kim.api.identity.entity.Entity |
getEntity(String id)
Gets a
Entity from an id. |
org.kuali.rice.kim.api.identity.entity.Entity |
getEntityByEmployeeId(String employeeId)
Gets a
Entity from a employeeId. |
org.kuali.rice.kim.api.identity.entity.Entity |
getEntityByPrincipalId(String principalId)
Gets a
Entity from a principalId. |
org.kuali.rice.kim.api.identity.entity.Entity |
getEntityByPrincipalName(String principalName)
Gets a
Entity from a principalName. |
org.kuali.rice.kim.api.identity.entity.EntityDefault |
getEntityDefault(String id)
Gets a
EntityDefault from an id. |
org.kuali.rice.kim.api.identity.entity.EntityDefault |
getEntityDefaultByEmployeeId(String employeeId)
Gets a
EntityDefault from an employeeId. |
org.kuali.rice.kim.api.identity.entity.EntityDefault |
getEntityDefaultByPrincipalId(String principalId)
Gets a
EntityDefault from an principalId. |
org.kuali.rice.kim.api.identity.entity.EntityDefault |
getEntityDefaultByPrincipalName(String principalName)
Gets a
EntityDefault from an principalName. |
org.kuali.rice.kim.api.identity.privacy.EntityPrivacyPreferences |
getEntityPrivacyPreferences(String id)
Gets a
EntityPrivacyPreferences for a given id. |
org.kuali.rice.kim.api.identity.CodedAttribute |
getEntityType(String code)
Gets the
CodedAttribute for a given EntityType code. |
org.kuali.rice.kim.api.identity.external.EntityExternalIdentifierType |
getExternalIdentifierType(String code)
Gets the
EntityExternalIdentifierType for a given type code. |
org.kuali.rice.kim.api.identity.CodedAttribute |
getNameType(String code)
Gets the
CodedAttribute for a given EntityName type code. |
org.kuali.rice.kim.api.identity.CodedAttribute |
getPhoneType(String code)
Gets the
CodedAttribute for a given EntityPhone type code. |
org.kuali.rice.kim.api.identity.principal.Principal |
getPrincipal(String principalId)
Gets a
Principal from an principalId. |
org.kuali.rice.kim.api.identity.principal.Principal |
getPrincipalByPrincipalName(String principalName)
Gets a
Principal from an principalName. |
org.kuali.rice.kim.api.identity.principal.Principal |
getPrincipalByPrincipalNameAndPassword(String principalName,
String password)
Gets a
Principal from an principalName and password. |
List<org.kuali.rice.kim.api.identity.principal.Principal> |
getPrincipals(List<String> principalIds)
Gets a list of
Principal from a string list of principalId. |
List<org.kuali.rice.kim.api.identity.principal.Principal> |
getPrincipalsByEmployeeId(String employeeId)
Gets a list of
Principal from an employeeId |
List<org.kuali.rice.kim.api.identity.principal.Principal> |
getPrincipalsByEntityId(String entityId)
Gets a list of
Principal from an entityId. |
org.kuali.rice.kim.api.identity.address.EntityAddress |
inactivateAddress(String id)
This will inactivate a
EntityAddress with the id passed in. |
org.kuali.rice.kim.api.identity.affiliation.EntityAffiliation |
inactivateAffiliation(String id)
This will inactivate a
EntityAffiliation with the id passed in. |
org.kuali.rice.kim.api.identity.citizenship.EntityCitizenship |
inactivateCitizenship(String id)
This will inactivate a
EntityCitizenship with the unique id passed in. |
org.kuali.rice.kim.api.identity.email.EntityEmail |
inactivateEmail(String id)
This will inactivate the
EntityEmail with the passed in id. |
org.kuali.rice.kim.api.identity.employment.EntityEmployment |
inactivateEmployment(String id)
This will inactivate a
EntityEmployment with the passed in id. |
org.kuali.rice.kim.api.identity.entity.Entity |
inactivateEntity(String id)
This will inactivate a
Entity . |
org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo |
inactivateEntityTypeContactInfo(String entityId,
String entityTypeCode)
This will inactivate a
EntityTypeContactInfo with the passed in parameters. |
org.kuali.rice.kim.api.identity.name.EntityName |
inactivateName(String id)
This will inactivate a
EntityName with the passed in id. |
org.kuali.rice.kim.api.identity.phone.EntityPhone |
inactivatePhone(String id)
This will inactivate the
EntityPhone with the passed in id. |
org.kuali.rice.kim.api.identity.principal.Principal |
inactivatePrincipal(String principalId)
This will inactivate a
Principal . |
org.kuali.rice.kim.api.identity.principal.Principal |
inactivatePrincipalByName(String principalName)
This will inactivate a
Principal . |
org.kuali.rice.kim.api.identity.address.EntityAddress |
updateAddress(org.kuali.rice.kim.api.identity.address.EntityAddress address)
This will update a
EntityAddress exactly like the address passed in. |
org.kuali.rice.kim.api.identity.affiliation.EntityAffiliation |
updateAffiliation(org.kuali.rice.kim.api.identity.affiliation.EntityAffiliation affiliation)
This will update a
EntityAffiliation exactly like the affiliation passed in. |
org.kuali.rice.kim.api.identity.personal.EntityBioDemographics |
updateBioDemographics(org.kuali.rice.kim.api.identity.personal.EntityBioDemographics bioDemographics)
This will update a
EntityBioDemographics exactly like the bioDemographics passed in. |
org.kuali.rice.kim.api.identity.citizenship.EntityCitizenship |
updateCitizenship(org.kuali.rice.kim.api.identity.citizenship.EntityCitizenship citizenship)
This will update a
EntityCitizenship exactly like the citizenship passed in. |
org.kuali.rice.kim.api.identity.email.EntityEmail |
updateEmail(org.kuali.rice.kim.api.identity.email.EntityEmail email)
This will update a
EntityEmail exactly like the email passed in. |
org.kuali.rice.kim.api.identity.employment.EntityEmployment |
updateEmployment(org.kuali.rice.kim.api.identity.employment.EntityEmployment employment)
This will update a
EntityEmployment exactly like the employment passed in. |
org.kuali.rice.kim.api.identity.entity.Entity |
updateEntity(org.kuali.rice.kim.api.identity.entity.Entity entity)
This will update a
Entity . |
org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo |
updateEntityTypeContactInfo(org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo entityTypeContactInfo)
This will update a
EntityTypeContactInfo exactly like the entityTypeContactInfo passed in. |
org.kuali.rice.kim.api.identity.personal.EntityEthnicity |
updateEthnicity(org.kuali.rice.kim.api.identity.personal.EntityEthnicity ethnicity)
This will update a
EntityEthnicity exactly like the ethnicity passed in. |
org.kuali.rice.kim.api.identity.external.EntityExternalIdentifier |
updateExternalIdentifier(org.kuali.rice.kim.api.identity.external.EntityExternalIdentifier externalId)
This will update a
EntityExternalIdentifier exactly like the externalId passed in. |
org.kuali.rice.kim.api.identity.name.EntityName |
updateName(org.kuali.rice.kim.api.identity.name.EntityName name)
This will update a
EntityName exactly like the name passed in. |
org.kuali.rice.kim.api.identity.phone.EntityPhone |
updatePhone(org.kuali.rice.kim.api.identity.phone.EntityPhone phone)
This will update a
EntityPhone exactly like the phone passed in. |
org.kuali.rice.kim.api.identity.principal.Principal |
updatePrincipal(org.kuali.rice.kim.api.identity.principal.Principal principal)
This will update a
Principal exactly like the principal passed in. |
org.kuali.rice.kim.api.identity.privacy.EntityPrivacyPreferences |
updatePrivacyPreferences(org.kuali.rice.kim.api.identity.privacy.EntityPrivacyPreferences privacyPreferences)
This will update a
EntityPrivacyPreferences exactly like the privacyPreferences passed in. |
org.kuali.rice.kim.api.identity.residency.EntityResidency |
updateResidency(org.kuali.rice.kim.api.identity.residency.EntityResidency residency)
This will update a
EntityResidency exactly like the residency passed in. |
org.kuali.rice.kim.api.identity.visa.EntityVisa |
updateVisa(org.kuali.rice.kim.api.identity.visa.EntityVisa visa)
This will update a
EntityVisa exactly like the visa passed in. |
org.kuali.rice.kim.api.identity.entity.EntityDefaultQueryResults findEntityDefaults(org.kuali.rice.core.api.criteria.QueryByCriteria query) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
query
- the criteria. Cannot be null.org.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the queryByCriteria is nullorg.kuali.rice.kim.api.identity.entity.EntityQueryResults findEntities(org.kuali.rice.core.api.criteria.QueryByCriteria query) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
query
- the criteria. Cannot be null.org.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the queryByCriteria is nullorg.kuali.rice.kim.api.identity.entity.Entity getEntity(String id) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
Entity
from an id.
This method will return null if the Entity does not exist.
id
- the unique id to retrieve the entity by. cannot be null.Entity
or nullorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the id is blank@Cacheable(value="http://rice.kuali.org/kim/v2_0/EntityType", key="\'principalId=\' + #p0") org.kuali.rice.kim.api.identity.entity.Entity getEntityByPrincipalId(String principalId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
Entity
from a principalId.
This method will return null if the Entity does not exist.
principalId
- the unique id to retrieve the entity by. cannot be null.Entity
or nullorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the principalId is blank@Cacheable(value="http://rice.kuali.org/kim/v2_0/EntityType", key="\'principalName=\' + #p0") org.kuali.rice.kim.api.identity.entity.Entity getEntityByPrincipalName(String principalName) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
Entity
from a principalName.
This method will return null if the Entity does not exist.
principalName
- the unique id to retrieve the entity by. cannot be null.Entity
or nullorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the id is blank@Cacheable(value="http://rice.kuali.org/kim/v2_0/EntityType", key="\'employeeId=\' + #p0") org.kuali.rice.kim.api.identity.entity.Entity getEntityByEmployeeId(String employeeId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
Entity
from a employeeId.
This method will return null if the Entity does not exist.
employeeId
- the unique id to retrieve the entity by. cannot be null.Entity
or nullorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the employeeId is blank@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType"}, allEntries=true) org.kuali.rice.kim.api.identity.entity.Entity createEntity(org.kuali.rice.kim.api.identity.entity.Entity entity) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
Entity
exactly like the entity passed in.entity
- the entity to createorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the entity is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the entity already exists in the system@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType","http://rice.kuali.org/kim/v2_0/EntityNamePrincipalNameType"}, allEntries=true) org.kuali.rice.kim.api.identity.entity.Entity updateEntity(org.kuali.rice.kim.api.identity.entity.Entity entity) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
Entity
.entity
- the entity to updateorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the entity is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the entity does not already exist in the system@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType"}, allEntries=true) org.kuali.rice.kim.api.identity.entity.Entity inactivateEntity(String id) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
Entity
.id
- the unique id of the entity to inactivateorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the entity is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the entity does not already exist in the system@Cacheable(value="http://rice.kuali.org/kim/v2_0/EntityDefaultType", key="\'id=\' + #p0") org.kuali.rice.kim.api.identity.entity.EntityDefault getEntityDefault(String id) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
EntityDefault
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.
id
- the unique id to retrieve the entity by. cannot be null.EntityDefault
or nullorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the id is blank@Cacheable(value="http://rice.kuali.org/kim/v2_0/EntityDefaultType", key="\'principalId=\' + #p0") org.kuali.rice.kim.api.identity.entity.EntityDefault getEntityDefaultByPrincipalId(String principalId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
EntityDefault
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.
principalId
- the unique id to retrieve the entity by. cannot be null.EntityDefault
or nullorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the principalId is blank@Cacheable(value="http://rice.kuali.org/kim/v2_0/EntityDefaultType", key="\'principalName=\' + #p0") org.kuali.rice.kim.api.identity.entity.EntityDefault getEntityDefaultByPrincipalName(String principalName) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
EntityDefault
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.
principalName
- the unique id to retrieve the entity by. cannot be null.EntityDefault
or nullorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the principalId is blank@Cacheable(value="http://rice.kuali.org/kim/v2_0/EntityDefaultType", key="\'employeeId=\' + #p0") org.kuali.rice.kim.api.identity.entity.EntityDefault getEntityDefaultByEmployeeId(String employeeId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
EntityDefault
from an employeeId.
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.
employeeId
- the unique id to retrieve the entity by. cannot be null.EntityDefault
or nullorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the employeeId is blank@Cacheable(value="http://rice.kuali.org/kim/v2_0/PrincipalType", key="\'principalId=\' + #p0") org.kuali.rice.kim.api.identity.principal.Principal getPrincipal(String principalId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
Principal
from an principalId.
This method will return null if the Principal does not exist.
principalId
- the unique id to retrieve the principal by. cannot be null.Principal
or nullorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the principalId is blankList<org.kuali.rice.kim.api.identity.principal.Principal> getPrincipals(List<String> principalIds)
Principal
from a string list of principalId.
This method will only return principals that exist.
principalIds
- the unique id to retrieve the principal by. cannot be null.Principal
org.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the principalId is blankList<org.kuali.rice.kim.api.identity.principal.Principal> getPrincipalsByEntityId(String entityId)
Principal
from an entityId.
This method will only return principals that exist.
entityId
- the unique id to retrieve the principals by. cannot be null.Principal
org.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the entityId is blankList<org.kuali.rice.kim.api.identity.principal.Principal> getPrincipalsByEmployeeId(String employeeId)
Principal
from an employeeId
This method will only return principals that exist.
employeeId
- the employee id to retrieve the principals by. cannot be null.Principal
org.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the employeeId is blank@Cacheable(value="http://rice.kuali.org/kim/v2_0/PrincipalType", key="\'principalName=\' + #p0") org.kuali.rice.kim.api.identity.principal.Principal getPrincipalByPrincipalName(String principalName) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
Principal
from an principalName.
This method will return null if the Principal does not exist.
principalName
- the unique id to retrieve the principal by. cannot be null.Principal
or nullorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
@Cacheable(value="http://rice.kuali.org/kim/v2_0/PrincipalType", key="\'principalName=\' + #p0 + \'|\' + \'password=\' + #p1") org.kuali.rice.kim.api.identity.principal.Principal getPrincipalByPrincipalNameAndPassword(String principalName, String password) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
Principal
from an principalName and password.
This method will return null if the Principal does not exist or the password is incorrect.
principalName
- the unique id to retrieve the principal by. cannot be null.password
- the password for the principalPrincipal
or nullorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the principalName is blank@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/PrincipalType","http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType"}, allEntries=true) org.kuali.rice.kim.api.identity.principal.Principal addPrincipalToEntity(org.kuali.rice.kim.api.identity.principal.Principal principal) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
Principal
exactly like the principal passed in.
The principal object passed in must be populated with an entityId and a principalNameprincipal
- the principal to createorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the principal is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the principal already exists in the system or the principal object is not populated with entityId and principalName@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/PrincipalType","http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType","http://rice.kuali.org/kim/v2_0/EntityNamePrincipalNameType"}, allEntries=true) org.kuali.rice.kim.api.identity.principal.Principal updatePrincipal(org.kuali.rice.kim.api.identity.principal.Principal principal) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
Principal
exactly like the principal passed in.principal
- the principal to updateorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the principal is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the principal does not exist in the system.@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/PrincipalType","http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType"}, allEntries=true) org.kuali.rice.kim.api.identity.principal.Principal inactivatePrincipal(String principalId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
Principal
.principalId
- the unique id of the principal to inactivateorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the principal is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the principal does not exist in the system.@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/PrincipalType","http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType"}, allEntries=true) org.kuali.rice.kim.api.identity.principal.Principal inactivatePrincipalByName(String principalName) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
Principal
.principalName
- the unique principalName of the principal to inactivateorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the principal is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the principal does not exist in the system.@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType"}, allEntries=true) org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo addEntityTypeContactInfoToEntity(org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo entityTypeContactInfo) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
EntityTypeContactInfo
exactly like the entityTypeContactInfo passed in.
The EntityTypeContactInfo object passed in must be populated with an entityId and a entityTypeCodeentityTypeContactInfo
- the EntityTypeContactInfo to createorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the entityTypeContactInfo is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the entityTypeContactInfo already exists in the system or the EntityTypeContactInfo object is not populated with entityId and entityTypeCode@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType"}, allEntries=true) org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo updateEntityTypeContactInfo(org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo entityTypeContactInfo) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
EntityTypeContactInfo
exactly like the entityTypeContactInfo passed in.entityTypeContactInfo
- the EntityTypeContactInfo to updateorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the entityTypeContactInfo is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the entityTypeContactInfo does not exist in the system.@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType"}, allEntries=true) org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo inactivateEntityTypeContactInfo(String entityId, String entityTypeCode) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
EntityTypeContactInfo
with the passed in parameters.entityId
- the entityId of the EntityTypeContactInfo to inactivateentityTypeCode
- the entityTypeCode of the EntityTypeContactInfo to inactivateorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the entityId or entityTypeCode passed in is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the EntityTypeContactInfo does not exist in the system.@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType"}, allEntries=true) org.kuali.rice.kim.api.identity.address.EntityAddress addAddressToEntity(org.kuali.rice.kim.api.identity.address.EntityAddress address) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
EntityAddress
exactly like the address passed in.
The EntityAddress object passed in must be populated with an entityId and a entityTypeCodeaddress
- the EntityAddress to createorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the address is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the address already exists in the system or address is not populated with entityId and entityTypeCode@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType"}, allEntries=true) org.kuali.rice.kim.api.identity.address.EntityAddress updateAddress(org.kuali.rice.kim.api.identity.address.EntityAddress address) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
EntityAddress
exactly like the address passed in.address
- the EntityAddress to updateIllegalArgumentException
- if the address is nullorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the address does not exist in the system.org.kuali.rice.core.api.exception.RiceIllegalStateException
@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType"}, allEntries=true) org.kuali.rice.kim.api.identity.address.EntityAddress inactivateAddress(String id) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
EntityAddress
with the id passed in.id
- the unique id of the EntityAddress to inactivateorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the id is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the address does not exist in the system.@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType"}, allEntries=true) org.kuali.rice.kim.api.identity.email.EntityEmail addEmailToEntity(org.kuali.rice.kim.api.identity.email.EntityEmail email) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
EntityEmail
exactly like the email passed in.
The EntityEmail object passed in must be populated with an entityId and a entityTypeCodeemail
- the EntityEmail to createorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the email is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the email already exists in the system or email is not populated with entityId and entityTypeCode@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType"}, allEntries=true) org.kuali.rice.kim.api.identity.email.EntityEmail updateEmail(org.kuali.rice.kim.api.identity.email.EntityEmail email) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
EntityEmail
exactly like the email passed in.email
- the EntityEmail to updateorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the email is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the email does not exist in the system.@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType"}, allEntries=true) org.kuali.rice.kim.api.identity.email.EntityEmail inactivateEmail(String id) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
EntityEmail
with the passed in id.id
- the unique id of the EntityEmail to inactivateorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the id is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the email does not exist in the system.@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType"}, allEntries=true) org.kuali.rice.kim.api.identity.phone.EntityPhone addPhoneToEntity(org.kuali.rice.kim.api.identity.phone.EntityPhone phone) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
EntityPhone
exactly like the phone passed in.
The EntityPhone object passed in must be populated with an entityId and a entityTypeCodephone
- the EntityPhone to createorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the phone is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the phone already exists in the system or phone is not populated with entityId and entityTypeCode@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType"}, allEntries=true) org.kuali.rice.kim.api.identity.phone.EntityPhone updatePhone(org.kuali.rice.kim.api.identity.phone.EntityPhone phone) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
EntityPhone
exactly like the phone passed in.phone
- the EntityPhone to updateorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the phone is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the phone does not exist in the system.@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType"}, allEntries=true) org.kuali.rice.kim.api.identity.phone.EntityPhone inactivatePhone(String id) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
EntityPhone
with the passed in id.id
- the unique id of the EntityPhone to inactivateorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the id is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the phone does not exist in the system.@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType"}, allEntries=true) org.kuali.rice.kim.api.identity.external.EntityExternalIdentifier addExternalIdentifierToEntity(org.kuali.rice.kim.api.identity.external.EntityExternalIdentifier externalId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
EntityExternalIdentifier
exactly like the externalId passed in.
The EntityExternalIdentifier object passed in must be populated with an entityId and a externalIdentifierTypeCodeexternalId
- the EntityExternalIdentifier to createorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the externalId is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the externalId already exists in the system or externalId is not populated with entityId and externalIdentifierTypeCode@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType"}, allEntries=true) org.kuali.rice.kim.api.identity.external.EntityExternalIdentifier updateExternalIdentifier(org.kuali.rice.kim.api.identity.external.EntityExternalIdentifier externalId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
EntityExternalIdentifier
exactly like the externalId passed in.externalId
- the EntityExternalIdentifier to updateorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the externalId is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the externalId does not exist in the system.@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType"}, allEntries=true) org.kuali.rice.kim.api.identity.affiliation.EntityAffiliation addAffiliationToEntity(org.kuali.rice.kim.api.identity.affiliation.EntityAffiliation affiliation) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
EntityAffiliation
exactly like the affiliation passed in.
The EntityAffiliation object passed in must be populated with an entityId and a affiliationTypeaffiliation
- the EntityAffiliation to createorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the affiliation is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the affiliation already exists in the system or affiliation is not populated with entityId and affiliationType@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType"}, allEntries=true) org.kuali.rice.kim.api.identity.affiliation.EntityAffiliation updateAffiliation(org.kuali.rice.kim.api.identity.affiliation.EntityAffiliation affiliation) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
EntityAffiliation
exactly like the affiliation passed in.affiliation
- the EntityAffiliation to updateorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the affiliation is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the affiliation does not exist in the system.@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType"}, allEntries=true) org.kuali.rice.kim.api.identity.affiliation.EntityAffiliation inactivateAffiliation(String id) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
EntityAffiliation
with the id passed in.id
- the unique id of the EntityAffiliation to inactivateorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the affiliation is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the affiliation does not exist in the system.@Cacheable(value="http://rice.kuali.org/kim/v2_0/EntityNamePrincipalNameType", key="\'principalId=\' + #p0") org.kuali.rice.kim.api.identity.principal.EntityNamePrincipalName getDefaultNamesForPrincipalId(String principalId)
principalId
- The principal ID to find the name information for@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType","http://rice.kuali.org/kim/v2_0/EntityNamePrincipalNameType"}, allEntries=true) org.kuali.rice.kim.api.identity.name.EntityName addNameToEntity(org.kuali.rice.kim.api.identity.name.EntityName name) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
EntityName
exactly like the name passed in.
The EntityName object passed in must be populated with an entityId and a nameTypename
- the EntityName to createorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the name is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the name already exists in the system or name is not populated with entityId and nameType@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType","http://rice.kuali.org/kim/v2_0/EntityNamePrincipalNameType"}, allEntries=true) org.kuali.rice.kim.api.identity.name.EntityName updateName(org.kuali.rice.kim.api.identity.name.EntityName name) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
EntityName
exactly like the name passed in.name
- the EntityName to updateorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the name is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the name does not exist in the system.@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType"}, allEntries=true) org.kuali.rice.kim.api.identity.name.EntityName inactivateName(String id) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
EntityName
with the passed in id.id
- the unique id of the EntityName to inactivateorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the id is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the name with the id does not exist in the system.@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType"}, allEntries=true) org.kuali.rice.kim.api.identity.employment.EntityEmployment addEmploymentToEntity(org.kuali.rice.kim.api.identity.employment.EntityEmployment employment) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
EntityEmployment
exactly like the employment passed in.
The EntityEmployment object passed in must be populated with an entityId and a employmentTypeemployment
- the EntityEmployment to createorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the employment is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the employment already exists in the system or employment is not populated with entityId and employmentType@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType"}, allEntries=true) org.kuali.rice.kim.api.identity.employment.EntityEmployment updateEmployment(org.kuali.rice.kim.api.identity.employment.EntityEmployment employment) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
EntityEmployment
exactly like the employment passed in.employment
- the EntityEmployment to updateorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the employment is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the employment does not exist in the system.@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType"}, allEntries=true) org.kuali.rice.kim.api.identity.employment.EntityEmployment inactivateEmployment(String id) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
EntityEmployment
with the passed in id.id
- the unique id of the EntityEmployment to inactivateorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the id is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the employment with the id does not exist in the system.@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType"}, allEntries=true) org.kuali.rice.kim.api.identity.personal.EntityBioDemographics addBioDemographicsToEntity(org.kuali.rice.kim.api.identity.personal.EntityBioDemographics bioDemographics) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
EntityBioDemographics
exactly like the bioDemographics passed in.
The EntityBioDemographics object passed in must be populated with an entityIdbioDemographics
- the EntityBioDemographics to createorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the bioDemographics is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the bioDemographics already exists in the system or bioDemographics is not populated with entityId@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType"}, allEntries=true) org.kuali.rice.kim.api.identity.personal.EntityBioDemographics updateBioDemographics(org.kuali.rice.kim.api.identity.personal.EntityBioDemographics bioDemographics) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
EntityBioDemographics
exactly like the bioDemographics passed in.bioDemographics
- the EntityBioDemographics to updateorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the bioDemographics is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the bioDemographics does not exist in the system.@Cacheable(value="http://rice.kuali.org/kim/v2_0/EntityPrivacyPreferencesType", key="\'id=\' + #p0") org.kuali.rice.kim.api.identity.privacy.EntityPrivacyPreferences getEntityPrivacyPreferences(String id) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
EntityPrivacyPreferences
for a given id.
This method will return null if the EntityPrivacyPreferences does not exist.
id
- the unique id to retrieve the EntityPrivacyPreferences by. Cannot be null.EntityPrivacyPreferences
or nullorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the entityId is blank@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType","http://rice.kuali.org/kim/v2_0/EntityPrivacyPreferencesType"}, allEntries=true) org.kuali.rice.kim.api.identity.privacy.EntityPrivacyPreferences addPrivacyPreferencesToEntity(org.kuali.rice.kim.api.identity.privacy.EntityPrivacyPreferences privacyPreferences) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
EntityPrivacyPreferences
exactly like the privacyPreferences passed in.
The EntityPrivacyPreferences object passed in must be populated with an entityIdprivacyPreferences
- the EntityPrivacyPreferences to createorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the privacyPreferences is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the privacyPreferences already exists in the system or privacyPreferences is not populated with entityId@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType","http://rice.kuali.org/kim/v2_0/EntityPrivacyPreferencesType"}, allEntries=true) org.kuali.rice.kim.api.identity.privacy.EntityPrivacyPreferences updatePrivacyPreferences(org.kuali.rice.kim.api.identity.privacy.EntityPrivacyPreferences privacyPreferences) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
EntityPrivacyPreferences
exactly like the privacyPreferences passed in.privacyPreferences
- the EntityPrivacyPreferences to updateorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the privacyPreferences is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the privacyPreferences does not exist in the system.@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType"}, allEntries=true) org.kuali.rice.kim.api.identity.citizenship.EntityCitizenship addCitizenshipToEntity(org.kuali.rice.kim.api.identity.citizenship.EntityCitizenship citizenship) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
EntityCitizenship
exactly like the citizenship passed in.
The EntityCitizenship object passed in must be populated with an entityId and a statuscitizenship
- the EntityCitizenship to createorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the citizenship is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the citizenship already exists in the system or citizenship is not populated with entityId and status@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType"}, allEntries=true) org.kuali.rice.kim.api.identity.citizenship.EntityCitizenship updateCitizenship(org.kuali.rice.kim.api.identity.citizenship.EntityCitizenship citizenship) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
EntityCitizenship
exactly like the citizenship passed in.citizenship
- the EntityCitizenship to updateorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the citizenship is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the citizenship does not exist in the system.@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType"}, allEntries=true) org.kuali.rice.kim.api.identity.citizenship.EntityCitizenship inactivateCitizenship(String id) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
EntityCitizenship
with the unique id passed in.id
- the id of the EntityCitizenship to inactivateorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the citizenship is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the citizenship does not exist in the system.@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType"}, allEntries=true) org.kuali.rice.kim.api.identity.personal.EntityEthnicity addEthnicityToEntity(org.kuali.rice.kim.api.identity.personal.EntityEthnicity ethnicity) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
EntityEthnicity
exactly like the ethnicity passed in.
The EntityEthnicity object passed in must be populated with an entityId and a ethnicity codeethnicity
- the EntityEthnicity to createorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the ethnicity is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the ethnicity already exists in the system or ethnicity is not populated with entityId and ethnicity code@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType"}, allEntries=true) org.kuali.rice.kim.api.identity.personal.EntityEthnicity updateEthnicity(org.kuali.rice.kim.api.identity.personal.EntityEthnicity ethnicity) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
EntityEthnicity
exactly like the ethnicity passed in.ethnicity
- the EntityEthnicity to updateorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the ethnicity is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the ethnicity does not exist in the system.@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType"}, allEntries=true) org.kuali.rice.kim.api.identity.residency.EntityResidency addResidencyToEntity(org.kuali.rice.kim.api.identity.residency.EntityResidency residency) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
EntityResidency
exactly like the residency passed in.
The EntityResidency object passed in must be populated with an entityIdresidency
- the EntityResidency to createorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the residency is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the residency already exists in the system or residency is not populated with entityId@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType"}, allEntries=true) org.kuali.rice.kim.api.identity.residency.EntityResidency updateResidency(org.kuali.rice.kim.api.identity.residency.EntityResidency residency) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
EntityResidency
exactly like the residency passed in.residency
- the EntityResidency to updateorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the residency is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the residency does not exist in the system.@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType"}, allEntries=true) org.kuali.rice.kim.api.identity.visa.EntityVisa addVisaToEntity(org.kuali.rice.kim.api.identity.visa.EntityVisa visa) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
EntityVisa
exactly like the visa passed in.
The EntityVisa object passed in must be populated with an entityId and a visaTypeKeyvisa
- the EntityVisa to createorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the visa is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the visa already exists in the system or visa is not populated with entityId and a visaTypeKey@CacheEvict(value={"http://rice.kuali.org/kim/v2_0/EntityType","http://rice.kuali.org/kim/v2_0/EntityDefaultType"}, allEntries=true) org.kuali.rice.kim.api.identity.visa.EntityVisa updateVisa(org.kuali.rice.kim.api.identity.visa.EntityVisa visa) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
EntityVisa
exactly like the visa passed in.visa
- the EntityVisa to updateorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the visa is nullorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the visa does not exist in the system.@Cacheable(value="http://rice.kuali.org/kim/v2_0/CodedAttributeType{EntityType}", key="\'code=\' + #p0") org.kuali.rice.kim.api.identity.CodedAttribute getEntityType(String code) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
CodedAttribute
for a given EntityType code.
This method will return null if the code does not exist.
code
- the unique id to retrieve the Type by. Cannot be null.CodedAttribute
or nullorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the code is blank@Cacheable(value="http://rice.kuali.org/kim/v2_0/CodedAttributeType{EntityType}", key="\'all\'") List<org.kuali.rice.kim.api.identity.CodedAttribute> findAllEntityTypes()
CodedAttribute
@Cacheable(value="http://rice.kuali.org/kim/v2_0/CodedAttributeType{AddressType}", key="\'code=\' + #p0") org.kuali.rice.kim.api.identity.CodedAttribute getAddressType(String code) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
CodedAttribute
for a given EntityAddressType code.
This method will return null if the code does not exist.
code
- the unique id to retrieve the Type by. Cannot be null.CodedAttribute
or nullorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the code is blank@Cacheable(value="http://rice.kuali.org/kim/v2_0/CodedAttributeType{AddressType}", key="\'all\'") List<org.kuali.rice.kim.api.identity.CodedAttribute> findAllAddressTypes()
CodedAttribute
@Cacheable(value="http://rice.kuali.org/kim/v2_0/CodedAttributeType{AffiliationType}", key="\'code=\' + #p0") org.kuali.rice.kim.api.identity.affiliation.EntityAffiliationType getAffiliationType(String code) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
EntityAffiliationType
for a given EntityAffiliationType code.
This method will return null if the code does not exist.
code
- the unique id to retrieve the EntityAffiliationType by. Cannot be null.EntityAffiliationType
or nullorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the code is blank@Cacheable(value="http://rice.kuali.org/kim/v2_0/CodedAttributeType{AffiliationType}", key="\'all\'") List<org.kuali.rice.kim.api.identity.affiliation.EntityAffiliationType> findAllAffiliationTypes()
EntityAffiliationType
@Cacheable(value="http://rice.kuali.org/kim/v2_0/CodedAttributeType{CitizenshipStatus}", key="\'code=\' + #p0") org.kuali.rice.kim.api.identity.CodedAttribute getCitizenshipStatus(String code) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
CodedAttribute
for a given EntityCitizenship status code.
This method will return null if the code does not exist.
code
- the unique id to retrieve the Type by. Cannot be null.CodedAttribute
or nullorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the code is blank@Cacheable(value="http://rice.kuali.org/kim/v2_0/CodedAttributeType{CitizenshipStatus}", key="\'all\'") List<org.kuali.rice.kim.api.identity.CodedAttribute> findAllCitizenshipStatuses()
CodedAttribute
@Cacheable(value="http://rice.kuali.org/kim/v2_0/CodedAttributeType{EmploymentType}", key="\'code=\' + #p0") org.kuali.rice.kim.api.identity.CodedAttribute getEmploymentType(String code) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
CodedAttribute
for a given EntityEmployment type code.
This method will return null if the code does not exist.
code
- the unique id to retrieve the Type by. Cannot be null.CodedAttribute
or nullorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the code is blank@Cacheable(value="http://rice.kuali.org/kim/v2_0/CodedAttributeType{EmploymentType}", key="\'all\'") List<org.kuali.rice.kim.api.identity.CodedAttribute> findAllEmploymentTypes()
CodedAttribute
@Cacheable(value="http://rice.kuali.org/kim/v2_0/CodedAttributeType{EmploymentStatus}", key="\'code=\' + #p0") org.kuali.rice.kim.api.identity.CodedAttribute getEmploymentStatus(String code) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
CodedAttribute
for a given EntityEmployment status code.
This method will return null if the code does not exist.
code
- the unique id to retrieve the Type by. Cannot be null.CodedAttribute
or nullorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the code is blank@Cacheable(value="http://rice.kuali.org/kim/v2_0/CodedAttributeType{EmploymentStatus}", key="\'all\'") List<org.kuali.rice.kim.api.identity.CodedAttribute> findAllEmploymentStatuses()
CodedAttribute
@Cacheable(value="http://rice.kuali.org/kim/v2_0/CodedAttributeType{ExternalIdentifierType}", key="\'code=\' + #p0") org.kuali.rice.kim.api.identity.external.EntityExternalIdentifierType getExternalIdentifierType(String code) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
EntityExternalIdentifierType
for a given type code.
This method will return null if the code does not exist.
code
- the unique id to retrieve the EntityExternalIdentifierType by. Cannot be null.CodedAttribute
or nullorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the code is blank@Cacheable(value="http://rice.kuali.org/kim/v2_0/CodedAttributeType{ExternalIdentifierType}", key="\'all\'") List<org.kuali.rice.kim.api.identity.external.EntityExternalIdentifierType> findAllExternalIdendtifierTypes()
EntityExternalIdentifierType
@Cacheable(value="http://rice.kuali.org/kim/v2_0/CodedAttributeType{NameType}", key="\'code=\' + #p0") org.kuali.rice.kim.api.identity.CodedAttribute getNameType(String code) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
CodedAttribute
for a given EntityName type code.
This method will return null if the code does not exist.
code
- the unique id to retrieve the Type by. Cannot be null.CodedAttribute
or nullorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the code is blank@Cacheable(value="http://rice.kuali.org/kim/v2_0/CodedAttributeType{NameType}", key="\'all\'") List<org.kuali.rice.kim.api.identity.CodedAttribute> findAllNameTypes()
CodedAttribute
@Cacheable(value="http://rice.kuali.org/kim/v2_0/CodedAttributeType{PhoneType}", key="\'code=\' + #p0") org.kuali.rice.kim.api.identity.CodedAttribute getPhoneType(String code) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
CodedAttribute
for a given EntityPhone type code.
This method will return null if the code does not exist.
code
- the unique id to retrieve the Type by. Cannot be null.CodedAttribute
or nullorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the code is blank@Cacheable(value="http://rice.kuali.org/kim/v2_0/CodedAttributeType{PhoneType}", key="\'all\'") List<org.kuali.rice.kim.api.identity.CodedAttribute> findAllPhoneTypes()
CodedAttribute
@Cacheable(value="http://rice.kuali.org/kim/v2_0/CodedAttributeType{EmailType}", key="\'code=\' + #p0") org.kuali.rice.kim.api.identity.CodedAttribute getEmailType(String code) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
CodedAttribute
for a given EntityEmail type code.
This method will return null if the code does not exist.
code
- the unique id to retrieve the Type by. Cannot be null.CodedAttribute
or nullorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if the code is blank@Cacheable(value="http://rice.kuali.org/kim/v2_0/CodedAttributeType{EmailType}", key="\'all\'") List<org.kuali.rice.kim.api.identity.CodedAttribute> findAllEmailTypes()
CodedAttribute
org.kuali.rice.kim.api.identity.principal.PrincipalQueryResults findPrincipals(org.kuali.rice.core.api.criteria.QueryByCriteria query) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
query
- the criteria. Cannot be null.IllegalArgumentException
- if the queryByCriteria is nullorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.