<commit_before>package com.github.podd.api.file;

import java.util.Set;

import org.openrdf.model.URI;
import org.openrdf.repository.RepositoryConnection;
import org.semanticweb.owlapi.model.IRI;
import org.semanticweb.owlapi.model.OWLOntologyID;

/**
 * A manager object used to maintain file references between PODD Artifacts and the various file
 * repositories that contain the actual files.
 * 
 * @author <NAME> <EMAIL>
 * 
 */
public interface PoddFileReferenceManager
{
    void addFileReference(PoddFileReference reference);
    
    void addFileReferenceProcessorFactory(PoddFileReferenceProcessor processor);
    
    void deleteFileReference(PoddFileReference reference);
    
    Set<PoddFileReference> extractFileReferences(RepositoryConnection conn, URI... contexts);
    
    Set<PoddFileReference> getFileReferences(OWLOntologyID artifactId);
    
    Set<PoddFileReference> getFileReferences(OWLOntologyID artifactId, IRI objectIri);
    
    Set<PoddFileReference> getFileReferences(OWLOntologyID artifactId, String alias);
    
    PoddFileReferenceProcessorFactoryRegistry getProcessorFactoryRegistry();
    
    void setProcessorFactoryRegistry(PoddFileReferenceProcessorFactoryRegistry testRegistry);
    
    void verifyFileReferences(Set<PoddFileReference> fileReferenceResults, RepositoryConnection tempConn, URI openRDFURI);
}<commit_msg>cleanup PoddFileReferenceManager API<commit_after>package com.github.podd.api.file;

import java.util.Set;

import org.openrdf.model.URI;
import org.openrdf.repository.RepositoryConnection;
import org.openrdf.repository.RepositoryException;
import org.semanticweb.owlapi.model.IRI;
import org.semanticweb.owlapi.model.OWLOntologyID;

/**
 * A manager object used to maintain file references between PODD Artifacts and the various file
 * repositories that contain the actual files.
 * 
 * @author <NAME> <EMAIL>
 * 
 */
public interface PoddFileReferenceManager
{
    void addFileReference(PoddFileReference reference);
    
    void deleteFileReference(PoddFileReference reference);
    
    Set<PoddFileReference> extractFileReferences(RepositoryConnection conn, URI... contexts) throws RepositoryException;
    
    Set<PoddFileReference> getFileReferences(OWLOntologyID artifactId);
    
    Set<PoddFileReference> getFileReferences(OWLOntologyID artifactId, IRI objectIri);
    
    Set<PoddFileReference> getFileReferences(OWLOntologyID artifactId, String alias);
    
    PoddFileReferenceProcessorFactoryRegistry getFileProcessorFactoryRegistry();
    
    void setProcessorFactoryRegistry(PoddFileReferenceProcessorFactoryRegistry registry);
    
    void verifyFileReferences(Set<PoddFileReference> fileReferenceResults, RepositoryConnection tempConn, URI openRDFURI) throws RepositoryException;
}
{'fraction_non_alphanumeric': 0.0689033189033189, 'fraction_numerical': 0.0, 'mean_word_length': 5.665865384615385, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4672809', 'n_tokens_mistral': 782, 'n_tokens_neox': 750, 'n_words': 161}