org.jbpm.jpdl.internal.activity
Class HqlActivity

java.lang.Object
  extended by org.jbpm.jpdl.internal.activity.JpdlActivity
      extended by org.jbpm.jpdl.internal.activity.JpdlAutomaticActivity
          extended by org.jbpm.jpdl.internal.activity.HqlActivity
All Implemented Interfaces:
java.io.Serializable, ActivityBehaviour, EventListener
Direct Known Subclasses:
SqlActivity

public class HqlActivity
extends JpdlAutomaticActivity

Author:
Tom Baeyens
See Also:
Serialized Form

Field Summary
protected  boolean isResultUnique
           
protected  ListDescriptor parametersDescriptor
           
protected  java.lang.String query
           
protected  java.lang.String resultVariableName
           
 
Fields inherited from class org.jbpm.jpdl.internal.activity.JpdlActivity
dbid
 
Constructor Summary
HqlActivity()
           
 
Method Summary
 void applyParameter(org.hibernate.Query q, java.lang.String parameterName, java.lang.Object value)
           
protected  org.hibernate.Query createQuery(org.hibernate.Session session)
           
 void perform(OpenExecution execution)
           
 void setParametersDescriptor(ListDescriptor parametersDescriptor)
           
 void setQuery(java.lang.String query)
           
 void setResultUnique(boolean isResultUnique)
           
 void setResultVariableName(java.lang.String resultVariableName)
           
 
Methods inherited from class org.jbpm.jpdl.internal.activity.JpdlAutomaticActivity
execute, notify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

query

protected java.lang.String query

parametersDescriptor

protected ListDescriptor parametersDescriptor

resultVariableName

protected java.lang.String resultVariableName

isResultUnique

protected boolean isResultUnique
Constructor Detail

HqlActivity

public HqlActivity()
Method Detail

perform

public void perform(OpenExecution execution)

createQuery

protected org.hibernate.Query createQuery(org.hibernate.Session session)

applyParameter

public void applyParameter(org.hibernate.Query q,
                           java.lang.String parameterName,
                           java.lang.Object value)

setQuery

public void setQuery(java.lang.String query)

setParametersDescriptor

public void setParametersDescriptor(ListDescriptor parametersDescriptor)

setResultUnique

public void setResultUnique(boolean isResultUnique)

setResultVariableName

public void setResultVariableName(java.lang.String resultVariableName)


Copyright © 2010 JBoss Community. All Rights Reserved.