int sizeAdmin = jrs.getRowCount();
for (int i = 1; i <= sizeAdmin; ++i)
{
jrs.absolute(i);
WorkflowParticipantImpl participantImpl=(WorkflowParticipantImpl)this.findParticipant(jrs.getString("vc_userid"));
if("all".equalsIgnoreCase(jrs.getString("vc_packageId")))
{
participantImpl.setSuperAdministrator(true);
}
else
{
participantImpl.addPackage(jrs.getString("vc_packageId"));
}
}
jrs.release();