plasma-framework/data/operations/storage.operations
Marco Martin dd6b783e13 new operations for Storage:
* expire, with age and group as parameters
* delete, with group and key as parameters

new db structure: creation time (still unused, but would be hard to add in future releases)
and access time, used for expire

svn path=/trunk/KDE/kdelibs/; revision=1192402
2010-11-02 22:05:48 +00:00

48 lines
1.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE kcfg SYSTEM
"http://www.kde.org/standards/kcfg/1.0/kcfg.xsd">
<kcfg>
<group name="save">
<entry name="group" type="String">
<label>Group the key/value saved belongs to</label>
</entry>
<entry name="key" type="String">
<label>The key that indicizes the value in the storage</label>
</entry>
<entry name="data" type="Int">
<label>The actual data to be stored.</label>
</entry>
<entry name="data" type="String">
<label>The actual data to be stored.</label>
</entry>
<entry name="data" type="StringList">
<label>The actual data to be stored.</label>
</entry>
</group>
<group name="retrieve">
<entry name="group" type="String">
<label>Group the key/value saved belongs to</label>
</entry>
<entry name="key" type="String">
<label>The key that indicizes the value in the storage. If empty all group will be retrieved.</label>
</entry>
</group>
<group name="delete">
<entry name="group" type="String">
<label>Group the key/value saved belongs to</label>
</entry>
<entry name="key" type="String">
<label>The key that indicizes the value in the storage. If empty all group will be deleted</label>
</entry>
</group>
<group name="expire">
<entry name="group" type="String">
<label>Group the key/value saved belongs to. If empty all ntries will be checked for expiration.</label>
</entry>
<entry name="age" type="UInt">
<label>Set the age the stored data will expire in seconds. Default is 4 days.</label>
<default>345600</default>
</entry>
</group>
</kcfg>