1 48 49 50 package com.caucho.portal.generic.context; 51 52 import com.caucho.portal.generic.PortalRequest; 53 54 import javax.portlet.PortletMode; 55 import javax.portlet.WindowState; 56 import java.util.Map ; 57 import java.util.Set ; 58 59 60 62 class PortalRequestImpl 63 implements PortalRequest 64 { 65 protected ConnectionContext _context; 66 67 public PortalRequestImpl(ConnectionContext context) 68 { 69 _context = context; 70 } 71 72 public boolean canGuaranteeIntegrity() 73 { 74 return _context.canGuaranteeIntegrity(); 75 } 76 77 public boolean canGuaranteeConfidentiality() 78 { 79 return _context.canGuaranteeConfidentiality(); 80 } 81 82 public Set <WindowState> getWindowStatesUsed() 83 { 84 return _context.getWindowStatesUsed(); 85 } 86 87 90 public Set <PortletMode> getPortletModesUsed() 91 { 92 return _context.getPortletModesUsed(); 93 } 94 95 98 public PortletMode getPortletMode(String namespace) 99 { 100 return _context.getPortletMode(namespace); 101 } 102 103 106 public WindowState getWindowState(String namespace) 107 { 108 return _context.getWindowState(namespace); 109 } 110 111 112 115 public String getRenderParameter(String namespace, String name) 116 { 117 return _context.getRenderParameter(namespace, name); 118 } 119 120 123 public String [] getRenderParameterValues(String namespace, String name) 124 { 125 return _context.getRenderParameterValues(namespace, name); 126 } 127 128 131 public Map <String , String []> getRenderParameterMap(String namespace) 132 { 133 return _context.getRenderParameterMap(namespace); 134 } 135 136 } 137 | Popular Tags |