As part of our development we made some extensions which are maybe
interesting also for you. But before commit to SVN I would like to
discuss with you if it should be included in common code base:

- FullAuditLog - extension to Auditing where all auditable Entities
remember oldValues for all fields (not references - for now). You can
get oldValue, newValue, list of changed attributes

- Make all setters for Auditable columns (createdBy, lastUpdatedBy,
...) protected and generate method "@PrePersist protected
changeAuditInformation()" which will care about updating values
similar to AuditListener.changeAuditInformation (we should get rid of
AuditListener).

- 'readonly' designator for Entity attributes and references, will
generate protected setter (maybe we can use new hint feature - already
in SVN), should be used also by GUI generators, it's very common
behavior

- generate @Name annotation for method parameters in services. Because
compiled classes doesn't carry method name parameters I have to
generate special annotation which allow qualify parameter names. For
example: public ListSettings save(@Name("ctx") ServiceContext ctx,
@Name("entity") ListSettings entity)

Pavel

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fornax-developer mailing list
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to