179180181182183184185186
} else { return null; } } catch (Exception e) { throw new WGBackendException("Exception reading container file data", e); } }
200201202203204205206207
md.setName(strFile.toLowerCase()); md.setSize(file.getContent().getSize()); return md; } catch (Exception e) { throw new WGBackendException("Exception retrieving file metadata for file " + strFile + " on document " + _docKey.toString(), e); } }
221222223224225226227228
} return fileNames; } catch (Exception e) { throw new WGBackendException("Exception reading container file data", e); } }
238239240241242243244245
} return (int) file.getContent().getSize(); } catch (Exception e) { throw new WGBackendException("Exception reading container file data", e); } }
255256257258259260261262
public Date getLastModified() throws WGAPIException { try { return new Date(getData().getLastModified()); } catch (Exception e) { throw new WGBackendException("Exception retrieving last modified date", e); } }
332333334335336337338339340341
return null; } catch (Exception e) { throw new WGBackendException("Exception reading file design metadata of " + _docKey.toString(), e); } }
450451452453454455456457
public Object getNativeObject() throws WGBackendException { try { return getCodeFile(); } catch (Exception e) { throw new WGBackendException("Exception retrieving native object of " + _docKey.toString(), e); } }
479480481482483484485486
public boolean isDeleted() throws WGAPIException { try { return !getCodeFile().exists(); } catch (Exception e) { throw new WGBackendException("Exception determining file deletion state", e); } }
549550551552553554555556
public boolean hasFile(String file) throws WGBackendException { try { return (getFileContainerFile(file) != null); } catch (Exception e) { throw new WGBackendException("Exception checking container file existence", e); } }
600601602603604605606607
return null; } catch (Exception e) { throw new WGBackendException("Exception retrieving attribute " + strName, e); } }