Class ProjectGroupBindingsRepoHelper
java.lang.Object
it.uniroma2.art.semanticturkey.user.ProjectGroupBindingsRepoHelper
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
encodeProjectName
(AbstractProject project) void
insertBinding
(ProjectGroupBinding pgBinding) Insert the given ProjectGroupBinding into the repositoryReturns the bindingsvoid
loadBindingDetails
(File bindingDetailsFile) void
saveBindingDetailsFile
(File file) Serializes the binding in the given filevoid
-
Field Details
-
logger
protected static org.slf4j.Logger logger
-
-
Constructor Details
-
ProjectGroupBindingsRepoHelper
public ProjectGroupBindingsRepoHelper()
-
-
Method Details
-
loadBindingDetails
public void loadBindingDetails(File bindingDetailsFile) throws org.eclipse.rdf4j.rio.RDFParseException, org.eclipse.rdf4j.repository.RepositoryException, IOException - Throws:
org.eclipse.rdf4j.rio.RDFParseException
org.eclipse.rdf4j.repository.RepositoryException
IOException
-
insertBinding
Insert the given ProjectGroupBinding into the repository- Parameters:
pgBinding
-
-
listPGBindings
Returns the bindings- Returns:
-
saveBindingDetailsFile
Serializes the binding in the given file- Parameters:
file
-- Throws:
IOException
-
shutDownRepository
public void shutDownRepository() -
encodeProjectName
-