Nepomuk-Core
datamanagement.h
Go to the documentation of this file.
436 NEPOMUK_EXPORT KJob* removeDataByApplication(Nepomuk2::RemovalFlags flags = Nepomuk2::NoRemovalFlags,
485 NEPOMUK_EXPORT StoreResourcesJob* storeResources(const Nepomuk2::SimpleResourceGraph& resources,
StoreIdentificationMode
The identification mode used by storeResources().
Definition: datamanagement.h:349
When this is enabled each SimpleResource will be checked to make sure a duplicate of it does not alre...
Definition: datamanagement.h:385
Exclude related resources, only include literal properties.
Definition: datamanagement.h:402
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
Exclude discardable data, ie. data which can be re-generated.
Definition: datamanagement.h:399
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
By default storeResources() will only append data and fail if properties with cardinality 1 already h...
Definition: datamanagement.h:369
When lazy cardinalities are enabled any value that would violate a cardinality restriction is simply ...
Definition: datamanagement.h:373
RemovalFlag
Flags to influence the behaviour of the data management methods removeResources() and removeDataByApp...
Definition: datamanagement.h:235
DescribeResourcesFlag
Flags to influence the result of describeResources().
Definition: datamanagement.h:394
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
Replaces the resouce URIs which are specific to this instance of Nepomuk with blank nodes...
Definition: datamanagement.h:406
By default storeResources will only append data and fail if properties with cardinality 1 already hav...
Definition: datamanagement.h:380
StoreResourcesFlag
Flags to influence the behaviour of storeResources().
Definition: datamanagement.h:362
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
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
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
Remove sub resources of the resources specified in the parameters.
Definition: datamanagement.h:245
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.