Advertisement
TriplePi

Untitled

Dec 20th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.71 KB | None | 0 0
  1.         for (ThriftStandardActionRequest request : input.getActions()) {
  2.             String comment = request.getParameters().get(ThriftStandardActionOptionType.S_COMMENT);
  3.             log.info("-----");
  4.             log.info("compositeId from client {0}", request.compositeId);
  5.             log.info("actionCode from client {0}", request.actionCode);
  6.             log.info("comment from client {0}", request.actionCode);
  7.             log.info("-----");
  8.             DocumentInfo item = new DocumentInfo();
  9.             item.setAction(request.getActionCode().toUpperCase());
  10.             item.setId(request.getCompositeId().split("/")[1]);
  11.             item.setComment(comment);
  12.             info.getApplication().add(item);
  13.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement