it.polito.elite.doseWS.kernel
Interface AnnoRepository

All Known Implementing Classes:
AnnoRepositoryImpl

public interface AnnoRepository

The interface defining the exported functionalities of the Annotation Repository

Since:
11/2004
Version:
1.0
Author:
Dario Bonino Alessio Bosca Federico Pescarmona Michele Debandi

Method Summary
 int addAnnotation(java.lang.String fragmentURI, java.lang.String fragmentXpath, java.lang.String conceptURI, double weight, java.lang.String author, java.lang.String type)
           
 int addAnnotations(java.lang.String fragmentURI, java.lang.String fragmentXpath, java.util.Hashtable conceptURIandWeights, java.lang.String author, java.lang.String type)
           
 int remove(java.lang.String uri, java.lang.String xPath, java.lang.String author)
           
 java.util.Vector reverseSearch(java.lang.String fragmentURI, java.lang.String fragmentXPath)
           
 java.util.Vector searchByTopic(java.util.Vector topicURIs, java.util.Vector authors, java.lang.String type, double strict)
           
 

Method Detail

remove

public int remove(java.lang.String uri,
                  java.lang.String xPath,
                  java.lang.String author)
           throws java.lang.Exception
Throws:
java.lang.Exception

addAnnotations

public int addAnnotations(java.lang.String fragmentURI,
                          java.lang.String fragmentXpath,
                          java.util.Hashtable conceptURIandWeights,
                          java.lang.String author,
                          java.lang.String type)
                   throws java.lang.Exception
Throws:
java.lang.Exception

addAnnotation

public int addAnnotation(java.lang.String fragmentURI,
                         java.lang.String fragmentXpath,
                         java.lang.String conceptURI,
                         double weight,
                         java.lang.String author,
                         java.lang.String type)
                  throws java.lang.Exception
Throws:
java.lang.Exception

searchByTopic

public java.util.Vector searchByTopic(java.util.Vector topicURIs,
                                      java.util.Vector authors,
                                      java.lang.String type,
                                      double strict)

reverseSearch

public java.util.Vector reverseSearch(java.lang.String fragmentURI,
                                      java.lang.String fragmentXPath)