private void save() { String webKey = getPageSession().getUspsInternationalSkeletonRouteWebKey(); Integer routeId = AcUspsInternationalSkeletonRouteOfferSummaryVoTools.getRouteIdFromWebKey(webKey); AcUspsInternationalSkeletonRouteLeg e; e = new AcUspsInternationalSkeletonRouteLeg(getAccountCode()); e.setUspsInternationalSkeletonRouteId(routeId); e.setContractNumber(_contractNumber.getValidSelectedString()); e.setLegNumber(_legNumber.getValue()); e.setRouteDepartureDayOffset(_departDayOffset.getValue()); e.setCarrierCode(_listingCarrier.getSelectedString()); e.setFlightNumber(_listingFlightNumber.getValue()); e.setOperatorCarrierCode(_operatorCarrier.getSelectedString()); e.setOperatorFlightNumber(_operatorFlightNumber.getValue()); e.setOriginAirportCode(_origin.getSelectedString()); e.setDestinationAirportCode(_destination.getSelectedString()); e.setDepartureLocalTm(_depart.getValue()); e.setArrivalLocalTm(_arrive.getValue()); e.setFlightArrivalDayOffset(_arriveDayOffset.getValue()); e.setStopCount(_stopCount.getValue()); e.setFrequency(_daysCheckboxGroup.getValue()); e.setEquipmentCode(_equipment.getSelectedString()); getUspsInternationalSkeletonRouteLegService().insert(e); }
public ScIntegerField newSequenceField(String label) { ScIntegerField e; e = new ScIntegerField(); e.setValueAdaptor(getSequenceAdaptor()); e.setLabel(label); e.setValidator(AcGpsReportTransferValidator.instance.getSequenceValidator()); return e; }
public ScIntegerField newFlightIdField(String label) { ScIntegerField e; e = new ScIntegerField(); e.setValueAdaptor(getFlightIdAdaptor()); e.setLabel(label); e.setValidator(AcFlightNumberValidator.instance.getFlightIdValidator()); return e; }
public ScIntegerField newApplicableItemCountField(String label) { ScIntegerField e; e = new ScIntegerField(); e.setValueAdaptor(getApplicableItemCountAdaptor()); e.setLabel(label); e.setValidator(AcPostSummaryVoValidator.instance.getApplicableItemCountValidator()); return e; }
public ScIntegerField newIdField(String label) { ScIntegerField e; e = new ScIntegerField(); e.setValueAdaptor(getIdAdaptor()); e.setLabel(label); e.setValidator(AcGlobalDeviceValidator.instance.getIdValidator()); return e; }
public ScIntegerField newSubscriberIdField(String label) { ScIntegerField e; e = new ScIntegerField(); e.setValueAdaptor(getSubscriberIdAdaptor()); e.setLabel(label); e.setValidator(AcBillingSubscriberBillingValidator.instance.getSubscriberIdValidator()); return e; }
public ScIntegerField newCompleteItemCountField(String label) { ScIntegerField e; e = new ScIntegerField(); e.setValueAdaptor(getCompleteItemCountAdaptor()); e.setLabel(label); e.setValidator(AcCommonFirstHandledSummaryVoValidator.instance.getCompleteItemCountValidator()); return e; }
public ScIntegerField newIdField(String label) { ScIntegerField e; e = new ScIntegerField(); e.setValueAdaptor(getIdAdaptor()); e.setLabel(label); e.setValidator(AcUspsDomesticSkeletonRouteValidator.instance.getIdValidator()); return e; }
public ScIntegerField newBatchIdField(String label) { ScIntegerField e; e = new ScIntegerField(); e.setValueAdaptor(getBatchIdAdaptor()); e.setLabel(label); e.setValidator(AcItemResultValidator.instance.getBatchIdValidator()); return e; }