class DocumentsServiceImpl extends AbstractProjectServiceImpl implements DocumentsService {

    @Override
    public ServiceResult<FileEntryResource> getFileEntryDetails(long projectId, long documentConfigId) {
        return getProject(projectId)
                .andOnSuccessReturn(project -> fileEntryMapper.mapToResource(getFileEntry(project, documentConfigId)));
    }

}