PaloT wrote:
>
> 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
>
I think this is a good optional feature.
PaloT wrote:
>
> - 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).
>
What is the advantage over AuditListener? Or is it needed for FullAuditLog?
PaloT wrote:
>
> - '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
>
We talked about this in another thread. Is the purpose to generate public
getter and protected setter? I don't think it should be mixed up with 'not
changeable'. Do we need a special keyword in the dsl for this case or is it
enough to use hint?
PaloT wrote:
>
> - 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)
>
>
Normally you would compile with debug information and then the names are
preserved, I think. Anyway if you need it I don't mind adding it as an
optional feature.
Thanks for your ideas. Create separate jira issues and go ahead.
/Patrik
--
View this message in context:
http://www.nabble.com/New-extensions-tp24936915s17564p24987629.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer