docs: public Collection<ProcessDefinition> getProcessesByDeploymentId(String deploymentId, QueryContext queryContext) {
  	    deploymentId = getLatestDeploymentId(requireNonNull(deploymentId, DEPLOYMENT_ID_MUST_NOT_BE_NULL));
  
          List<ProcessDefinition> outputCollection = new ArrayList<ProcessDefinition>();
          CollectionUtils.select(availableProcesses, new ByDeploymentIdPredicate(deploymentId, identityProvider.getRoles()), outputCollection);
  
          applySorting(outputCollection, queryContext);
          return applyPaginition(outputCollection, queryContext);
      }