protected final CreateApplicationEventRequest createBaseApplicationEventRequest ( ) { final CreateApplicationEventRequest eventRequest = new CreateApplicationEventRequest ( ) ; final UserAccount userAccount = getUserAccountFromSecurityContext ( ) ; if ( userAccount != null ) { eventRequest . setUserId ( userAccount . getUserId ( ) ) ; } return eventRequest ; }
Creates the base application event request .