List of usage examples for com.liferay.portal.kernel.util WebKeys JOURNAL_RECENT_DYNAMIC_DATA_MAPPING_STRUCTURES
String JOURNAL_RECENT_DYNAMIC_DATA_MAPPING_STRUCTURES
To view the source code for com.liferay.portal.kernel.util WebKeys JOURNAL_RECENT_DYNAMIC_DATA_MAPPING_STRUCTURES.
Click Source Link
From source file:com.liferay.journal.util.impl.JournalUtil.java
License:Open Source License
public static Stack<DDMStructure> getRecentDDMStructures(PortletRequest portletRequest) { PortletSession portletSession = portletRequest.getPortletSession(); Stack<DDMStructure> recentDDMStructures = (Stack<DDMStructure>) portletSession .getAttribute(WebKeys.JOURNAL_RECENT_DYNAMIC_DATA_MAPPING_STRUCTURES); if (recentDDMStructures == null) { recentDDMStructures = new FiniteUniqueStack<>(MAX_STACK_SIZE); portletSession.setAttribute(WebKeys.JOURNAL_RECENT_DYNAMIC_DATA_MAPPING_STRUCTURES, recentDDMStructures);//from w ww . ja v a2s .co m } return recentDDMStructures; }