Like the Hibernate code in the Admin component, we include the full data object in the API. This is because it is not possible to abstract this into a pure interface due to the cross-table dependance upon the Role object. Attempting to abstract the User fails because the User returns Role and can't return RoleImpl in their place. Attempting to build up the persistance logic in a abstract interface is not supported by the persistance API.
@see eu.planets_project.ifr.core.security.api.model.User @author Andy Jackson
|
|