Exemplo n.º 1
0
 /*
  * Deletes an eperson from the taskpool of a step
  */
 @Override
 public void deletePooledTask(Context context, XmlWorkflowItem wi, PoolTask task)
     throws SQLException, AuthorizeException {
   if (task != null) {
     if (task.getEperson() != null) {
       removeUserItemPolicies(context, wi.getItem(), task.getEperson());
     } else {
       removeGroupItemPolicies(context, wi.getItem(), task.getGroup());
     }
     poolTaskService.delete(context, task);
   }
 }