private boolean[] validateMultiData(String paras) {
ProcessManagerFactoryBean processManagerFactory = new ProcessManagerFactoryBean();
ProcessManagerRemote pm = null;
ProcessDefinitionRemote[] pds = null;
ProcessDefinitionRemote pdr = null;
String[] aliass = new String[paras.split("\\|").length];
int count=0;
StringTokenizer st = new StringTokenizer(paras, "|");
while (st.hasMoreElements()) {
aliass[count] = st.nextToken();
count++;
}
boolean[] val = new boolean[aliass.length];
try {
pm = processManagerFactory.getProcessManagerForReadOnly();
pds = pm.listProcessDefinitionRemotesLight();
for (int j = 0; j < aliass.length; j++) {
for (int i = 0; i < pds.length; i++) {
pdr = pds[i];
if (pdr.getAlias() != null && pdr.getAlias().equals(aliass[j])) {
val[j] = true;
break;
}
}
}