Esempio n. 1
0
 @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);
 }
Esempio n. 2
0
 @Override
 public long setDocumentContentFromUser(long taskId, String userId, byte[] content) {
   AddContentFromUserCommand cmd = new AddContentFromUserCommand(taskId, userId);
   cmd.setDocumentContentBytes(content);
   return executor.execute(cmd);
 }