}
public boolean isParticipant(RoleMapping rm) throws Exception{
RoleMappingDAOType rmDAOType = RoleMappingDAOType.getInstance(ptc);
return rmDAOType.findByRootInstanceIdAndEndpoint(new Long(getRootProcessInstanceId()), rm.getEndpoint()).size() > 0;
}
public void setDueDate(Calendar date) throws Exception {
super.setDueDate(date);
getProcessInstanceDAO().setDueDate(date.getTime());