Date fcreationDate = null;
if (fo.get("creationDate") != null)
fcreationDate = new Date(new Long(fo.get("creationDate").toString()));
+ Date fmodificationDate = null;
+ if (fo.get("modificationDate") != null)
+ fmodificationDate = new Date(new Long(fo.get("modificationDate").toString()));
String furi = unmarshallString(fo,"uri");
Long fsize = 0L;
if(fo.get("size") != null)
fs.setContentLength(fsize);
fs.setDeleted(fdeleted);
fs.setCreationDate(fcreationDate);
+ fs.setModificationDate(fmodificationDate);
fs.setContentType(fcontent);
files.add(fs);
}
Date fcreationDate = null;
if (fo.get("creationDate") != null)
fcreationDate = new Date(new Long(fo.get("creationDate").toString()));
+ Date fmodificationDate = null;
+ if (fo.get("modificationDate") != null)
+ fmodificationDate = new Date(new Long(fo.get("modificationDate").toString()));
String furi = unmarshallString(fo,"uri");
Long fsize = 0L;
if(fo.get("size") != null)
fs.setContentLength(fsize);
fs.setDeleted(fdeleted);
fs.setCreationDate(fcreationDate);
+ fs.setModificationDate(fmodificationDate);
fs.setContentType(fcontent);
files.add(fs);
}
Date fcreationDate = null;
if (fo.get("creationDate") != null)
fcreationDate = new Date(new Long(fo.get("creationDate").toString()));
+ Date fmodificationDate = null;
+ if (fo.get("modificationDate") != null)
+ fmodificationDate = new Date(new Long(fo.get("modificationDate").toString()));
String furi = unmarshallString(fo,"uri");
Long fsize = 0L;
if(fo.get("size") != null)
fs.setDeleted(fdeleted);
fs.setPath(fpath);
fs.setCreationDate(fcreationDate);
+ fs.setModificationDate(fmodificationDate);
fs.setContentType(fcontent);
files.add(fs);
}
put("size", f.getFileSize()).
put("content", f.getMimeType()).
put("creationDate", f.getAuditInfo().getCreationDate().getTime()).
+ put("modificationDate", f.getAuditInfo().getModificationDate().getTime()).
put("path", f.getFolder().getPath()).
put("uri", getApiRoot() + f.getURI());
files.add(j);
put("content", f.getMimeType()).
put("path", f.getFolder().getPath()).
put("creationDate", f.getAuditInfo().getCreationDate().getTime()).
+ put("modificationDate", f.getAuditInfo().getModificationDate().getTime()).
put("uri", getApiRoot() + f.getURI());
JSONObject jf = new JSONObject();
jf.put("uri", getApiRoot() + f.getFolder().getURI()).
put("content", f.getMimeType()).
put("path", f.getFolder().getPath()).
put("creationDate", f.getAuditInfo().getCreationDate().getTime()).
+ put("modificationDate", f.getAuditInfo().getModificationDate().getTime()).
put("uri", getApiRoot() + f.getURI());
JSONObject p = new JSONObject();
p.put("uri", getApiRoot() + f.getFolder().getURI()).