|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ode.dao.jpa.OpenJPADAO
org.apache.ode.dao.jpa.ScopeDAOImpl
public class ScopeDAOImpl
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
ScopeDAOImpl()
|
|
ScopeDAOImpl(ScopeDAOImpl parentScope,
java.lang.String name,
int scopeModelId,
ProcessInstanceDAOImpl pi)
|
|
| Method Summary | |
|---|---|
PartnerLinkDAO |
createPartnerLink(int plinkModelId,
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.Collection<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 plinkModelId)
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. |
| Methods inherited from class org.apache.ode.dao.jpa.OpenJPADAO |
|---|
batchUpdateByIds, getConn, getEM, getSingleResult |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public 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
| Constructor Detail |
|---|
public ScopeDAOImpl()
public ScopeDAOImpl(ScopeDAOImpl parentScope,
java.lang.String name,
int scopeModelId,
ProcessInstanceDAOImpl pi)
| Method Detail |
|---|
public PartnerLinkDAO createPartnerLink(int plinkModelId,
java.lang.String pLinkName,
java.lang.String myRole,
java.lang.String partnerRole)
ScopeDAO
createPartnerLink in interface ScopeDAOplinkModelId - partner link model idpLinkName - partner link name
PartnerLinkDAO object representing the created endpoint referencepublic java.util.Collection<ScopeDAO> getChildScopes()
getChildScopes in interface ScopeDAOpublic CorrelationSetDAO getCorrelationSet(java.lang.String corrSetName)
ScopeDAO
getCorrelationSet in interface ScopeDAOcorrSetName - correlation set name
public java.util.Collection<CorrelationSetDAO> getCorrelationSets()
ScopeDAO
getCorrelationSets in interface ScopeDAOpublic int getModelId()
ScopeDAO
getModelId in interface ScopeDAOpublic java.lang.String getName()
ScopeDAO
getName in interface ScopeDAOpublic ScopeDAO getParentScope()
ScopeDAO
getParentScope in interface ScopeDAOpublic PartnerLinkDAO getPartnerLink(int plinkModelId)
ScopeDAO
getPartnerLink in interface ScopeDAOplinkModelId - partner link model id
PartnerLinkDAO object representing the requested endpoint referencepublic java.util.Collection<PartnerLinkDAO> getPartnerLinks()
ScopeDAO
getPartnerLinks in interface ScopeDAOPartnerLinkDAO objectspublic ProcessInstanceDAO getProcessInstance()
ScopeDAO
getProcessInstance in interface ScopeDAOProcessInstanceDAOpublic java.lang.Long getScopeInstanceId()
ScopeDAO
getScopeInstanceId in interface ScopeDAOpublic ScopeStateEnum getState()
ScopeDAO
getState in interface ScopeDAOpublic XmlDataDAO getVariable(java.lang.String varName)
ScopeDAO
getVariable in interface ScopeDAOvarName - variable name
XmlDataDAO object representing the requested variablepublic java.util.Collection<XmlDataDAO> getVariables()
ScopeDAO
getVariables in interface ScopeDAOpublic java.util.List<BpelEvent> listEvents()
ScopeDAO
listEvents in interface ScopeDAOpublic void setState(ScopeStateEnum state)
ScopeDAO
setState in interface ScopeDAOstate - new scope state
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||