コード例 #1
0
 @Override
 public void updateStatus(Guid id, CommandStatus status) {
   getCallsHandler()
       .executeModification(
           "UpdateCommandEntityStatus",
           createIdParameterMapper(id).addValue("status", status.toString()));
 }
コード例 #2
0
 private static CommandStatus getCommandStatus(String statusStr) {
   CommandStatus status = CommandStatus.UNKNOWN;
   if (!StringUtils.isEmpty(statusStr)) {
     status = CommandStatus.valueOf(statusStr);
   }
   return status;
 }