コード例 #1
0
 @JwServicePublish
 public JwList<Integer> getItemMovementItemIds(
     AcActionTypeEnum flightItemActionType,
     Integer type,
     JwTimestamp startEffectiveUtcTs,
     JwTimestamp endEffectiveUtcTs,
     String receiveAirportFilterType,
     String receiveAirportCode,
     String deliverAirportFilterType,
     String deliverAirportCode,
     String itemMovementHashKey) {
   AcImrMovementType movementType = AcItemMovementVo.getMovementType(type);
   AcImrItemMovementReport r = new AcImrItemMovementReport(getAccess());
   return r.runItems(
       flightItemActionType,
       movementType,
       itemMovementHashKey,
       startEffectiveUtcTs,
       endEffectiveUtcTs);
 }
コード例 #2
0
 @JwServicePublish
 public JwList<AcItemMovementVo> getItemMovementReport(
     AcActionTypeEnum flightItemActionType,
     Integer type,
     JwTimestamp startEffectiveUtcTs,
     JwTimestamp endEffectiveUtcTs,
     String receiveAirportFilterType,
     String receiveAirportCode,
     String deliverAirportFilterType,
     String deliverAirportCode) {
   AcImrMovementType movementType = AcItemMovementVo.getMovementType(type);
   AcImrItemMovementReport r = new AcImrItemMovementReport(getAccess());
   JwList<AcItemMovementVo> v =
       r.run(flightItemActionType, movementType, startEffectiveUtcTs, endEffectiveUtcTs);
   filter(
       v,
       new ReceiveAirportCodeFilter(receiveAirportFilterType, receiveAirportCode),
       new DeliverAirportCodeFilter(deliverAirportFilterType, deliverAirportCode));
   return v;
 }