public JobsUserActivitySessionBean () {
}
+ @Override
+ @SuppressWarnings ("unchecked")
+ public List<LogableUserActivity> fetchAllUserActivityLog () {
+ // Trace message
+ this.getLoggerBeanLocal().logTrace(MessageFormat.format("{0}.fetchAllUserActivityLog: CALLED!", this.getClass().getSimpleName())); //NOI18N
+
+ // Search for user's activity
+ Query query = this.getEntityManager().createNamedQuery("AllUserActivityLog", UserActivityLog.class); //NOI18N
+
+ // Get list
+ List<LogableUserActivity> list = query.getResultList();
+
+ // Trace message
+ this.getLoggerBeanLocal().logTrace(MessageFormat.format("{0}.fetchAllUserActivityLog: list.size()={1} - EXIT!", this.getClass().getSimpleName(), list.size())); //NOI18N
+
+ // Return it
+ return list;
+ }
+
@Override
@SuppressWarnings ("unchecked")
public List<LogableUserActivity> fetchAllUsersActivityLog (final User user) {