Class LastSessionRecorderUtil
Object
com.liferay.portal.spring.hibernate.LastSessionRecorderUtil
- Author:
- Shuyang Zhou
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.liferay.portal.kernel.transaction.TransactionLifecycleListener -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidaddPortletSession(org.hibernate.Session session) protected static voidremovePortletSession(org.hibernate.Session session) protected static voidsetLastSession(org.hibernate.Session session) static voidsyncLastSessionState(boolean portalSessionOnly)
-
Field Details
-
TRANSACTION_LIFECYCLE_LISTENER
public static final com.liferay.portal.kernel.transaction.TransactionLifecycleListener TRANSACTION_LIFECYCLE_LISTENER
-
-
Constructor Details
-
LastSessionRecorderUtil
public LastSessionRecorderUtil()
-
-
Method Details
-
syncLastSessionState
public static void syncLastSessionState(boolean portalSessionOnly) -
addPortletSession
protected static void addPortletSession(org.hibernate.Session session) -
removePortletSession
protected static void removePortletSession(org.hibernate.Session session) -
setLastSession
protected static void setLastSession(org.hibernate.Session session)
-