001
014
015 package com.liferay.portlet;
016
017 import java.util.HashMap;
018 import java.util.Map;
019
020 import javax.portlet.PortletURLGenerationListener;
021 import javax.portlet.filter.PortletFilter;
022
023
026 public class PortletContextBag {
027
028 public PortletContextBag(String servletContextName) {
029 _servletContextName = servletContextName;
030 }
031
032 public Map<String, CustomUserAttributes> getCustomUserAttributes() {
033 return _customUserAttributes;
034 }
035
036 public Map<String, PortletFilter> getPortletFilters() {
037 return _portletFilters;
038 }
039
040 public Map<String, PortletURLGenerationListener> getPortletURLListeners() {
041 return _urlListeners;
042 }
043
044 public String getServletContextName() {
045 return _servletContextName;
046 }
047
048 private Map<String, CustomUserAttributes> _customUserAttributes =
049 new HashMap<String, CustomUserAttributes>();
050 private Map<String, PortletFilter> _portletFilters =
051 new HashMap<String, PortletFilter>();
052 private String _servletContextName;
053 private Map<String, PortletURLGenerationListener> _urlListeners =
054 new HashMap<String, PortletURLGenerationListener>();
055
056 }