com.evolveum.midpoint.model.expr
Class ExpressionHandler

java.lang.Object
  extended by com.evolveum.midpoint.model.expr.ExpressionHandler

@Component
public class ExpressionHandler
extends Object

Author:
lazyman

Constructor Summary
ExpressionHandler()
           
 
Method Summary
 boolean evaluateConfirmationExpression(UserType user, ResourceObjectShadowType shadow, ExpressionType expressionType, OperationResult result)
           
 String evaluateExpression(ResourceObjectShadowType shadow, ExpressionType expressionType, String shortDesc, OperationResult result)
           
static Map<QName,Object> getDefaultXPathVariables(UserType user, ResourceObjectShadowType shadow, ResourceType resource)
           
 ObjectType resolveRef(ObjectReferenceType ref, String contextDescription, OperationResult result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressionHandler

public ExpressionHandler()
Method Detail

evaluateExpression

public String evaluateExpression(ResourceObjectShadowType shadow,
                                 ExpressionType expressionType,
                                 String shortDesc,
                                 OperationResult result)
                          throws ExpressionEvaluationException,
                                 ObjectNotFoundException,
                                 SchemaException
Throws:
ExpressionEvaluationException
ObjectNotFoundException
SchemaException

evaluateConfirmationExpression

public boolean evaluateConfirmationExpression(UserType user,
                                              ResourceObjectShadowType shadow,
                                              ExpressionType expressionType,
                                              OperationResult result)
                                       throws ExpressionEvaluationException,
                                              ObjectNotFoundException,
                                              SchemaException
Throws:
ExpressionEvaluationException
ObjectNotFoundException
SchemaException

getDefaultXPathVariables

public static Map<QName,Object> getDefaultXPathVariables(UserType user,
                                                         ResourceObjectShadowType shadow,
                                                         ResourceType resource)

resolveRef

public ObjectType resolveRef(ObjectReferenceType ref,
                             String contextDescription,
                             OperationResult result)
                      throws ObjectNotFoundException,
                             SchemaException
Throws:
ObjectNotFoundException
SchemaException


Copyright © 2013 evolveum. All Rights Reserved.