コード例 #1
0
  public void check() throws ApiRuleException {

    RequestCheckUtils.checkMinValue(pageNo, 1L, "pageNo");
    RequestCheckUtils.checkMaxValue(pageSize, 1000L, "pageSize");
    RequestCheckUtils.checkMinValue(pageSize, 1L, "pageSize");
    RequestCheckUtils.checkNotEmpty(startTime, "startTime");
  }
コード例 #2
0
  public void check() throws ApiRuleException {

    RequestCheckUtils.checkNotEmpty(barcode, "barcode");
    RequestCheckUtils.checkNotEmpty(image, "image");
    RequestCheckUtils.checkNotEmpty(productId, "productId");
    RequestCheckUtils.checkMaxLength(specPropsAlias, 60, "specPropsAlias");
  }
  public void check() throws ApiRuleException {

    RequestCheckUtils.checkNotEmpty(merchantOrderNo, "merchantOrderNo");
    RequestCheckUtils.checkMaxLength(merchantOrderNo, 32, "merchantOrderNo");
    RequestCheckUtils.checkNotEmpty(orderType, "orderType");
    RequestCheckUtils.checkMaxLength(orderType, 10, "orderType");
  }
コード例 #4
0
  public void check() throws ApiRuleException {

    RequestCheckUtils.checkNotEmpty(channelId, "channelId");
    RequestCheckUtils.checkMinValue(pageNo, 1L, "pageNo");
    RequestCheckUtils.checkMaxValue(pageSize, 100L, "pageSize");
    RequestCheckUtils.checkMinValue(pageSize, 10L, "pageSize");
  }
コード例 #5
0
  public void check() throws ApiRuleException {

    RequestCheckUtils.checkMaxValue(cid, 2147483647L, "cid");
    RequestCheckUtils.checkNotEmpty(fields, "fields");
    RequestCheckUtils.checkMaxValue(pageNo, 10L, "pageNo");
    RequestCheckUtils.checkMaxValue(pageSize, 400L, "pageSize");
  }
コード例 #6
0
  public void check() throws ApiRuleException {

    RequestCheckUtils.checkNotEmpty(endDate, "endDate");
    RequestCheckUtils.checkNotEmpty(serviceStaffId, "serviceStaffId");
    RequestCheckUtils.checkMaxLength(serviceStaffId, 1900, "serviceStaffId");
    RequestCheckUtils.checkNotEmpty(startDate, "startDate");
  }
コード例 #7
0
  public void check() throws ApiRuleException {

    RequestCheckUtils.checkNotEmpty(fields, "fields");
    RequestCheckUtils.checkNotEmpty(refundId, "refundId");
    RequestCheckUtils.checkMaxValue(refundId, 9223372036854775807L, "refundId");
    RequestCheckUtils.checkMinValue(refundId, 1L, "refundId");
  }
コード例 #8
0
 @Override
 public void check() throws ApiRuleException {
   RequestCheckUtils.checkNotEmpty(itemId, "itemId");
   RequestCheckUtils.checkNotEmpty(number, "number");
   RequestCheckUtils.checkNotEmpty(ownerItemId, "ownerItemId");
   RequestCheckUtils.checkNotEmpty(ownerUserId, "ownerUserId");
   RequestCheckUtils.checkNotEmpty(ruleId, "ruleId");
 }
コード例 #9
0
  public void check() throws ApiRuleException {

    RequestCheckUtils.checkNotEmpty(collectType, "collectType");
    RequestCheckUtils.checkMaxLength(collectType, 4, "collectType");
    RequestCheckUtils.checkNotEmpty(pageNo, "pageNo");
    RequestCheckUtils.checkMaxValue(pageNo, 100L, "pageNo");
    RequestCheckUtils.checkMinValue(pageNo, 1L, "pageNo");
  }
コード例 #10
0
  public void check() throws ApiRuleException {

    RequestCheckUtils.checkNotEmpty(extEntityId, "extEntityId");
    RequestCheckUtils.checkNotEmpty(extEntityType, "extEntityType");
    RequestCheckUtils.checkNotEmpty(itemId, "itemId");
    RequestCheckUtils.checkNotEmpty(userNick, "userNick");
    RequestCheckUtils.checkMaxLength(userNick, 64, "userNick");
  }
