1 16 17 package org.apache.jetspeed.portal; 18 19 import java.util.Map ; 21 22 import org.apache.jetspeed.capability.CapabilityMap; 24 import org.apache.jetspeed.om.SecurityReference; 25 import org.apache.jetspeed.util.Config; 26 import org.apache.jetspeed.util.MetaData; 27 28 35 36 public interface PortletConfig extends Config 37 { 38 39 42 public void init( String url, Map init_params ); 43 44 47 public PortletSet getPortletSet(); 48 49 52 public void setPortletSet(PortletSet set); 53 54 57 public Map getLayout(); 58 59 62 public void setLayout(Map constraints); 63 64 70 public Map getSkin(); 71 72 77 public void setSkin(Map skin); 78 79 82 public int getPosition(); 83 84 87 public void setPosition(int position); 88 89 93 public MetaData getMetainfo(); 94 95 98 public void setMetainfo(MetaData metainfo); 99 100 108 public String getURL(); 109 110 113 public void setURL(String url); 114 115 124 public boolean isCachedOnURL(); 125 126 135 public void setCachedOnURL(boolean cached); 136 137 138 144 public String getLayout(String name, String defaultValue); 145 146 152 public String getSkin(String name, String defaultValue); 153 154 157 public void setSkin(String name, String value); 158 159 169 public PortletSkin getPortletSkin(); 170 171 176 public void setPortletSkin(PortletSkin skin); 177 178 183 public PortletSet.Constraints getConstraints(); 184 185 191 public void setConstraints(PortletSet.Constraints constraints); 192 193 195 public CapabilityMap getCapabilityMap(); 196 197 199 public void setCapabilityMap( CapabilityMap cm ); 200 201 public void setPortletId(String portletId); 202 public String getPortletId(); 203 public void setPageId(String pageId); 204 public String getPageId(); 205 206 209 public SecurityReference getSecurityRef(); 210 211 214 public void setSecurityRef(SecurityReference securityRef); 215 216 } 217 | Popular Tags |