@Override public long getSize() { return getRepositoryFile().getSize(); }
private boolean isUploadedFilePresent(String tenant, String fileName) { final TenantContext context = _contextFactory.getContext(tenant); final RepositoryFolder jobsFolder = context.getJobFolder(); final RepositoryFile file = jobsFolder.getFile(fileName); return (file != null && file.getSize() > 0); }