private JwList<String> getLocalFilenames(String path) {
    File f = new File(path);
    if (!f.exists()) return new JwList<String>();

    JwList<String> v = new JwList<String>();
    for (File e : f.listFiles()) {
      if (e.isFile()) v.add(e.getName());
    }
    return v;
  }
 public boolean composeSg5(AcEdiSegmentAbstract segment, JwList<AcEdiSegmentAbstract> segments) {
   AcEdiUpuResdit10Sg5Model sg5Model = new AcEdiUpuResdit10Sg5Model();
   sg5Model.compose(segment, segments);
   _sg5Models.add(sg5Model);
   return true;
 }
 public JwSqlInsert _checkAndComposeInsert(AcDomesticCandidateRouteTmp e) {
   JwList<AcDomesticCandidateRouteTmp> v;
   v = new JwList<AcDomesticCandidateRouteTmp>();
   v.add(e);
   return _checkAndComposeInsert(v);
 }
Пример #4
0
 public JwSqlInsert _checkAndComposeInsert(AcMobileProfile e) {
   JwList<AcMobileProfile> v;
   v = new JwList<AcMobileProfile>();
   v.add(e);
   return _checkAndComposeInsert(v);
 }
 public JwSqlInsert _checkAndComposeInsert(AcUploadDownloadFile e) {
   JwList<AcUploadDownloadFile> v;
   v = new JwList<AcUploadDownloadFile>();
   v.add(e);
   return _checkAndComposeInsert(v, false);
 }
 public JwSqlInsert _checkAndComposeInsert(AcScheduledFlightUpload e) {
   JwList<AcScheduledFlightUpload> v;
   v = new JwList<AcScheduledFlightUpload>();
   v.add(e);
   return _checkAndComposeInsert(v, false);
 }
Пример #7
0
 public JwSqlInsert _checkAndComposeInsert(AcGlobalAuditLog e) {
   JwList<AcGlobalAuditLog> v;
   v = new JwList<AcGlobalAuditLog>();
   v.add(e);
   return _checkAndComposeInsert(v, false);
 }
 private JwList<String> getMissingFilenames(
     JwList<String> sourceFilenames, JwList<String> targetFilenames) {
   JwList<String> v = new JwList<String>();
   for (String e : sourceFilenames) if (!targetFilenames.contains(e)) v.add(e);
   return v;
 }