wftk core: task index adaptor

[ back to the core ] [ discussion ]

A task index adaptor is responsible for interfacing with a database or other indexing system in order to provide indexing capabilities for active processes, tasks and requests. Usually this will be a relational database, but it could well be anything at all, I suppose. I'm sure I'll find creative ways of using it. Eventually we might also want to do some kind of user or group cross-indexing in order to find particular users' tasks efficiently.

(January 27, 2003) -- of course, a lot of that kind of thing is covered handily by the repository manager, so if the TASKINDEX class is going to be useful at all in the future, it will be a bit of a suprise.

These are the functions exposed by a task index adaptor (it's a long list; I don't want to take the time right now -- read the code instead):
0: init   Initialize adaptor instance
1: free   Clean up instance before shutting down
2: info   Return XML describing the adaptor


This code and documentation are released under the terms of the GNU license. They are additionally copyright (c) 2003, Vivtek. All rights reserved except those explicitly granted under the terms of the GNU license. This presentation was prepared with LPML. Try literate programming. You'll like it.