summaryrefslogtreecommitdiff
path: root/development/pim/pimpaper/backend.tex
Unidiff
Diffstat (limited to 'development/pim/pimpaper/backend.tex') (more/less context) (ignore whitespace changes)
-rw-r--r--development/pim/pimpaper/backend.tex22
1 files changed, 11 insertions, 11 deletions
diff --git a/development/pim/pimpaper/backend.tex b/development/pim/pimpaper/backend.tex
index 2652b08..fcade7f 100644
--- a/development/pim/pimpaper/backend.tex
+++ b/development/pim/pimpaper/backend.tex
@@ -1,17 +1,17 @@
1\section{The Backend Design} 1\section{The Backend Design}
2 2
3\subsection{The Template} 3\subsection{The Template}
4OPimAccessBackend is a template interface of the Backend. 4OPimAccessBackend is a template interface of the backend.
5It consists out of pure virtual functions to implement for 5It consists out of pure virtual functions for
6load, reload, save and clear. You will also need to implement 6load, reload, save and clear, add, remove and replace.
7add, remove and replace. 7Special inheritances from OPimAccessBackend for todo, calendar-event and conatact are available to
8Todo, Event and Address inherit from OPimAccessBackend to create 8define the backend Type with additional functionality and some implementations for special queries.
9their Backend Type with additional functionality and also some
10default implementation for some queries.
11 9
12\subsection{Read Ahead} 10\subsection{Caching}
13You may implement Read Ahead or Read Behind by implementing 11You may implement caching by implementing a specific find function. It is filling the cache
14the specific find function. First you need to give the Frontend 12(located in the frontend) as read-ahed or read-behing, by giving a read direction.
13\comment{ Das versteht an dieser Stelle keiner: First you need to give the Frontend
15a hint on how many items you want to cache and then you can call 14a hint on how many items you want to cache and then you can call
16cache to cache items. 15cache to cache items.
17read Ahead returns the number of Records to read behind/ahead. 16read-ahead returns the number of records to read behind/ahead.}
17Caching is used automatically, if this function is implemented.