Nepomuk-Core
datamanagementmodel.h
Go to the documentation of this file.
259 QUrl createGraph(const QString& app, const QMultiHash<QUrl, Soprano::Node>& additionalMetadata);
289 QHash<QUrl, QList<Soprano::Node> > addProperty(const QList<QUrl>& resources, const QUrl& property,
322 QList<QUrl> resolveUrls(const QList< QUrl >& urls, const QString& app, bool statLocalFiles = true);
StoreIdentificationMode
The identification mode used by storeResources().
Definition: datamanagement.h:349
Definition: resourcemerger.h:45
Definition: typecache.h:34
QHash< QUrl, QUrl > storeResources(const SimpleResourceGraph &resources, const QString &app, Nepomuk2::StoreIdentificationMode identificationMode=Nepomuk2::IdentifyNew, Nepomuk2::StoreResourcesFlags flags=Nepomuk2::NoStoreResourcesFlags, const QHash< QUrl, QVariant > &additionalMetadata=(QHash< QUrl, QVariant >()))
Definition: datamanagementmodel.cpp:1285
void removeResources(const QList< QUrl > &resources, Nepomuk2::RemovalFlags flags, const QString &app)
Remove resources from the database.
Definition: datamanagementmodel.cpp:907
void mergeResources(const QList< QUrl > &resources, const QString &app)
Merges all the resources into one.
Definition: datamanagementmodel.cpp:1608
~DataManagementModel()
Definition: datamanagementmodel.cpp:268
void removeProperty(const QList< QUrl > &resources, const QUrl &property, const QVariantList &values, const QString &app)
Remove the property property with values from each resource in resources.
Definition: datamanagementmodel.cpp:617
void setProperty(const QList< QUrl > &resources, const QUrl &property, const QVariantList &values, const QString &app)
Set, ie.
Definition: datamanagementmodel.cpp:465
QString exportResources(const QList< QUrl > &resources, Soprano::RdfSerialization serialization, const QString &userSerialization=QString(), DescribeResourcesFlags flags=NoDescribeResourcesFlags, const QList< QUrl > &targetParties=QList< QUrl >())
Export a set of resources, i.e.
Definition: datamanagementmodel.cpp:1925
QUrl createResource(const QList< QUrl > &types, const QString &label, const QString &description, const QString &app)
Create a new resource with several types.
Definition: datamanagementmodel.cpp:814
SimpleResourceGraph describeResources(const QList< QUrl > &resources, DescribeResourcesFlags flags=NoDescribeResourcesFlags, const QList< QUrl > &targetParties=QList< QUrl >())
Describe a set of resources, i.e.
Definition: datamanagementmodel.cpp:1711
void addProperty(const QList< QUrl > &resources, const QUrl &property, const QVariantList &values, const QString &app)
Add property with values to each resource from resources.
Definition: datamanagementmodel.cpp:321
void importResources(const QUrl &url, const QString &app, Soprano::RdfSerialization serialization, const QString &userSerialization=QString(), Nepomuk2::StoreIdentificationMode identificationMode=Nepomuk2::IdentifyNew, Nepomuk2::StoreResourcesFlags flags=Nepomuk2::NoStoreResourcesFlags, const QHash< QUrl, QVariant > &additionalMetadata=(QHash< QUrl, QVariant >()))
Import an RDF graph from a URL.
Definition: datamanagementmodel.cpp:1558
DataManagementModel(ClassAndPropertyTree *tree, Soprano::Model *model, QObject *parent=0)
Definition: datamanagementmodel.cpp:211
void removeDataByApplication(const QList< QUrl > &resources, RemovalFlags flags, const QString &app)
Remove all information about resources from the database which have been created by a specific applic...
Definition: datamanagementmodel.cpp:948
void clearCache()
Clear the internal cache present in the model.
Definition: datamanagementmodel.cpp:247
QUrl nepomukGraph()
Definition: datamanagementmodel.cpp:2608
ResourceWatcherManager * resourceWatcherManager() const
used by the unit tests
Definition: datamanagementmodel.cpp:2598
void removeProperties(const QList< QUrl > &resources, const QList< QUrl > &properties, const QString &app)
Remove all statements involving any proerty from properties from all resources in resources...
Definition: datamanagementmodel.cpp:713
TypeCache * typeCache()
Definition: datamanagementmodel.cpp:2603
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.