public static String getStatusForItem ( Long lastActivity ) { if ( lastActivity . longValue ( ) < CmsSessionsTable . INACTIVE_LIMIT ) { return CmsVaadinUtils . getMessageText ( Messages . GUI_MESSAGES_BROADCAST_COLS_STATUS_ACTIVE_0 ) ; } return CmsVaadinUtils . getMessageText ( Messages . GUI_MESSAGES_BROADCAST_COLS_STATUS_INACTIVE_0 ) ; }
Gets the status text from given session .