[
https://jira.jboss.org/jira/browse/JBPM-1213?page=com.atlassian.jira.plug...
]
Tom Baeyens commented on JBPM-1213:
-----------------------------------
in meeting with Guillaume we concluded the following
a package org.jbpm.pvm.history will be created. it will have following main model
classes:
HistoryProcessInstance
HistoryNode
HistoryVariable : a history variable represents one variable for a process instance. it
has a reference to the current HistoryVariableValue and a list of historical
HistoryVariableValues
HistoryVariableValue : contains one value that was in a variable at a given point in time
the package will also contain a
HistoryLogSession
The history log session will have a map that maps process log classes to handlers. The
handlers will be anonymous inner classes. For each incoming log, the HistoryLogSession
will lookup the handler in the map and let it process the processlog. Processing the
processlog means that the information will be integrated in the history model.
The relation to specific activity information still needs to be worked out. One idea is
to use a generic map of key-value pairs related to the HistoryNode. Another idea is to
have a relation from the custom history table to the history node.
In parallel with working out the model and the history log session, the queries need to be
defined. And a HistoryQueryBuilder needs to be added to the package. The history query
builder knows about the specific hibernate history model and provides convenience methods
to build HQL queries very easily.
logging and history
-------------------
Key: JBPM-1213
URL:
https://jira.jboss.org/jira/browse/JBPM-1213
Project: JBoss jBPM
Issue Type: Feature Request
Components: PVM
Reporter: Tom Baeyens
Priority: Critical
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira