1 48 49 package com.caucho.portal.generic; 50 51 import javax.portlet.PortalContext; 52 import javax.portlet.PortletMode; 53 import javax.portlet.PortletRequest; 54 import javax.portlet.WindowState; 55 import java.util.Set ; 56 57 public interface Portal 58 { 59 public PortalContext getPortalContext(); 60 61 67 public boolean isWindowStateAllowed(PortletRequest portletRequest, 68 WindowState windowState); 69 70 76 public boolean isPortletModeAllowed(PortletRequest portletRequest, 77 PortletMode portletMode); 78 79 84 public String getReservedNamespace(); 85 86 92 public PreferencesStore getPreferencesStore(); 93 94 99 public Set <String > getUserAttributeNames(); 100 101 105 public UserAttributeStore getUserAttributeStore(); 106 107 112 public Cache getCache(); 113 114 117 public BufferFactory getBufferFactory(); 118 } 119 120 | Popular Tags |