Package org.corrib.s3b.sscf.tools

Examples of org.corrib.s3b.sscf.tools.PathFinder


    for(ChangeBean change:changes)
    {
      List<ChangeLogBean> results = new ArrayList<ChangeLogBean>();
     
      //get paths
      PathFinder pf = PathFinder.getInstance(dirUri, false);
     
      //changed element will be only once
      results.add(new ChangeLogBean(this.dirUri,0));
     
      Map<String, Set<List<String>>> paths = pf.getAllPaths();
     
      //generate list of changes
      Set<String> mboxes = paths.keySet();
     
      for(String mbox:mboxes)
View Full Code Here


    //String query = SscfRdfQuery.RDF_FILTER_PARENTS_BY_URI.toString();
   
    //QueryResultsTable results = SesameDbFace.getDbFace().performTableQuery(query,
    //  uri,S3B_SSCF.isIn);
   
    PathFinder pf = PathFinder.getInstance(uri,withRecom);
   
    //get found paths returns the result without recommendations
    int result = pf.getFoundPaths();
    //add recommendations, but only for the person which invoked the question
    // it is because others do not see the person's recommendations
    if(withRecom&&person!=null&&!"".equals(person))
      result+=pf.recommendationsCount(person);
   
    return result;
 
View Full Code Here

TOP

Related Classes of org.corrib.s3b.sscf.tools.PathFinder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.