Author: heiko.braun(a)jboss.com
Date: 2009-10-12 12:44:03 -0400 (Mon, 12 Oct 2009)
New Revision: 173
Modified:
trunk/console/integration/src/main/java/org/jboss/soa/bpel/console/ProcessMgmtImpl.java
Log:
Fix console integration
Modified:
trunk/console/integration/src/main/java/org/jboss/soa/bpel/console/ProcessMgmtImpl.java
===================================================================
---
trunk/console/integration/src/main/java/org/jboss/soa/bpel/console/ProcessMgmtImpl.java 2009-10-12
16:43:21 UTC (rev 172)
+++
trunk/console/integration/src/main/java/org/jboss/soa/bpel/console/ProcessMgmtImpl.java 2009-10-12
16:44:03 UTC (rev 173)
@@ -78,56 +78,56 @@
public List<ProcessInstanceRef> getProcessInstances(String definitionId)
{
String actualId = ModelAdaptor.decodeId(definitionId);
- QName qname = new QName(actualId);
+ QName qname = QName.valueOf(actualId);
InstanceInfoListDocument result =
- getMgmtFacade().listInstances(
- "name="+qname.getLocalPart()+"
namespace="+qname.getNamespaceURI(), "started", 1000);
+ getMgmtFacade().listInstances( // filter, order, limit
+ "name="+qname.getLocalPart() +" namespace=*",
"name", 1000);
return ModelAdaptor.adoptInstances(result);
}
public ProcessInstanceRef getProcessInstance(String instanceId)
{
- return null;
+ throw new RuntimeException("Not implemented");
}
public ProcessInstanceRef newInstance(String defintionId)
{
- return null;
+ throw new RuntimeException("Not implemented");
}
public ProcessInstanceRef newInstance(String definitionId, Map<String, Object>
processVars)
{
- return null;
+ throw new RuntimeException("Not implemented");
}
public Map<String, Object> getInstanceData(String instanceId)
{
- return null;
+ throw new RuntimeException("Not implemented");
}
public void setInstanceData(String instanceId, Map<String, Object> data)
{
-
+ throw new RuntimeException("Not implemented");
}
public void endInstance(String instanceId, ProcessInstanceRef.RESULT result)
{
-
+ throw new RuntimeException("Not implemented");
}
public void deleteInstance(String instanceId)
{
-
+ throw new RuntimeException("Not implemented");
}
public void setProcessState(String instanceId, ProcessInstanceRef.STATE nextState)
{
-
+ throw new RuntimeException("Not implemented");
}
public void signalExecution(String executionId, String signal)
{
-
+ throw new RuntimeException("Not implemented");
}
}
Show replies by date