public void check() throws ApiRuleException {

    RequestCheckUtils.checkNotEmpty(merchantOrderNo, "merchantOrderNo");
    RequestCheckUtils.checkMaxLength(merchantOrderNo, 32, "merchantOrderNo");
    RequestCheckUtils.checkNotEmpty(orderType, "orderType");
    RequestCheckUtils.checkMaxLength(orderType, 10, "orderType");
  }
Пример #2
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");
  }
Пример #3
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(endDate, "endDate");
    RequestCheckUtils.checkNotEmpty(serviceStaffId, "serviceStaffId");
    RequestCheckUtils.checkMaxLength(serviceStaffId, 1900, "serviceStaffId");
    RequestCheckUtils.checkNotEmpty(startDate, "startDate");
  }
 @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");
 }
Пример #6
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");
  }
  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");
  }
  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");
  }
Пример #10
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(fields, "fields");
    RequestCheckUtils.checkMaxLength(status, 20, "status");
    RequestCheckUtils.checkMinValue(verticalMarket, 0L, "verticalMarket");
  }
Пример #12
0
  public void check() throws ApiRuleException {

    RequestCheckUtils.checkNotEmpty(orderCode, "orderCode");
    RequestCheckUtils.checkMaxLength(orderCode, 64, "orderCode");
  }
 @Override
 public void check() throws ApiRuleException {
   RequestCheckUtils.checkNotEmpty(word, "word");
   RequestCheckUtils.checkMaxLength(word, 12, "word");
 }
Пример #14
0
 @Override
 public void check() throws ApiRuleException {
   RequestCheckUtils.checkNotEmpty(domestic, "domestic");
   RequestCheckUtils.checkMaxLength(name, 60, "name");
 }
  public void check() throws ApiRuleException {

    RequestCheckUtils.checkNotEmpty(gid, "gid");
    RequestCheckUtils.checkNotEmpty(pic, "pic");
    RequestCheckUtils.checkMaxLength(pic, 512000, "pic");
  }