- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {ArrayList a =
new ArrayList<String>()
new ArrayList()
new ArrayList<Object>()
- Smart code suggestions by Codota
}
/** * Looks to see if a path is contained in the repository. */ public Long findInDb(SqlAction sql, RepoFile repoFile, boolean scriptsOnly) { return sql.findRepoFile(uuid, repoFile.dirname(), repoFile.basename(), scriptsOnly ? mimetypes : null); }
id = sql.findRepoFile(repoUuid, checked.getRelativePath(), checked.getName());
public ome.model.core.OriginalFile findRepoFile(ServiceFactory sf, SqlAction sql, final String uuid, final CheckedPath checked, final String mimetype) { Long id = sql.findRepoFile(uuid, checked.getRelativePath(), checked.getName(), mimetype); if (id == null) { return null; } else { return sf.getQueryService().get( ome.model.core.OriginalFile.class, id); } }
Long id = sql.findRepoFile(repoUuid, checked.getRelativePath(), checked.getName()); sw.stop("omero.repo.file.find");
final Long parentId = sql.findRepoFile(repoUuid, parent.getRelativePath(), parent.getName());