コード例 #11
0
 @Override
 public void check() throws ApiRuleException {
   RequestCheckUtils.checkNotEmpty(businessInfo, "businessInfo");
   RequestCheckUtils.checkMaxLength(businessInfo, 30, "businessInfo");
   RequestCheckUtils.checkNotEmpty(pointNum, "pointNum");
   RequestCheckUtils.checkNotEmpty(sellerNick, "sellerNick");
   RequestCheckUtils.checkNotEmpty(transactionTime, "transactionTime");
 }
コード例 #12
0
  public void check() throws ApiRuleException {

    RequestCheckUtils.checkNotEmpty(date, "date");
    RequestCheckUtils.checkNotEmpty(fields, "fields");
    RequestCheckUtils.checkMaxValue(pageNo, 99L, "pageNo");
    RequestCheckUtils.checkMinValue(pageNo, 1L, "pageNo");
    RequestCheckUtils.checkMaxValue(pageSize, 100L, "pageSize");
  }
コード例 #13
0
  public void check() throws ApiRuleException {

    RequestCheckUtils.checkMaxValue(agentCostPercent, 99999L, "agentCostPercent");
    RequestCheckUtils.checkMinValue(agentCostPercent, 100L, "agentCostPercent");
    RequestCheckUtils.checkMaxValue(dealerCostPercent, 99999L, "dealerCostPercent");
    RequestCheckUtils.checkMinValue(dealerCostPercent, 100L, "dealerCostPercent");
    RequestCheckUtils.checkMaxLength(name, 10, "name");
    RequestCheckUtils.checkNotEmpty(productLineId, "productLineId");
    RequestCheckUtils.checkMaxValue(retailHighPercent, 99999L, "retailHighPercent");
    RequestCheckUtils.checkMinValue(retailHighPercent, 100L, "retailHighPercent");
    RequestCheckUtils.checkMaxValue(retailLowPercent, 99999L, "retailLowPercent");
    RequestCheckUtils.checkMinValue(retailLowPercent, 100L, "retailLowPercent");
  }
コード例 #14
0
 @Override
 public void check() throws ApiRuleException {
   RequestCheckUtils.checkNotEmpty(assumer, "assumer");
   RequestCheckUtils.checkNotEmpty(name, "name");
   RequestCheckUtils.checkMaxLength(name, 50, "name");
   RequestCheckUtils.checkNotEmpty(templateAddFees, "templateAddFees");
   RequestCheckUtils.checkNotEmpty(templateAddStandards, "templateAddStandards");
   RequestCheckUtils.checkNotEmpty(templateDests, "templateDests");
   RequestCheckUtils.checkNotEmpty(templateStartFees, "templateStartFees");
   RequestCheckUtils.checkNotEmpty(templateStartStandards, "templateStartStandards");
   RequestCheckUtils.checkNotEmpty(templateTypes, "templateTypes");
   RequestCheckUtils.checkNotEmpty(valuation, "valuation");
 }
  public void check() throws ApiRuleException {

    RequestCheckUtils.checkNotEmpty(avaliableRoomCount, "avaliableRoomCount");
    RequestCheckUtils.checkMinValue(avaliableRoomCount, 0L, "avaliableRoomCount");
    RequestCheckUtils.checkNotEmpty(checkinDate, "checkinDate");
    RequestCheckUtils.checkNotEmpty(checkoutDate, "checkoutDate");
    RequestCheckUtils.checkNotEmpty(messageId, "messageId");
    RequestCheckUtils.checkNotEmpty(result, "result");
    RequestCheckUtils.checkNotEmpty(totalRoomPrice, "totalRoomPrice");
    RequestCheckUtils.checkMaxValue(totalRoomPrice, 99999999L, "totalRoomPrice");
    RequestCheckUtils.checkMinValue(totalRoomPrice, 0L, "totalRoomPrice");
  }
コード例 #16
0
  public void check() throws ApiRuleException {

    RequestCheckUtils.checkNotEmpty(campaignId, "campaignId");
    RequestCheckUtils.checkNotEmpty(defaultPrice, "defaultPrice");
    RequestCheckUtils.checkMinValue(defaultPrice, 5L, "defaultPrice");
    RequestCheckUtils.checkNotEmpty(imgUrl, "imgUrl");
    RequestCheckUtils.checkNotEmpty(itemId, "itemId");
    RequestCheckUtils.checkNotEmpty(title, "title");
    RequestCheckUtils.checkMaxLength(title, 40, "title");
  }
