Пример #1
0
 public void checkRuleAud() {
   if (ruleAud == null) throw REQUEST_MISSING_VALUE.exception("rule");
   if (!ruleAud.getAllowed())
     throw REQUEST_NOT_ALLOWED.exception(goods.getName(), arrival.getName());
 }
Пример #2
0
 public void checkArrival() {
   if (arrival == null) throw REQUEST_MISSING_VALUE.exception("arrival");
 }
Пример #3
0
 public void checkDeparture() {
   if (departure == null) throw REQUEST_MISSING_VALUE.exception("departure");
 }
Пример #4
0
 public void checkGoods() {
   if (goods == null) throw REQUEST_MISSING_VALUE.exception("goods");
 }
Пример #5
0
 public void checkCustomer() {
   if (customer == null) throw REQUEST_MISSING_VALUE.exception("customer");
 }
Пример #6
0
 public void checkReference() {
   if (StringUtils.isEmpty(reference)) throw REQUEST_MISSING_VALUE.exception("reference");
 }