Nepomuk-Core
datamanagement.cpp
Go to the documentation of this file.
144 Nepomuk2::StoreResourcesJob* Nepomuk2::storeResources(const Nepomuk2::SimpleResourceGraph& resources,
StoreIdentificationMode
The identification mode used by storeResources().
Definition: datamanagement.h:349
KJob * addProperty(const QList< QUrl > &resources, const QUrl &property, const QVariantList &values, const KComponentData &component=KGlobal::mainComponent())
Add one or more property values to one or more resources.
Definition: datamanagement.cpp:36
QVariantList normalizeVariantList(const QVariantList &l)
Replaces KUrl with QUrl for DBus marshalling.
Definition: dbustypes.cpp:46
KJob * importResources(const KUrl &url, Soprano::RdfSerialization serialization, const QString &userSerialization=QString(), StoreIdentificationMode identificationMode=IdentifyNew, StoreResourcesFlags flags=NoStoreResourcesFlags, const QHash< QUrl, QVariant > &additionalMetadata=QHash< QUrl, QVariant >(), const KComponentData &component=KGlobal::mainComponent())
Import an RDF graph from a URL.
Definition: datamanagement.cpp:154
KJob * removeProperty(const QList< QUrl > &resources, const QUrl &property, const QVariantList &values, const KComponentData &component=KGlobal::mainComponent())
Remove values of a property from one or more resources.
Definition: datamanagement.cpp:61
KJob * mergeResources(const QUrl &resource1, const QUrl &resource2, const KComponentData &component=KGlobal::mainComponent())
Merge two resources into one.
Definition: datamanagement.cpp:125
QStringList convertUriList(const QList< QUrl > &uris)
Definition: dbustypes.cpp:38
DescribeResourcesJob * describeResources(const QList< QUrl > &resources, DescribeResourcesFlags flags=NoDescribeResourcesFlags, const QList< QUrl > &targetParties=QList< QUrl >())
Retrieve all information about a set of resources.
Definition: datamanagement.cpp:171
StoreResourcesJob * storeResources(const Nepomuk2::SimpleResourceGraph &resources, Nepomuk2::StoreIdentificationMode identificationMode=Nepomuk2::IdentifyNew, Nepomuk2::StoreResourcesFlags flags=Nepomuk2::NoStoreResourcesFlags, const QHash< QUrl, QVariant > &additionalMetadata=QHash< QUrl, QVariant >(), const KComponentData &component=KGlobal::mainComponent())
Store many resources at once.
Definition: datamanagement.cpp:144
Job returned by Nepomuk2::describeResources().
Definition: describeresourcesjob.h:48
KJob * removeProperties(const QList< QUrl > &resources, const QList< QUrl > &properties, const KComponentData &component=KGlobal::mainComponent())
Remove one or more properties from one or more resources.
Definition: datamanagement.cpp:74
Job returned by Nepomuk2::createResource().
Definition: createresourcejob.h:47
KJob * removeResources(const QList< QUrl > &resources, Nepomuk2::RemovalFlags flags=Nepomuk2::NoRemovalFlags, const KComponentData &component=KGlobal::mainComponent())
Completely remove resources from the database.
KJob * setProperty(const QList< QUrl > &resources, const QUrl &property, const QVariantList &values, const KComponentData &component=KGlobal::mainComponent())
Set the values of a property for one or more resources.
Definition: datamanagement.cpp:48
CreateResourceJob * createResource(const QList< QUrl > &types, const QString &label, const QString &description, const KComponentData &component=KGlobal::mainComponent())
Create a new resource.
Definition: datamanagement.cpp:85
KJob * removeDataByApplication(const QList< QUrl > &resources, Nepomuk2::RemovalFlags flags=Nepomuk2::NoRemovalFlags, const KComponentData &component=KGlobal::mainComponent())
Remove all information about resources from the database which has been created by a specific applica...
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.