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 JwSqlInsert _checkAndComposeInsert(AcDomesticCandidateRouteTmp e) {
   JwList<AcDomesticCandidateRouteTmp> v;
   v = new JwList<AcDomesticCandidateRouteTmp>();
   v.add(e);
   return _checkAndComposeInsert(v);
 }
Exemplo n.º 3
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);
 }
Exemplo n.º 6
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;
 }