Vector v = report.getAssertionStatusItemVector();
int len = v != null? v.size() : 0;
for (int i = 0; i < len; i++)
{
AssertionStatusItem asi = (AssertionStatusItem) v.elementAt(i);
/* String sourceKey = asi.getFromKey();
String targetKey = asi.getToKey();
PublisherAssertion pa = new PublisherAssertion();
pa.setFromKey(sourceKey);
pa.setToKey(targetKey);
KeyedReference keyr = asi.getKeyedReference();
pa.setKeyedReference(keyr);
pa.setTModelKey(keyr.getTModelKey());
pa.setKeyName(keyr.getKeyName());
pa.setKeyValue(keyr.getKeyValue());
if(pasvect == null) pasvect = new Vector(len);
pasvect.add(pa);*/
if(pasvect == null) pasvect = new Vector(len);
pasvect.add(this.getPublisherAssertion(asi));
}
report = ireg.getAssertionStatusReport(authinfo,"status:toKey_incomplete");
v = report.getAssertionStatusItemVector();
len = v != null? v.size() : 0;
for (int i = 0; i < len; i++)
{
AssertionStatusItem asi = (AssertionStatusItem) v.elementAt(i);
if(pasvect == null) pasvect = new Vector(len);
pasvect.add(this.getPublisherAssertion(asi));
}
report = ireg.getAssertionStatusReport(authinfo,"status:fromKey_incomplete");
v = report.getAssertionStatusItemVector();
len = v != null? v.size() : 0;
for (int i = 0; i < len; i++)
{
AssertionStatusItem asi = (AssertionStatusItem) v.elementAt(i);
if(pasvect == null) pasvect = new Vector(len);
pasvect.add(this.getPublisherAssertion(asi));
}
}
catch (RegistryException e)