Nepomuk-Core
#include <datamanagementadaptor.h>
Public Slots | |
Q_SCRIPTABLE void | addProperty (const QStringList &resources, const QString &property, const QVariantList &values, const QString &app) |
Q_SCRIPTABLE void | addProperty (const QString &resource, const QString &property, const QDBusVariant &value, const QString &app) |
Q_SCRIPTABLE void | clearCache () |
Q_SCRIPTABLE QString | createResource (const QStringList &types, const QString &label, const QString &description, const QString &app) |
Q_SCRIPTABLE QString | createResource (const QString &type, const QString &label, const QString &description, const QString &app) |
Q_SCRIPTABLE QList < Nepomuk2::SimpleResource > | describeResources (const QStringList &resources, int flags, const QStringList &targetParties) |
Q_SCRIPTABLE QString | exportResources (const QStringList &resources, const QString &mimeType, int flags, const QStringList &targetParties) |
Q_SCRIPTABLE void | importResources (const QString &url, const QString &serialization, int identificationMode, int flags, const Nepomuk2::PropertyHash &additionalMetadata, const QString &app) |
Q_SCRIPTABLE void | importResources (const QString &url, const QString &serialization, int identificationMode, int flags, const QString &app) |
Q_SCRIPTABLE void | mergeResources (const QString &resource1, const QString &resource2, const QString &app) |
Q_SCRIPTABLE void | mergeResources (const QStringList &resources, const QString &app) |
Q_SCRIPTABLE void | removeDataByApplication (int flags, const QString &app) |
Q_SCRIPTABLE void | removeDataByApplication (const QStringList &resources, int flags, const QString &app) |
Q_SCRIPTABLE void | removeProperties (const QStringList &resources, const QStringList &properties, const QString &app) |
Q_SCRIPTABLE void | removeProperties (const QString &resource, const QString &property, const QString &app) |
Q_SCRIPTABLE void | removeProperty (const QStringList &resources, const QString &property, const QVariantList &values, const QString &app) |
Q_SCRIPTABLE void | removeProperty (const QString &resource, const QString &property, const QDBusVariant &value, const QString &app) |
Q_SCRIPTABLE void | removeResources (const QStringList &resources, int flags, const QString &app) |
Q_SCRIPTABLE void | removeResources (const QString &resource, int flags, const QString &app) |
Q_SCRIPTABLE void | setProperty (const QStringList &resources, const QString &property, const QVariantList &values, const QString &app) |
Q_SCRIPTABLE void | setProperty (const QString &resource, const QString &property, const QDBusVariant &value, const QString &app) |
Q_SCRIPTABLE QHash< QString, QString > | storeResources (const QList< Nepomuk2::SimpleResource > &resources, int identificationMode, int flags, const Nepomuk2::PropertyHash &additionalMetadata, const QString &app) |
Public Member Functions | |
DataManagementAdaptor (Nepomuk2::DataManagementModel *parent) | |
~DataManagementAdaptor () | |
QUrl | decodeUri (const QString &s, bool namespaceAbbrExpansion=true) const |
QList< QUrl > | decodeUris (const QStringList &s, bool namespaceAbbrExpansion=true) const |
void | setPrefixes (const QHash< QString, QString > &prefixes) |
Detailed Description
Definition at line 47 of file datamanagementadaptor.h.
Constructor & Destructor Documentation
Nepomuk2::DataManagementAdaptor::DataManagementAdaptor | ( | Nepomuk2::DataManagementModel * | parent | ) |
Definition at line 44 of file datamanagementadaptor.cpp.
Nepomuk2::DataManagementAdaptor::~DataManagementAdaptor | ( | ) |
Definition at line 68 of file datamanagementadaptor.cpp.
Member Function Documentation
|
slot |
Definition at line 74 of file datamanagementadaptor.cpp.
|
slot |
Definition at line 81 of file datamanagementadaptor.cpp.
|
slot |
Definition at line 256 of file datamanagementadaptor.cpp.
|
slot |
Definition at line 86 of file datamanagementadaptor.cpp.
|
slot |
Definition at line 95 of file datamanagementadaptor.cpp.
QUrl Nepomuk2::DataManagementAdaptor::decodeUri | ( | const QString & | s, |
bool | namespaceAbbrExpansion = true |
||
) | const |
Tries to decode a URI including namespace abbreviation lookup for known ontologies (Example: nao:Tag).
Definition at line 202 of file datamanagementadaptor.cpp.
QList< QUrl > Nepomuk2::DataManagementAdaptor::decodeUris | ( | const QStringList & | s, |
bool | namespaceAbbrExpansion = true |
||
) | const |
Tries to decode a list of URIs including namespace abbreviation lookup for known ontologies (Example: nao:Tag).
Definition at line 219 of file datamanagementadaptor.cpp.
|
slot |
Definition at line 100 of file datamanagementadaptor.cpp.
|
slot |
Definition at line 247 of file datamanagementadaptor.cpp.
|
slot |
Definition at line 240 of file datamanagementadaptor.cpp.
|
slot |
Definition at line 235 of file datamanagementadaptor.cpp.
|
slot |
Definition at line 119 of file datamanagementadaptor.cpp.
|
slot |
Definition at line 128 of file datamanagementadaptor.cpp.
|
slot |
Definition at line 135 of file datamanagementadaptor.cpp.
|
slot |
Definition at line 142 of file datamanagementadaptor.cpp.
|
slot |
Definition at line 149 of file datamanagementadaptor.cpp.
|
slot |
Definition at line 156 of file datamanagementadaptor.cpp.
|
slot |
Definition at line 161 of file datamanagementadaptor.cpp.
|
slot |
Definition at line 168 of file datamanagementadaptor.cpp.
|
slot |
Definition at line 173 of file datamanagementadaptor.cpp.
|
slot |
Definition at line 180 of file datamanagementadaptor.cpp.
void Nepomuk2::DataManagementAdaptor::setPrefixes | ( | const QHash< QString, QString > & | prefixes | ) |
Set the prefixes that will be supported for script convenience.
The provided hash maps prefixes to namespaces. Typical prefixes include "nao" or "rdfs".
Definition at line 230 of file datamanagementadaptor.cpp.
|
slot |
Definition at line 185 of file datamanagementadaptor.cpp.
|
slot |
convinience overloads for scripts (no lists)
Definition at line 192 of file datamanagementadaptor.cpp.
|
slot |
Definition at line 109 of file datamanagementadaptor.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:09 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.