isPublic(permittedGroup), fileMetadata, inputStream);
!isPublic(permittedGroup), fileMetadata, inputStream);
    public void run(Item item, InputStream inputStream, String originalFilename,            String displayName, Group permittedGroup)            throws FenixServiceException, ExcepcaoPersistencia, DomainException {        ExecutionCourseSite site = (ExecutionCourseSite) item.getSection().getSite();                final FilePath filePath = getFilePath(item);        final FileMetadata fileMetadata = new FileMetadata(displayName, site                .getExecutionCourse().getNome());        final IFileManager fileManager = FileManagerFactory.getFileManager();        final FileDescriptor fileDescriptor = fileManager.saveFile(filePath, originalFilename,                isPublic(permittedGroup), fileMetadata, inputStream);                new FileItem(item, fileDescriptor.getFilename(), displayName, fileDescriptor.getMimeType(),                fileDescriptor.getChecksum(), fileDescriptor.getChecksumAlgorithm(), fileDescriptor                        .getSize(), fileDescriptor.getUniqueId(), permittedGroup);    }