1 27 28 package org.objectweb.speedo.query.api; 29 30 import org.objectweb.medor.api.MedorException; 31 import org.objectweb.medor.expression.api.ExpressionException; 32 import org.objectweb.speedo.api.SpeedoException; 33 import org.objectweb.speedo.pm.api.ProxyManager; 34 35 import java.util.Map ; 36 37 42 public interface CompiledQuery { 43 44 short UNDEFINED = 0; 45 short DEFINED = 1; 46 short COMPILED = 2; 47 48 52 short getStatus(); 53 54 58 QueryDefinition getDefinition(); 59 60 63 void compile() throws SpeedoException, MedorException, ExpressionException; 64 65 76 Object execute(Object [] parameters, ProxyManager pm, QueryDefinition qd) 77 throws SpeedoException, MedorException, ExpressionException; 78 79 Object execute(Map parameters, ProxyManager pm, QueryDefinition qd) 80 throws SpeedoException, MedorException, ExpressionException; 81 82 } 83 | Popular Tags |