Ignore:
Timestamp:
10 Jun 2011, 15:41:32 (13 years ago)
Author:
uli
Message:

Maintain history of objects in a separate component, similar to workflows, instead of storing everything with the object core object.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/applicants.py

    r6332 r6339  
    2727from zope.schema.fieldproperty import FieldProperty
    2828from hurry.workflow.interfaces import IWorkflowInfo, IWorkflowState
    29 from waeup.sirp.interfaces import IWAeUPSIRPPluggable
     29from waeup.sirp.interfaces import IWAeUPSIRPPluggable, IObjectHistory
    3030from waeup.sirp.app import University
    3131from waeup.sirp.applicants.interfaces import (
     
    5454        state = IWorkflowState(self).getState()
    5555        return state
     56
     57    @property
     58    def history(self):
     59        history = IObjectHistory(self)
     60        return history
    5661
    5762# Set all attributes of Applicant required in IApplicant as field
Note: See TracChangeset for help on using the changeset viewer.