org.eaglei.datatools.etl.server
Class RepoService
java.lang.Object
org.eaglei.datatools.etl.server.RepoService
public class RepoService
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_CREATE_TRANSITION
public static final org.eaglei.model.EIEntity DEFAULT_CREATE_TRANSITION
SENT_TO_CURATION_TRANSITION
public static final org.eaglei.model.EIEntity SENT_TO_CURATION_TRANSITION
PUBLISH_TRANSITION
public static final org.eaglei.model.EIEntity PUBLISH_TRANSITION
getRepositoryProvider
public org.eaglei.datatools.provider.RepositoryProvider getRepositoryProvider()
getRepositorySecurityProvider
public org.eaglei.datatools.jena.FooRepositorySecurityProvider getRepositorySecurityProvider()
getDatatoolsConfiguration
public org.eaglei.datatools.config.DatatoolsConfiguration getDatatoolsConfiguration()
getInstance
public static RepoService getInstance(java.lang.String file,
org.eaglei.model.jena.JenaEIInstanceFactory instanceFactory,
org.eaglei.services.repository.SecurityProvider generalSecurityProvider)
throws java.lang.Exception
- Throws:
java.lang.Exception
workFlowTansistion
public boolean workFlowTansistion(org.eaglei.model.EIURI resource,
Loader.Promote promote)
throws java.lang.Exception
- Throws:
java.lang.Exception
workFlowTansistion
public boolean workFlowTansistion(java.util.List<org.eaglei.model.EIURI> lstResource,
Loader.Promote promote)
throws java.lang.Exception
- Throws:
java.lang.Exception
getInstance
public static RepoService getInstance(org.eaglei.model.jena.JenaEIInstanceFactory instanceFactory,
org.eaglei.services.repository.SecurityProvider generalSecurityProvider)
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)
throws java.lang.Exception
- pushed the Model to Repo and promotes it
- Parameters:
rdfModel - session - uri -
- Returns:
-
- Throws:
java.lang.Exception
pushToRepo
public boolean pushToRepo(org.eaglei.model.EIInstance instance)
throws java.lang.Exception
- Throws:
java.lang.Exception
pushToRepo
public boolean pushToRepo(java.lang.String rdfString,
java.lang.String instanceUri)
throws org.eaglei.services.repository.RepositoryProviderException
- Throws:
org.eaglei.services.repository.RepositoryProviderException
query
public java.lang.String query(java.lang.String query)
throws java.lang.Exception
- Throws:
java.lang.Exception
getNewInstancesFromRepo
public java.util.List<org.eaglei.model.EIURI> getNewInstancesFromRepo(int countofInstances)
- gets the new instance from Repo
- Parameters:
countofInstances -
- Returns:
-
- Throws:
java.lang.Exception
setPropertyFilePathAndgetNewRepoProvider
public void 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
getNewResourceFromRepository
public com.hp.hpl.jena.rdf.model.Resource getNewResourceFromRepository(com.hp.hpl.jena.rdf.model.Model modelTocreateStatments)
getSession
public org.eaglei.security.Session getSession()
setSession
public void setSession(org.eaglei.security.Session session)
getRepoConfigFile
public java.lang.String getRepoConfigFile()
Copyright © 2009-2011 Eagle-I. All Rights Reserved.