@JwServicePublish public JwList<AcItemMovementVo> getItemMovementReport( AcActionTypeEnum flightItemActionType, String receiveAirportFilterType, String receiveAirportCode, String deliverAirportFilterType, String deliverAirportCode, JwList<Integer> itemIds) { AcImrItemMovementReport r = new AcImrItemMovementReport(getAccess()); JwList<AcItemMovementVo> v = r.run(flightItemActionType, itemIds); filter( v, new ReceiveAirportCodeFilter(receiveAirportFilterType, receiveAirportCode), new DeliverAirportCodeFilter(deliverAirportFilterType, deliverAirportCode)); return v; }
@JwServicePublish public JwList<AcItemMovementVo> getItemMovementReportForCollection( AcActionTypeEnum flightItemActionType, String receiveAirportFilterType, String receiveAirportCode, String deliverAirportFilterType, String deliverAirportCode, Integer collectionId) { JwList<Integer> itemIds = getAccess().getUserCollectionItemDb().getAllIdsByUserCollectionId(collectionId); AcImrItemMovementReport r = new AcImrItemMovementReport(getAccess()); JwList<AcItemMovementVo> v = r.run(flightItemActionType, itemIds); filter( v, new ReceiveAirportCodeFilter(receiveAirportFilterType, receiveAirportCode), new DeliverAirportCodeFilter(deliverAirportFilterType, deliverAirportCode)); return v; }
@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; }
@JwServicePublish public JwList<AcItemMovementVo> getConsignmentItemMovementReport( AcActionTypeEnum flightItemActionType, Integer consignmentId) { AcImrItemMovementReport r = new AcImrItemMovementReport(getAccess()); return r.run(flightItemActionType, consignmentId); }