Nepomuk-Core
datamanagementcommand.h
Go to the documentation of this file.
166 = model()->storeResources(m_resources, m_app, m_identificationMode, m_flags, m_additionalMetadata);
341 return QVariant::fromValue(model()->describeResources(m_resources, m_flags, m_targetParties).toList());
372 model()->importResources(m_url, m_app, m_serialization, m_userSerialization, m_identificationMode, m_flags, m_additionalProperties);
404 return QVariant::fromValue(model()->exportResources(m_resources, m_serialization, m_userSerialization, m_flags, m_targetParties));
StoreIdentificationMode
The identification mode used by storeResources().
Definition: datamanagement.h:349
RemoveResourcesCommand(const QList< QUrl > &res, const QString &app, int flags, Nepomuk2::DataManagementModel *model, const QDBusMessage &msg)
Definition: datamanagementcommand.h:305
AddPropertyCommand(const QList< QUrl > &res, const QUrl &property, const QVariantList &values, const QString &app, Nepomuk2::DataManagementModel *model, const QDBusMessage &msg)
Definition: datamanagementcommand.h:69
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
CreateResourceCommand(const QList< QUrl > &resources, const QString &label, const QString &desc, const QString &app, Nepomuk2::DataManagementModel *model, const QDBusMessage &msg)
Definition: datamanagementcommand.h:123
void mergeResources(const QList< QUrl > &resources, const QString &app)
Merges all the resources into one.
Definition: datamanagementmodel.cpp:1608
RemoveDataByApplicationCommand(const QString &app, int flags, Nepomuk2::DataManagementModel *model, const QDBusMessage &msg)
Definition: datamanagementcommand.h:233
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
MergeResourcesCommand(const QList< QUrl > &resources, const QString &app, Nepomuk2::DataManagementModel *model, const QDBusMessage &msg)
Definition: datamanagementcommand.h:188
void setProperty(const QList< QUrl > &resources, const QUrl &property, const QVariantList &values, const QString &app)
Set, ie.
Definition: datamanagementmodel.cpp:465
DataManagementCommand(DataManagementModel *model, const QDBusMessage &msg)
Definition: datamanagementcommand.cpp:49
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
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
DescribeResourcesCommand(const QList< QUrl > &res, Nepomuk2::DescribeResourcesFlags flags, const QList< QUrl > &targetParties, Nepomuk2::DataManagementModel *model, const QDBusMessage &msg)
Definition: datamanagementcommand.h:329
DataManagementModel * model() const
Definition: datamanagementcommand.h:50
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
RemovePropertiesCommand(const QList< QUrl > &res, const QList< QUrl > &properties, const QString &app, Nepomuk2::DataManagementModel *model, const QDBusMessage &msg)
Definition: datamanagementcommand.h:254
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
virtual ~DataManagementCommand()
Definition: datamanagementcommand.cpp:56
ExportResourcesCommand(const QList< QUrl > &res, Soprano::RdfSerialization serialization, const QString &userSerialization, Nepomuk2::DescribeResourcesFlags flags, const QList< QUrl > &targetParties, Nepomuk2::DataManagementModel *model, const QDBusMessage &msg)
Definition: datamanagementcommand.h:388
SetPropertyCommand(const QList< QUrl > &res, const QUrl &property, const QVariantList &values, const QString &app, Nepomuk2::DataManagementModel *model, const QDBusMessage &msg)
Definition: datamanagementcommand.h:96
QList< QUrl > decodeUrls(const QStringList &urlStrings)
Definition: datamanagementcommand.cpp:103
ImportResourcesCommand(const QUrl &url, Soprano::RdfSerialization serialization, const QString &userSerialization, int identificationMode, int flags, const PropertyHash &additionalProps, const QString &app, Nepomuk2::DataManagementModel *model, const QDBusMessage &msg)
Definition: datamanagementcommand.h:352
RemovePropertyCommand(const QList< QUrl > &res, const QUrl &property, const QVariantList &values, const QString &app, Nepomuk2::DataManagementModel *model, const QDBusMessage &msg)
Definition: datamanagementcommand.h:278
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
StoreResourcesCommand(const SimpleResourceGraph &resources, const QString &app, int identificationMode, int flags, const QHash< QUrl, QVariant > &additionalMetadata, Nepomuk2::DataManagementModel *model, const QDBusMessage &msg)
Definition: datamanagementcommand.h:149
QUrl decodeUrl(const QString &urlsString)
Definition: datamanagementcommand.cpp:96
RemoveResourcesByApplicationCommand(const QList< QUrl > &res, const QString &app, int flags, Nepomuk2::DataManagementModel *model, const QDBusMessage &msg)
Definition: datamanagementcommand.h:209
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.