public class ScopeDaoImpl extends HibernateDao implements ScopeDAO
ScopeDAO implementation._hobj, _sm| Constructor and Description |
|---|
ScopeDaoImpl(SessionManager sm,
HScope scope) |
| Modifier and Type | Method and Description |
|---|---|
PartnerLinkDAO |
createPartnerLink(int modelId,
java.lang.String pLinkName,
java.lang.String myRole,
java.lang.String partnerRole)
Create a storage space for partner link values for the scope.
|
java.util.Collection<ScopeDAO> |
getChildScopes() |
CorrelationSetDAO |
getCorrelationSet(java.lang.String corrSetName)
Get a correlation set by name.
|
java.util.Set<CorrelationSetDAO> |
getCorrelationSets()
Gets all correlation sets for this scope
|
int |
getModelId()
Get the scope model id from the object
|
java.lang.String |
getName()
Get scope name (from the definition / or auto-generated).
|
ScopeDAO |
getParentScope()
Get the parent scope.
|
PartnerLinkDAO |
getPartnerLink(int plinkId)
Get the parnter link storage object associated with this scope instance
and the provided partner link model id.
|
java.util.Collection<PartnerLinkDAO> |
getPartnerLinks()
Get all partner link storage object associated with this scope instance.
|
ProcessInstanceDAO |
getProcessInstance()
Get the process instance to which this scope belongs.
|
java.lang.Long |
getScopeInstanceId()
Get the unique identifier for this scope instance.
|
ScopeStateEnum |
getState()
Get current state of the scope.
|
XmlDataDAO |
getVariable(java.lang.String varName)
Get a variable by name.
|
java.util.Collection<XmlDataDAO> |
getVariables()
Get a colleciton of all the variables belonging to this scope.
|
java.util.List<BpelEvent> |
listEvents()
Get an ordered list of events associated with this scope.
|
void |
setState(ScopeStateEnum state)
Set current state of the scope.
|
deleteByColumn, deleteByIds, equals, getDHandle, getHibernateObj, getId, getSession, hashCode, updatepublic ScopeDaoImpl(SessionManager sm, HScope scope)
public CorrelationSetDAO getCorrelationSet(java.lang.String corrSetName)
ScopeDAOgetCorrelationSet in interface ScopeDAOcorrSetName - correlation set nameScopeDAO.getCorrelationSet(java.lang.String)public ScopeDAO getParentScope()
ScopeDAOgetParentScope in interface ScopeDAOScopeDAO.getParentScope()public ProcessInstanceDAO getProcessInstance()
ScopeDAOgetProcessInstance in interface ScopeDAOProcessInstanceDAOScopeDAO.getProcessInstance()public void setState(ScopeStateEnum state)
ScopeDAOsetState in interface ScopeDAOstate - new scope stateScopeDAO.setState(org.apache.ode.bpel.dao.ScopeStateEnum)public ScopeStateEnum getState()
ScopeDAOgetState in interface ScopeDAOScopeDAO.getState()public java.lang.String getName()
ScopeDAOgetName in interface ScopeDAOScopeDAO.getName()public XmlDataDAO getVariable(java.lang.String varName)
ScopeDAOgetVariable in interface ScopeDAOvarName - variable nameXmlDataDAO object representing the requested variableScopeDAO.getVariable(java.lang.String)public PartnerLinkDAO createPartnerLink(int modelId, java.lang.String pLinkName, java.lang.String myRole, java.lang.String partnerRole)
ScopeDAOcreatePartnerLink in interface ScopeDAOmodelId - partner link model idpLinkName - partner link namePartnerLinkDAO object representing the created endpoint referencepublic PartnerLinkDAO getPartnerLink(int plinkId)
ScopeDAOgetPartnerLink in interface ScopeDAOplinkId - partner link model idPartnerLinkDAO object representing the requested endpoint referencepublic java.util.Collection<PartnerLinkDAO> getPartnerLinks()
ScopeDAOgetPartnerLinks in interface ScopeDAOPartnerLinkDAO objectspublic java.lang.Long getScopeInstanceId()
ScopeDAOgetScopeInstanceId in interface ScopeDAOScopeDAO.getScopeInstanceId()public int getModelId()
ScopeDAOgetModelId in interface ScopeDAOScopeDAO.getModelId()public java.util.Set<CorrelationSetDAO> getCorrelationSets()
ScopeDAOgetCorrelationSets in interface ScopeDAOpublic java.util.Collection<ScopeDAO> getChildScopes()
getChildScopes in interface ScopeDAOpublic java.util.Collection<XmlDataDAO> getVariables()
ScopeDAOgetVariables in interface ScopeDAOpublic java.util.List<BpelEvent> listEvents()
ScopeDAOlistEvents in interface ScopeDAO