org.apache.ode.daohib.bpel
Class ScopeDaoImpl
java.lang.Object
org.apache.ode.daohib.bpel.HibernateDao
org.apache.ode.daohib.bpel.ScopeDaoImpl
- All Implemented Interfaces:
- ScopeDAO
public class ScopeDaoImpl
- extends HibernateDao
- implements ScopeDAO
Hibernate-based ScopeDAO implementation.
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ScopeDaoImpl
public ScopeDaoImpl(SessionManager sm,
HScope scope)
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
isParentExist
public boolean isParentExist()
- Specified by:
isParentExist in interface ScopeDAO
getCorrelationDTOs
public java.util.Set<CorrelationSetDAO> getCorrelationDTOs()
- Specified by:
getCorrelationDTOs in interface ScopeDAO
getVariablesDTOs
public java.util.Set<XmlDataDAO> getVariablesDTOs()
- Specified by:
getVariablesDTOs in interface ScopeDAO
addCorrelationSet
public void addCorrelationSet()
- Specified by:
addCorrelationSet 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
setCorrelationSets
public void setCorrelationSets(java.util.List<CorrelationSetDAO> correlationSet)
- Specified by:
setCorrelationSets in interface ScopeDAO
getChildScopes
public java.util.Collection<ScopeDAO> getChildScopes()
- Specified by:
getChildScopes in interface ScopeDAO
setChildScopes
public void setChildScopes(java.util.Collection<ScopeDAO> childrens)
- Specified by:
setChildScopes in interface ScopeDAO
isChildrenExist
public boolean isChildrenExist()
- Specified by:
isChildrenExist in interface ScopeDAO
getVariables
public java.util.Collection<XmlDataDAO> getVariables()
- Specified by:
getVariables in interface ScopeDAO
setVariables
public void setVariables(java.util.List<XmlDataDAO> variables)
- Specified by:
setVariables in interface ScopeDAO
listEvents
public java.util.List<BpelEvent> listEvents()
- Specified by:
listEvents in interface ScopeDAO
Copyright © 2015 WSO2. All Rights Reserved.