@Entity public class ScopeDAOImpl extends OpenJPADAO implements ScopeDAO
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DELETE_SCOPES_BY_SCOPE_IDS |
static java.lang.String |
SELECT_SCOPE_IDS_BY_INSTANCE |
static java.lang.String |
SELECT_SCOPE_IDS_BY_PROCESS |
| Constructor and Description |
|---|
ScopeDAOImpl() |
ScopeDAOImpl(ScopeDAOImpl parentScope,
java.lang.String name,
int scopeModelId,
ProcessInstanceDAOImpl pi) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCorrelationSet() |
PartnerLinkDAO |
createPartnerLink(int plinkModelId,
java.lang.String pLinkName,
java.lang.String myRole,
java.lang.String partnerRole) |
boolean |
equals(java.lang.Object obj) |
java.util.Collection<ScopeDAO> |
getChildScopes() |
java.util.Set<CorrelationSetDAO> |
getCorrelationDTOs()
These are transient objects
|
CorrelationSetDAO |
getCorrelationSet(java.lang.String corrSetName) |
java.util.Collection<CorrelationSetDAO> |
getCorrelationSets() |
java.util.Set<EventDAOImpl> |
getEvents()
These are transient objects
|
int |
getModelId() |
java.lang.String |
getName() |
ScopeDAO |
getParentScope() |
PartnerLinkDAO |
getPartnerLink(int plinkModelId) |
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.Set<XmlDataDAO> |
getVariablesDTOs()
These are transient objects
|
int |
hashCode() |
boolean |
isChildrenExist() |
boolean |
isParentExist()
Use only when load parent eagerly
|
java.util.List<BpelEvent> |
listEvents() |
void |
setChildScopes(java.util.Collection<ScopeDAO> childrens) |
void |
setCorrelationDTOs(java.util.Set<CorrelationSetDAO> correlationDTOs) |
void |
setCorrelationSets(java.util.List<CorrelationSetDAO> correlationSet) |
void |
setState(ScopeStateEnum state) |
void |
setVariables(java.util.List<XmlDataDAO> variables) |
void |
setVariablesDTOs(java.util.Set<XmlDataDAO> variablesDTOs) |
java.lang.String |
toString() |
batchUpdateByIds, getConn, getEM, getSingleResultpublic static final java.lang.String SELECT_SCOPE_IDS_BY_PROCESS
public static final java.lang.String SELECT_SCOPE_IDS_BY_INSTANCE
public static final java.lang.String DELETE_SCOPES_BY_SCOPE_IDS
public ScopeDAOImpl()
public ScopeDAOImpl(ScopeDAOImpl parentScope, java.lang.String name, int scopeModelId, ProcessInstanceDAOImpl pi)
public PartnerLinkDAO createPartnerLink(int plinkModelId, java.lang.String pLinkName, java.lang.String myRole, java.lang.String partnerRole)
createPartnerLink in interface ScopeDAOpublic java.util.Collection<ScopeDAO> getChildScopes()
getChildScopes in interface ScopeDAOpublic void setChildScopes(java.util.Collection<ScopeDAO> childrens)
setChildScopes in interface ScopeDAOpublic boolean isChildrenExist()
isChildrenExist in interface ScopeDAOpublic CorrelationSetDAO getCorrelationSet(java.lang.String corrSetName)
getCorrelationSet in interface ScopeDAOpublic java.util.Collection<CorrelationSetDAO> getCorrelationSets()
getCorrelationSets in interface ScopeDAOpublic void setCorrelationSets(java.util.List<CorrelationSetDAO> correlationSet)
setCorrelationSets in interface ScopeDAOpublic int getModelId()
getModelId in interface ScopeDAOpublic ScopeDAO getParentScope()
getParentScope in interface ScopeDAOpublic PartnerLinkDAO getPartnerLink(int plinkModelId)
getPartnerLink in interface ScopeDAOpublic java.util.Collection<PartnerLinkDAO> getPartnerLinks()
getPartnerLinks in interface ScopeDAOpublic ProcessInstanceDAO getProcessInstance()
getProcessInstance in interface ScopeDAOpublic java.lang.Long getScopeInstanceId()
getScopeInstanceId in interface ScopeDAOpublic ScopeStateEnum getState()
public XmlDataDAO getVariable(java.lang.String varName)
getVariable in interface ScopeDAOpublic java.util.Collection<XmlDataDAO> getVariables()
getVariables in interface ScopeDAOpublic void setVariables(java.util.List<XmlDataDAO> variables)
setVariables in interface ScopeDAOpublic java.util.List<BpelEvent> listEvents()
listEvents in interface ScopeDAOpublic void setState(ScopeStateEnum state)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean isParentExist()
isParentExist in interface ScopeDAOpublic java.util.Set<EventDAOImpl> getEvents()
public java.util.Set<CorrelationSetDAO> getCorrelationDTOs()
getCorrelationDTOs in interface ScopeDAOpublic void setCorrelationDTOs(java.util.Set<CorrelationSetDAO> correlationDTOs)
public java.util.Set<XmlDataDAO> getVariablesDTOs()
getVariablesDTOs in interface ScopeDAOpublic void setVariablesDTOs(java.util.Set<XmlDataDAO> variablesDTOs)
public void addCorrelationSet()
addCorrelationSet in interface ScopeDAOCopyright © 2021 WSO2. All Rights Reserved.