org.kuali.kfs.sec.service
Interface AccessPermissionEvaluator

All Known Implementing Classes:
AccessPermissionEvaluatorImpl, DescendChartAccessPermissionEvaluatorImpl, DescendOrganizationAccessPermissionEvaluatorImpl, PrincipalInvestigatorAccessPermissionEvaluatorImpl

public interface AccessPermissionEvaluator

AccessPermissionEvaluator classes provide the evaluation of a given security permission. Methods are exposed for setting the user's qualification for a permission and method exposed to pass a value and perform the evaluation


Method Summary
 void setConstraintCode(String constraintCode)
          Setter for the constraint code found on the user's qualification record
 void setOperatorCode(String operatorCode)
          Setter for the operator code found on the user's qualification record
 void setOtherKeyFieldValueMap(Map<String,Object> otherKeyFieldValues)
          Setter for the Map that holds values for the other key fields (if any)
 void setPerson(org.kuali.rice.kim.bo.Person person)
          Setter for the person who the permission is being evaluated for
 void setPropertyValue(String propertyValue)
          Setter for the property value found on the user's qualification record
 boolean valueIsAllowed(String value)
          Evaluates the given value against the permission definition.
 

Method Detail

valueIsAllowed

boolean valueIsAllowed(String value)
Evaluates the given value against the permission definition. How the evaluation is carried out depends on implementation

Parameters:
value - String value to evaluate
Returns:
True if value is allowed based on the permission definition or false if it is not allowed

setConstraintCode

void setConstraintCode(String constraintCode)
Setter for the constraint code found on the user's qualification record

Parameters:
constraintCode -

setOperatorCode

void setOperatorCode(String operatorCode)
Setter for the operator code found on the user's qualification record

Parameters:
operatorCode -

setPropertyValue

void setPropertyValue(String propertyValue)
Setter for the property value found on the user's qualification record

Parameters:
propertyValue -

setOtherKeyFieldValueMap

void setOtherKeyFieldValueMap(Map<String,Object> otherKeyFieldValues)
Setter for the Map that holds values for the other key fields (if any)

Parameters:
otherKeyFieldValues - Map with field name as the Map key and field value as Map value

setPerson

void setPerson(org.kuali.rice.kim.bo.Person person)
Setter for the person who the permission is being evaluated for

Parameters:
person - Person kim business object


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.