use of de.metas.ui.web.document.filter.provider.DocumentFilterDescriptorsProvidersService in project metasfresh-webui-api by metasfresh.
the class DataEntryTabLoaderTest method createDataEntryTabLoader.
private static DataEntryTabLoader createDataEntryTabLoader() {
final WindowId windowId = WindowId.of(5);
final DataEntryWebuiTools dataEntryWebuiTools = new DataEntryWebuiTools(new UserRepository());
final JSONDataEntryRecordMapper jsonDataEntryRecordMapper = new JSONDataEntryRecordMapper();
final DataEntryRecordRepository dataEntryRecordRepository = new DataEntryRecordRepository(jsonDataEntryRecordMapper);
final DataEntrySubTabBindingDescriptorBuilder //
dataEntrySubTabBindingDescriptorBuilder = new DataEntrySubTabBindingDescriptorBuilder(dataEntryRecordRepository, dataEntryWebuiTools);
return DataEntryTabLoader.builder().filterDescriptorsProvidersService(new DocumentFilterDescriptorsProvidersService(ImmutableList.of())).windowId(windowId).adWindowId(windowId.toAdWindowIdOrNull()).dataEntrySubTabBindingDescriptorBuilder(dataEntrySubTabBindingDescriptorBuilder).build();
}
Aggregations