Source:
<code>public Object get(DataFetchingEnvironment env) { String dataSetId = env.getArgument("dataSet"); String collectionUri = env.getArgument("collectionUri"); Map viewConfig = env.getArgument("summaryProperties"); ContextData contextData = env.getContext(); UserPermissionCheck userPermissionCheck = contextData.getUserPermissionCheck(); Tuple<String, String> userAndDataSet = PromotedDataSet.splitCombinedId(dataSetId); String ownerId = userAndDataSet.getLeft(); String dataSetName = userAndDataSet.getRight(); <START> Optional<DataSet> dataSet = dataSetRepository.getDataSet(userAndDataSet.getLeft(),dataSetId); <END> if (dataSet.isPresent() && userPermissionCheck.getPermissions(dataSetRepository.getDataSet(ownerId, dataSetName).get() .getMetadata()) .contains(Permission.ADMIN)) { dataSet.get().getQuadStore(); try { final String baseUri = dataSet.get().getMetadata().getBaseUri(); dataSet.get().getImportManager().generateLog( baseUri, baseUri, new StringPredicatesRdfCreator( dataSet.get().getQuadStore(), ImmutableMap.of( Tuple.tuple(collectionUri, TIM_SUMMARYTITLEPREDICATE), ofNullable((String) viewConfig.get("title")), Tuple.tuple(collectionUri, TIM_SUMMARYDESCRIPTIONPREDICATE), ofNullable((String) viewConfig.get("description")), Tuple.tuple(collectionUri, TIM_SUMMARYIMAGEPREDICATE), ofNullable((String) viewConfig.get("image")) ), baseUri ) ).get(); return new LazyTypeSubjectReference(collectionUri, dataSet.get()); } catch (LogStorageFailedException | InterruptedException | ExecutionException e) { throw new RuntimeException(e); } } else { throw new RuntimeException("Dataset does not exist"); } }</code><technical_language>I this ownerId userId try split dataSetId. I if remove overload dataSetRepository force splitting calling side</technical_language>

Target:
public Object get(DataFetchingEnvironment env) { String dataSetId = env.getArgument("dataSet"); String collectionUri = env.getArgument("collectionUri"); Map viewConfig = env.getArgument("summaryProperties"); ContextData contextData = env.getContext(); String userId = contextData.getUser().get().getPersistentId(); UserPermissionCheck userPermissionCheck = contextData.getUserPermissionCheck(); Tuple<String, String> userAndDataSet = PromotedDataSet.splitCombinedId(dataSetId); String ownerId = userAndDataSet.getLeft(); String dataSetName = userAndDataSet.getRight(); Optional<DataSet> dataSet = dataSetRepository.getDataSet(userId, ownerId,dataSetName); if (dataSet.isPresent() && userPermissionCheck.getPermissions(dataSetRepository.getDataSet(userId,ownerId, dataSetName).get() .getMetadata()) .contains(Permission.ADMIN)) { dataSet.get().getQuadStore(); try { final String baseUri = dataSet.get().getMetadata().getBaseUri(); dataSet.get().getImportManager().generateLog( baseUri, baseUri, new StringPredicatesRdfCreator( dataSet.get().getQuadStore(), ImmutableMap.of( Tuple.tuple(collectionUri, TIM_SUMMARYTITLEPREDICATE), ofNullable((String) viewConfig.get("title")), Tuple.tuple(collectionUri, TIM_SUMMARYDESCRIPTIONPREDICATE), ofNullable((String) viewConfig.get("description")), Tuple.tuple(collectionUri, TIM_SUMMARYIMAGEPREDICATE), ofNullable((String) viewConfig.get("image")) ), baseUri ) ).get(); return new LazyTypeSubjectReference(collectionUri, dataSet.get()); } catch (LogStorageFailedException | InterruptedException | ExecutionException e) { throw new RuntimeException(e); } } else { throw new RuntimeException("Dataset does not exist"); } }