org.apache.ode.daohib.bpel
Class ScopeDaoImpl

java.lang.Object
  extended by org.apache.ode.daohib.bpel.HibernateDao
      extended by org.apache.ode.daohib.bpel.ScopeDaoImpl
All Implemented Interfaces:
ScopeDAO

public class ScopeDaoImpl
extends HibernateDao
implements ScopeDAO

Hibernate-based ScopeDAO implementation.


Field Summary
 
Fields inherited from class org.apache.ode.daohib.bpel.HibernateDao
_hobj, _sm
 
Constructor Summary
ScopeDaoImpl(SessionManager sm, HScope scope)
           
 
Method Summary
 PartnerLinkDAO createPartnerLink(int modelId, java.lang.String pLinkName, java.lang.String myRole, java.lang.String partnerRole)
           
 java.util.Collection<ScopeDAO> getChildScopes()
           
 CorrelationSetDAO getCorrelationSet(java.lang.String corrSetName)
           
 java.util.Set<CorrelationSetDAO> getCorrelationSets()
           
 int getModelId()
           
 java.lang.String getName()
           
 ScopeDAO getParentScope()
           
 PartnerLinkDAO getPartnerLink(int plinkId)
           
 java.util.Collection<PartnerLinkDAO> getPartnerLinks()
           
 ProcessInstanceDAO getProcessInstance()
           
 java.lang.Long getScopeInstanceId()
           
 ScopeStateEnum getState()
           
 XmlDataDAO getVariable(java.lang.String varName)
           
 java.util.Collection<XmlDataDAO> getVariables()
           
 java.util.List<BpelEvent> listEvents()
           
 void setState(ScopeStateEnum state)
           
 
Methods inherited from class org.apache.ode.daohib.bpel.HibernateDao
deleteByColumn, deleteByIds, equals, getDHandle, getHibernateObj, getId, getSession, hashCode, update
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScopeDaoImpl

public ScopeDaoImpl(SessionManager sm,
                    HScope scope)
Method Detail

getCorrelationSet

public CorrelationSetDAO getCorrelationSet(java.lang.String corrSetName)
Specified by:
getCorrelationSet in interface ScopeDAO
See Also:
ScopeDAO.getCorrelationSet(java.lang.String)

getParentScope

public ScopeDAO getParentScope()
Specified by:
getParentScope in interface ScopeDAO
See Also:
ScopeDAO.getParentScope()

getProcessInstance

public ProcessInstanceDAO getProcessInstance()
Specified by:
getProcessInstance in interface ScopeDAO
See Also:
ScopeDAO.getProcessInstance()

setState

public void setState(ScopeStateEnum state)
Specified by:
setState in interface ScopeDAO
See Also:
ScopeDAO.setState(org.apache.ode.bpel.dao.ScopeStateEnum)

getState

public ScopeStateEnum getState()
Specified by:
getState in interface ScopeDAO
See Also:
ScopeDAO.getState()

getName

public java.lang.String getName()
Specified by:
getName in interface ScopeDAO
See Also:
ScopeDAO.getName()

getVariable

public XmlDataDAO getVariable(java.lang.String varName)
Specified by:
getVariable in interface ScopeDAO
See Also:
ScopeDAO.getVariable(java.lang.String)

createPartnerLink

public PartnerLinkDAO createPartnerLink(int modelId,
                                        java.lang.String pLinkName,
                                        java.lang.String myRole,
                                        java.lang.String partnerRole)
Specified by:
createPartnerLink in interface ScopeDAO

getPartnerLink

public PartnerLinkDAO getPartnerLink(int plinkId)
Specified by:
getPartnerLink in interface ScopeDAO

getPartnerLinks

public java.util.Collection<PartnerLinkDAO> getPartnerLinks()
Specified by:
getPartnerLinks in interface ScopeDAO

getScopeInstanceId

public java.lang.Long getScopeInstanceId()
Specified by:
getScopeInstanceId in interface ScopeDAO
See Also:
ScopeDAO.getScopeInstanceId()

getModelId

public int getModelId()
Specified by:
getModelId in interface ScopeDAO
See Also:
ScopeDAO.getModelId()

getCorrelationSets

public java.util.Set<CorrelationSetDAO> getCorrelationSets()
Specified by:
getCorrelationSets in interface ScopeDAO

getChildScopes

public java.util.Collection<ScopeDAO> getChildScopes()
Specified by:
getChildScopes in interface ScopeDAO

getVariables

public java.util.Collection<XmlDataDAO> getVariables()
Specified by:
getVariables in interface ScopeDAO

listEvents

public java.util.List<BpelEvent> listEvents()
Specified by:
listEvents in interface ScopeDAO


Copyright © 2010 Apache Software Foundation. All Rights Reserved.