コード例 #17
0
ファイル: UmpDetailsGetRequest.java プロジェクト: khaliyo/pet
  public void check() throws ApiRuleException {

    RequestCheckUtils.checkNotEmpty(actId, "actId");
    RequestCheckUtils.checkNotEmpty(pageNo, "pageNo");
    RequestCheckUtils.checkMinValue(pageNo, 0L, "pageNo");
    RequestCheckUtils.checkNotEmpty(pageSize, "pageSize");
    RequestCheckUtils.checkMaxValue(pageSize, 50L, "pageSize");
    RequestCheckUtils.checkMinValue(pageSize, 1L, "pageSize");
  }
コード例 #18
0
  public void check() throws ApiRuleException {

    RequestCheckUtils.checkMaxLength(binds, 512, "binds");
    RequestCheckUtils.checkNotEmpty(cid, "cid");
    RequestCheckUtils.checkNotEmpty(image, "image");
    RequestCheckUtils.checkMaxLength(image, 1048576, "image");
    RequestCheckUtils.checkNotEmpty(name, "name");
    RequestCheckUtils.checkNotEmpty(price, "price");
  }
  public void check() throws ApiRuleException {

    RequestCheckUtils.checkNotEmpty(ids, "ids");
    RequestCheckUtils.checkMaxListSize(ids, 200, "ids");
    RequestCheckUtils.checkNotEmpty(prices, "prices");
    RequestCheckUtils.checkMaxListSize(prices, 200, "prices");
    RequestCheckUtils.checkNotEmpty(productId, "productId");
    RequestCheckUtils.checkNotEmpty(targetType, "targetType");
  }
コード例 #20
0
  public void check() throws ApiRuleException {

    RequestCheckUtils.checkNotEmpty(fields, "fields");
    RequestCheckUtils.checkNotEmpty(outerId, "outerId");
  }
コード例 #21
0
  public void check() throws ApiRuleException {

    RequestCheckUtils.checkNotEmpty(endTime, "endTime");
    RequestCheckUtils.checkNotEmpty(fields, "fields");
    RequestCheckUtils.checkNotEmpty(startTime, "startTime");
  }
  public void check() throws ApiRuleException {

    RequestCheckUtils.checkNotEmpty(words, "words");
    RequestCheckUtils.checkMaxListSize(words, 200, "words");
  }
コード例 #23
0
 @Override
 public void check() throws ApiRuleException {
   RequestCheckUtils.checkNotEmpty(openid, "openid");
 }
  public void check() throws ApiRuleException {

    RequestCheckUtils.checkNotEmpty(distributorUserNick, "distributorUserNick");
    RequestCheckUtils.checkNotEmpty(productIdArray, "productIdArray");
  }
コード例 #25
0
ファイル: ResetDiskRequest.java プロジェクト: kuiwang/my-dev
 @Override
 public void check() throws ApiRuleException {
   RequestCheckUtils.checkNotEmpty(diskId, "diskId");
   RequestCheckUtils.checkNotEmpty(snapshotId, "snapshotId");
 }
コード例 #26
0
  public void check() throws ApiRuleException {

    RequestCheckUtils.checkNotEmpty(fields, "fields");
    RequestCheckUtils.checkMaxLength(status, 20, "status");
    RequestCheckUtils.checkMinValue(verticalMarket, 0L, "verticalMarket");
  }
コード例 #27
0
  public void check() throws ApiRuleException {

    RequestCheckUtils.checkNotEmpty(postFee, "postFee");
    RequestCheckUtils.checkNotEmpty(tid, "tid");
  }
コード例 #28
0
 @Override
 public void check() throws ApiRuleException {
   RequestCheckUtils.checkNotEmpty(productId, "productId");
 }
コード例 #29
0
 @Override
 public void check() throws ApiRuleException {
   RequestCheckUtils.checkNotEmpty(allocationId, "allocationId");
   RequestCheckUtils.checkNotEmpty(bandwidth, "bandwidth");
 }
コード例 #30
0
  public void check() throws ApiRuleException {

    RequestCheckUtils.checkNotEmpty(startTime, "startTime");
  }