protected void loadChildExecutionsFromCache ( ExecutionEntity execution , List < ExecutionEntity > childExecutions ) { List < ExecutionEntity > childrenOfThisExecution = execution . getExecutions ( ) ; if ( childrenOfThisExecution != null ) { childExecutions . addAll ( childrenOfThisExecution ) ; for ( ExecutionEntity child : childrenOfThisExecution ) { loadChildExecutionsFromCache ( child , childExecutions ) ; } } }
Loads all executions that are part of this process instance tree from the dbSqlSession cache . ( optionally querying the db if a child is not already loaded .