|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.krad.rules.DocumentRuleBase
org.kuali.rice.krad.rules.TransactionalDocumentRuleBase
org.kuali.rice.kim.document.rule.IdentityManagementPersonDocumentRule
public class IdentityManagementPersonDocumentRule
This is a description of what this class does - shyu don't forget to fill this in.
| Field Summary | |
|---|---|
protected AddGroupRule |
addGroupRule
|
protected Class<? extends AddGroupRule> |
addGroupRuleClass
|
protected AddPersonDelegationMemberRule |
addPersonDelegationMemberRule
|
protected Class<? extends AddPersonDelegationMemberRule> |
addPersonDelegationMemberRuleClass
|
protected AddRoleRule |
addRoleRule
|
protected Class<? extends AddRoleRule> |
addRoleRuleClass
|
protected AttributeValidationHelper |
attributeValidationHelper
|
protected IdentityManagementKimDocumentAuthorizer |
authorizer
|
protected BusinessObjectService |
businessObjectService
|
protected IdentityService |
identityService
|
protected RoleService |
roleService
|
protected UiDocumentService |
uiDocumentService
|
| Constructor Summary | |
|---|---|
IdentityManagementPersonDocumentRule()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected AddGroupRule addGroupRule
protected AddRoleRule addRoleRule
protected AddPersonDelegationMemberRule addPersonDelegationMemberRule
protected IdentityManagementKimDocumentAuthorizer authorizer
protected BusinessObjectService businessObjectService
protected IdentityService identityService
protected RoleService roleService
protected UiDocumentService uiDocumentService
protected Class<? extends AddGroupRule> addGroupRuleClass
protected Class<? extends AddRoleRule> addRoleRuleClass
protected Class<? extends AddPersonDelegationMemberRule> addPersonDelegationMemberRuleClass
protected AttributeValidationHelper attributeValidationHelper
| Constructor Detail |
|---|
public IdentityManagementPersonDocumentRule()
| Method Detail |
|---|
protected boolean processCustomSaveDocumentBusinessRules(Document document)
DocumentRuleBase
processCustomSaveDocumentBusinessRules in class DocumentRuleBase
protected boolean validateEntityInformation(boolean isCreatingNew,
IdentityManagementPersonDocument personDoc)
protected boolean validDuplicatePrincipalName(IdentityManagementPersonDocument personDoc)
protected boolean checkUnassignableRoles(IdentityManagementPersonDocument document)
protected boolean checkUnpopulatableGroups(IdentityManagementPersonDocument document)
protected boolean processCustomRouteDocumentBusinessRules(Document document)
DocumentRuleBase
processCustomRouteDocumentBusinessRules in class DocumentRuleBase
protected boolean checkMultipleDefault(List<? extends PersonDocumentBoDefaultBase> boList,
String listName)
protected boolean checkPrimaryEmploymentInfo(List<PersonDocumentAffiliation> affiliations)
protected boolean checkAffiliationTypeChange(List<PersonDocumentAffiliation> affiliations)
protected boolean validEmployeeIDForAffiliation(List<PersonDocumentAffiliation> affiliations)
protected boolean isPersonAnEmployee(List<PersonDocumentAffiliation> affiliations)
protected boolean checkUniqueAffiliationTypePerCampus(List<PersonDocumentAffiliation> affiliations)
protected boolean checkAffiliationEithOneEMpInfo(List<PersonDocumentAffiliation> affiliations)
protected boolean validateAffiliationAndName(IdentityManagementPersonDocument personDoc)
protected boolean doesPrincipalNameExist(String principalName,
String principalId)
protected boolean validateRoleQualifier(List<PersonDocumentRole> roles)
protected boolean validateUniquePersonRoleQualifiersUniqueForMembership(PersonDocumentRole role,
KimDocumentRoleMember membershipToCheck,
int membershipToCheckIndex,
Set<String> uniqueQualifierAttributes,
int roleIndex,
List<RemotableAttributeError> validationErrors)
roleIndex - the index of the role on the document (for error reporting purposes)membershipToCheckIndex - the index of the person's membership in the role (for error reporting purposes)
protected boolean sameMembershipQualifications(KimDocumentRoleMember membershipA,
KimDocumentRoleMember membershipB,
Set<String> uniqueQualifierAttributes)
membershipA - the first membership to checkmembershipB - the second membership to checkuniqueQualifierAttributes - the set of qualifier attributes which need to be unique
public Set<String> findUniqueQualificationAttributes(PersonDocumentRole role,
List<KimAttributeField> attributeDefinitions)
role - the role associated with this personattributeDefinitions - the Map of attribute definitions where we can find out if a KimAttribute is supposed to be unique
protected boolean validActiveDatesForRole(List<PersonDocumentRole> roles)
protected boolean validActiveDatesForGroup(List<PersonDocumentGroup> groups)
protected boolean validActiveDatesForDelegations(List<RoleDocumentDelegationMember> delegationMembers)
protected boolean validateActiveDate(String errorPath,
Timestamp activeFromDate,
Timestamp activeToDate)
public boolean processAddGroup(AddGroupEvent addGroupEvent)
processAddGroup in interface AddGroupRulepublic boolean processAddRole(AddRoleEvent addRoleEvent)
processAddRole in interface AddRoleRulepublic boolean processAddPersonDelegationMember(AddPersonDelegationMemberEvent addPersonDelegationMemberEvent)
processAddPersonDelegationMember in interface AddPersonDelegationMemberRulepublic IdentityService getIdentityService()
public RoleService getRoleService()
public UiDocumentService getUIDocumentService()
public IdentityManagementKimDocumentAuthorizer getAuthorizer(IdentityManagementPersonDocument document)
public Class<? extends AddGroupRule> getAddGroupRuleClass()
public void setAddGroupRuleClass(Class<? extends AddGroupRule> addGroupRuleClass)
addGroupRuleClass - the addGroupRuleClass to setpublic Class<? extends AddRoleRule> getAddRoleRuleClass()
public void setAddRoleRuleClass(Class<? extends AddRoleRule> addRoleRuleClass)
addRoleRuleClass - the addRoleRuleClass to setpublic AddGroupRule getAddGroupRule()
public AddRoleRule getAddRoleRule()
public AddPersonDelegationMemberRule getAddPersonDelegationMemberRule()
public BusinessObjectService getBusinessObjectService()
public boolean processAddPersonDocumentRoleQualifier(IdentityManagementPersonDocument document,
PersonDocumentRole role,
KimDocumentRoleMember kimDocumentRoleMember,
int selectedRoleIdx)
processAddPersonDocumentRoleQualifier in interface AddPersonDocumentRoleQualifierRuleprotected boolean validateDelegationMemberRoleQualifier(List<RoleDocumentDelegationMember> delegationMembers)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||