public void check() throws ApiRuleException {

    RequestCheckUtils.checkMinValue(pageNo, 1L, "pageNo");
    RequestCheckUtils.checkMaxValue(pageSize, 1000L, "pageSize");
    RequestCheckUtils.checkMinValue(pageSize, 1L, "pageSize");
    RequestCheckUtils.checkNotEmpty(startTime, "startTime");
  }
  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");
  }
  public void check() throws ApiRuleException {

    RequestCheckUtils.checkNotEmpty(channelId, "channelId");
    RequestCheckUtils.checkMinValue(pageNo, 1L, "pageNo");
    RequestCheckUtils.checkMaxValue(pageSize, 100L, "pageSize");
    RequestCheckUtils.checkMinValue(pageSize, 10L, "pageSize");
  }
  public void check() throws ApiRuleException {

    RequestCheckUtils.checkMaxValue(cid, 2147483647L, "cid");
    RequestCheckUtils.checkNotEmpty(fields, "fields");
    RequestCheckUtils.checkMaxValue(pageNo, 10L, "pageNo");
    RequestCheckUtils.checkMaxValue(pageSize, 400L, "pageSize");
  }
  public void check() throws ApiRuleException {

    RequestCheckUtils.checkNotEmpty(endDate, "endDate");
    RequestCheckUtils.checkNotEmpty(serviceStaffId, "serviceStaffId");
    RequestCheckUtils.checkMaxLength(serviceStaffId, 1900, "serviceStaffId");
    RequestCheckUtils.checkNotEmpty(startDate, "startDate");
  }
  public void check() throws ApiRuleException {

    RequestCheckUtils.checkNotEmpty(fields, "fields");
    RequestCheckUtils.checkNotEmpty(refundId, "refundId");
    RequestCheckUtils.checkMaxValue(refundId, 9223372036854775807L, "refundId");
    RequestCheckUtils.checkMinValue(refundId, 1L, "refundId");
  }
 @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");
 }
Esempio n. 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");
  }
  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");
  }
 @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");
 }
  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");
  }
  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");
  }
 @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");
  }
  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");
  }
Esempio n. 17
0
  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");
  }
Esempio n. 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");
  }
Esempio n. 20
0
  public void check() throws ApiRuleException {

    RequestCheckUtils.checkNotEmpty(fields, "fields");
    RequestCheckUtils.checkNotEmpty(outerId, "outerId");
  }
  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");
  }
 @Override
 public void check() throws ApiRuleException {
   RequestCheckUtils.checkNotEmpty(openid, "openid");
 }
  public void check() throws ApiRuleException {

    RequestCheckUtils.checkNotEmpty(distributorUserNick, "distributorUserNick");
    RequestCheckUtils.checkNotEmpty(productIdArray, "productIdArray");
  }
Esempio n. 25
0
 @Override
 public void check() throws ApiRuleException {
   RequestCheckUtils.checkNotEmpty(diskId, "diskId");
   RequestCheckUtils.checkNotEmpty(snapshotId, "snapshotId");
 }
  public void check() throws ApiRuleException {

    RequestCheckUtils.checkNotEmpty(fields, "fields");
    RequestCheckUtils.checkMaxLength(status, 20, "status");
    RequestCheckUtils.checkMinValue(verticalMarket, 0L, "verticalMarket");
  }
Esempio n. 27
0
  public void check() throws ApiRuleException {

    RequestCheckUtils.checkNotEmpty(postFee, "postFee");
    RequestCheckUtils.checkNotEmpty(tid, "tid");
  }
 @Override
 public void check() throws ApiRuleException {
   RequestCheckUtils.checkNotEmpty(productId, "productId");
 }
 @Override
 public void check() throws ApiRuleException {
   RequestCheckUtils.checkNotEmpty(allocationId, "allocationId");
   RequestCheckUtils.checkNotEmpty(bandwidth, "bandwidth");
 }
  public void check() throws ApiRuleException {

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