@Override public long addOutputContentFromUser(long taskId, String userId, Map<String, Object> params) { AddContentFromUserCommand cmd = new AddContentFromUserCommand(taskId, userId); cmd.setOutputContentMap(params); return executor.execute(cmd); }
@Override public long setDocumentContentFromUser(long taskId, String userId, byte[] content) { AddContentFromUserCommand cmd = new AddContentFromUserCommand(taskId, userId); cmd.setDocumentContentBytes(content); return executor.execute(cmd); }