@Override public void assignTasksManually(iTask t, UserInfo ui) throws RemoteException, nqException { Task tt = taskPool.get().getimpl(t); tt.setStatus(eTaskStatus.ASSIGNED); tt.assignTo(ui); // throw new nqException(nqExceptionType.GeneralError, String.format("Bad parameter (not // instanceof Task - %s)")); }
@Override public void approveTask(iTask t) throws RemoteException, nqException { Task tt = taskPool.get().getimpl(t); tt.setStatus(eTaskStatus.COMPLETED); }