zeitgeist-datamodel-2.0 Reference Manual
zeitgeist-datamodel-2.0
Description:
Zeitgeist, data model
Home:
https://zeitgeist.freedesktop.org/
C-Documentation:
https://zeitgeist.freedesktop.org/documentation/latest/C/index.html
Content:
Namespaces:
Zeitgeist
Interfaces:
ResultSet
Classes:
DataSource
Event
SimpleResultSet
Subject
TimeRange
Enums:
RelevantResultType
ResultType
StorageState
Error domains:
DataModelError
EngineError
Methods:
public
unowned
string
?
interpretation_for_mimetype
(
string
? mimetype)
public
unowned
string
?
manifestation_for_uri
(
string
uri)
public
void
register_mimetype
(
string
mimetype,
string
interpretation_uri)
public
void
register_mimetype_regex
(
string
mimetype_regex,
string
interpretation_uri)
public
void
register_uri_scheme
(
string
uri_scheme,
string
manifestation_type)
DataSources
Constants:
public
const
string
SIG_DATASOURCES
Methods:
public
GenericArray
<
DataSource
>
from_variant
(
Variant
sources_variant)
throws
DataModelError
public
Variant
to_variant
(
HashTable
<
string
,
DataSource
> sources)
Events
Methods:
public
GenericArray
<
Event
?>
from_variant
(
Variant
vevents)
throws
DataModelError
public
Variant
to_variant
(
GenericArray
<
Event
?> events)
public
Variant
to_variant_with_limit
(
GenericArray
<
Event
?> events,
size_t
limit =
MAX_DBUS_RESULT_SIZE
)
throws
DataModelError
NCAL
Constants:
public
const
string
ALARM
public
const
string
ATTACHMENT
public
const
string
CALENDAR
public
const
string
CALENDAR_DATA_OBJECT
public
const
string
EVENT
public
const
string
FREEBUSY
public
const
string
JOURNAL
public
const
string
TIMEZONE
public
const
string
TODO
NCO
Constants:
public
const
string
CONTACT
public
const
string
CONTACT_GROUP
public
const
string
CONTACT_LIST
public
const
string
CONTACT_LIST_DATA_OBJECT
public
const
string
ORGANIZATION_CONTACT
public
const
string
PERSON_CONTACT
NFO
Constants:
public
const
string
APPLICATION
public
const
string
ARCHIVE
public
const
string
ARCHIVE_ITEM
public
const
string
ATTACHMENT
public
const
string
AUDIO
public
const
string
BOOKMARK
public
const
string
BOOKMARK_FOLDER
public
const
string
CURSOR
public
const
string
DATA_CONTAINER
public
const
string
DELETED_RESOURCE
public
const
string
DOCUMENT
public
const
string
EMBEDDED_FILE_DATA_OBJECT
public
const
string
EXECUTABLE
public
const
string
FILESYSTEM
public
const
string
FILESYSTEM_IMAGE
public
const
string
FILE_DATA_OBJECT
public
const
string
FOLDER
public
const
string
FONT
public
const
string
HARD_DISK_PARTITION
public
const
string
HTML_DOCUMENT
public
const
string
ICON
public
const
string
IMAGE
public
const
string
MEDIA
public
const
string
MEDIA_LIST
public
const
string
MEDIA_STREAM
public
const
string
MIND_MAP
public
const
string
OPERATING_SYSTEM
public
const
string
PAGINATED_TEXT_DOCUMENT
public
const
string
PLAIN_TEXT_DOCUMENT
public
const
string
PRESENTATION
public
const
string
RASTER_IMAGE
public
const
string
REMOTE_DATA_OBJECT
public
const
string
REMOTE_PORT_ADDRESS
public
const
string
SOFTWARE
public
const
string
SOFTWARE_ITEM
public
const
string
SOFTWARE_SERVICE
public
const
string
SOURCE_CODE
public
const
string
SPREADSHEET
public
const
string
TEXT_DOCUMENT
public
const
string
TRASH
public
const
string
VECTOR_IMAGE
public
const
string
VIDEO
public
const
string
VISUAL
public
const
string
WEBSITE
public
const
string
WEB_DATA_OBJECT
NIE
Constants:
public
const
string
DATA_OBJECT
public
const
string
INFORMATION_ELEMENT
NMM
Constants:
public
const
string
MOVIE
public
const
string
MUSIC_ALBUM
public
const
string
MUSIC_PIECE
public
const
string
TVSERIES
public
const
string
TVSHOW
NMO
Constants:
public
const
string
EMAIL
public
const
string
IMMESSAGE
public
const
string
MAILBOX
public
const
string
MAILBOX_DATA_OBJECT
public
const
string
MESSAGE
public
const
string
MIME_ENTITY
Symbol
Methods:
public
List
<
unowned
string
>
get_all_children
(
string
symbol_uri)
public
List
<
unowned
string
>
get_all_parents
(
string
symbol_uri)
public
List
<
unowned
string
>
get_children
(
string
symbol_uri)
public
unowned
string
get_description
(
string
symbol_uri)
public
unowned
string
get_display_name
(
string
symbol_uri)
public
List
<
unowned
string
>
get_parents
(
string
symbol_uri)
public
bool
is_a
(
string
? symbol_uri,
string
? parent_uri)
Timestamp
Constants:
public
const
int64
DAY
public
const
int64
HOUR
public
const
int64
MINUTE
public
const
int64
SECOND
public
const
int64
WEEK
public
const
int64
YEAR
Methods:
public
int64
from_date
(
Date
date)
public
int64
from_dmy
(
DateDay
day,
DateMonth
month,
DateYear
year)
public
int64
from_iso8601
(
string
datetime)
public
int64
from_now
()
public
int64
from_timeval
(
TimeVal
timeval)
public
int64
next_midnight
(
int64
timestamp)
public
int64
prev_midnight
(
int64
timestamp)
public
Date
to_date
(
int64
timestamp)
public
string
to_iso8601
(
int64
timestamp)
public
TimeVal
to_timeval
(
int64
timestamp)
Utils
Constants:
public
const
uint
CACHE_SIZE
public
const
string
ENGINE_DBUS_NAME
public
const
string
ENGINE_DBUS_PATH
public
const
size_t
MAX_DBUS_RESULT_SIZE
public
const
string
SIG_EVENT
Methods:
public
void
backup_database
()
throws
Error
public
unowned
string
get_data_path
()
public
unowned
string
get_database_file_backup_path
()
public
unowned
string
get_database_file_path
()
public
string
get_database_file_retire_name
()
public
string
get_default_data_path
()
public
unowned
string
get_local_extensions_path
()
public
bool
is_empty_string
(
string
? s)
public
bool
log_may_read_directly
()
public
bool
parse_negation
(
ref
string
val)
public
bool
parse_noexpand
(
ref
string
val)
public
bool
parse_wildcard
(
ref
string
val)
public
void
set_database_file_path
(
string
path)
public
bool
using_in_memory_database
()
ZG
Constants:
public
const
string
ACCEPT_EVENT
public
const
string
ACCESS_EVENT
public
const
string
APPLICATION_ACTION
public
const
string
CREATE_EVENT
public
const
string
DELETE_EVENT
public
const
string
DENY_EVENT
public
const
string
EVENT_INTERPRETATION
public
const
string
EVENT_MANIFESTATION
public
const
string
EXPIRE_EVENT
public
const
string
HEURISTIC_ACTIVITY
public
const
string
LEAVE_EVENT
public
const
string
MODIFY_EVENT
public
const
string
MOVE_EVENT
public
const
string
RECEIVE_EVENT
public
const
string
SCHEDULED_ACTIVITY
public
const
string
SEND_EVENT
public
const
string
SYSTEM_NOTIFICATION
public
const
string
USER_ACTIVITY
public
const
string
WORLD_ACTIVITY
2022 vala-language.org