org.eaglei.datatools.etl.server
Class RDFtoRepoService

java.lang.Object
  extended by org.eaglei.datatools.etl.server.RDFtoRepoService

public class RDFtoRepoService
extends java.lang.Object


Method Summary
 org.eaglei.datatools.config.DatatoolsConfiguration getDatatoolsConfiguration()
           
static RDFtoRepoService getInstance(org.eaglei.model.jena.JenaEIInstanceFactory instanceFactory)
           
static RDFtoRepoService getInstance(java.lang.String file, org.eaglei.model.jena.JenaEIInstanceFactory instanceFactory)
           
 java.util.List<org.eaglei.model.EIURI> getNewInstancesFromRepo(org.eaglei.security.Session session, int countofInstances)
          gets the new instance from Repo
 org.eaglei.datatools.provider.RepositoryProvider getRepositoryProvider()
           
 org.eaglei.security.Session getSession()
           
 org.eaglei.security.Session login(java.lang.String repoPath)
           
 boolean pushtoRepo(com.hp.hpl.jena.rdf.model.Model rdfModel, org.eaglei.security.Session session, java.lang.String uri, java.lang.String promoteParameter)
          pushed the Model to Repo and promotes it
 org.eaglei.datatools.provider.RepositoryProvider setPropertyFilePathAndgetNewRepoProvider(java.lang.String configFilePath)
           
 void setSession(org.eaglei.security.Session session)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRepositoryProvider

public org.eaglei.datatools.provider.RepositoryProvider getRepositoryProvider()

getDatatoolsConfiguration

public org.eaglei.datatools.config.DatatoolsConfiguration getDatatoolsConfiguration()

getInstance

public static RDFtoRepoService getInstance(java.lang.String file,
                                           org.eaglei.model.jena.JenaEIInstanceFactory instanceFactory)
                                    throws java.io.IOException
Throws:
java.io.IOException

getInstance

public static RDFtoRepoService getInstance(org.eaglei.model.jena.JenaEIInstanceFactory instanceFactory)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

pushtoRepo

public boolean pushtoRepo(com.hp.hpl.jena.rdf.model.Model rdfModel,
                          org.eaglei.security.Session session,
                          java.lang.String uri,
                          java.lang.String promoteParameter)
pushed the Model to Repo and promotes it

Parameters:
rdfModel -
session -
uri -
Returns:
Throws:
java.lang.Exception

getNewInstancesFromRepo

public java.util.List<org.eaglei.model.EIURI> getNewInstancesFromRepo(org.eaglei.security.Session session,
                                                                      int countofInstances)
gets the new instance from Repo

Parameters:
countofInstances -
Returns:
Throws:
java.lang.Exception

setPropertyFilePathAndgetNewRepoProvider

public org.eaglei.datatools.provider.RepositoryProvider setPropertyFilePathAndgetNewRepoProvider(java.lang.String configFilePath)
                                                                                          throws java.io.IOException
Throws:
java.io.IOException

login

public org.eaglei.security.Session login(java.lang.String repoPath)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

getSession

public org.eaglei.security.Session getSession()

setSession

public void setSession(org.eaglei.security.Session session)


Copyright © 2009-2011 Eagle-I. All Rights Reserved.