1 6 7 package javax.portlet; 8 9 10 11 38 public interface PortletSession 39 { 40 41 53 public static final int APPLICATION_SCOPE = 0x01; 54 55 61 public static final int PORTLET_SCOPE = 0x02; 62 63 64 65 80 81 public java.lang.Object getAttribute(java.lang.String name); 82 83 84 98 99 public java.lang.Object getAttribute(java.lang.String name,int scope); 100 101 102 116 117 public java.util.Enumeration getAttributeNames(); 118 119 120 137 138 public java.util.Enumeration getAttributeNames(int scope); 139 140 152 153 public long getCreationTime(); 154 155 156 162 163 public java.lang.String getId(); 164 165 166 180 181 public long getLastAccessedTime(); 182 183 184 198 199 public int getMaxInactiveInterval(); 200 201 202 211 212 public void invalidate(); 213 214 215 216 228 229 public boolean isNew(); 230 231 232 248 249 public void removeAttribute(String name) ; 250 251 252 267 268 public void removeAttribute(String name, int scope) ; 269 270 271 300 301 public void setAttribute(java.lang.String name, java.lang.Object value); 302 303 304 333 334 public void setAttribute(java.lang.String name, java.lang.Object value, int scope); 335 336 337 345 346 public void setMaxInactiveInterval(int interval); 347 348 349 354 355 public PortletContext getPortletContext (); 356 357 } 358 359 360 | Popular Tags |