cancel
Showing results for 
Search instead for 
Did you mean: 

Why IdentitySession operated with EntityObjects?

akakunin
Champ in-the-making
Champ in-the-making
Hi!

I'm trying to implement own IdentitySession - I need to get information about User & Groups from another system (Liferay in my case).
It is not a big problem - since I've already did same thing for jBPM4 - and Activiti and jBPM4 are quite close in this par tof API.

But - I was surprised, why Interface IdentitySession operated not only by interfaces (Group, User), but with implementation classes as well (GroupEntity, UserEntity).

Since both classes are almost POJO - it is not a big issue to implement their initialization, just question from architecture perspective - for me it looks much better if top-level interfaces operated by interfaces (like it was in IdentitySession in jBPM4) - not by concrete implementations
1 REPLY 1

tombaeyens
Champ in-the-making
Champ in-the-making
i can't recall if there was a specific reason for it.  your request seems valid.  we should try to switch to interfaces. 

created http://jira.codehaus.org/browse/ACT-319
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.