Ejemplo 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);
 }
Ejemplo 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);
 }