Class UsersGroupsRepoHelper
java.lang.Object
it.uniroma2.art.semanticturkey.user.UsersGroupsRepoHelper
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
insertGroup
(UsersGroup group) Insert the given group into the repositoryReturns a list of all the users into the repositoryvoid
loadGroupDetails
(File groupDetailsFile) void
saveGroupDetailsFile
(File file) Serialize the content of the repository in the given filevoid
-
Field Details
-
logger
protected static org.slf4j.Logger logger
-
-
Constructor Details
-
UsersGroupsRepoHelper
public UsersGroupsRepoHelper()
-
-
Method Details
-
loadGroupDetails
public void loadGroupDetails(File groupDetailsFile) throws org.eclipse.rdf4j.rio.RDFParseException, org.eclipse.rdf4j.repository.RepositoryException, IOException - Throws:
org.eclipse.rdf4j.rio.RDFParseException
org.eclipse.rdf4j.repository.RepositoryException
IOException
-
listGroups
Returns a list of all the users into the repository- Returns:
- Throws:
ParseException
-
insertGroup
Insert the given group into the repository- Parameters:
group
-
-
saveGroupDetailsFile
Serialize the content of the repository in the given file- Parameters:
file
-- Throws:
IOException
-
shutDownRepository
public void shutDownRepository()
-