public ScopeInfoDocument getScopeInfoWithActivity(String siid, boolean includeActivityInfo) {
return genScopeInfoDocument(siid, includeActivityInfo);
}
public VariableInfoDocument getVariableInfo(final String scopeId, final String varName) throws ManagementException {
VariableInfoDocument ret = VariableInfoDocument.Factory.newInstance();
final TVariableInfo vinf = ret.addNewVariableInfo();
final TVariableRef sref = vinf.addNewSelf();
dbexec(new BpelDatabase.Callable<Object>() {
public Object run(BpelDAOConnection session) throws Exception {
ScopeDAO scope = session.getScope(new Long(scopeId));
if (scope == null) {