1 16 17 package org.apache.jetspeed.services.statemanager; 19 20 import javax.servlet.http.HttpSession ; 22 23 45 public interface StateManagerService 46 { 47 48 public String SERVICE_NAME = "StateManagerService"; 49 50 56 public Object getAttribute ( String key, String name ); 57 58 64 public void setAttribute( String key, String name, Object value ); 65 66 71 public void removeAttribute( String key, String name ); 72 73 77 public void clear( String key ); 78 79 84 public String [] getAttributeNames( String key ); 85 86 91 public SessionState getSessionState( String key ); 92 93 98 public SessionState getCurrentSessionState(); 99 100 105 public SessionState getCurrentSessionState( String key ); 106 107 111 public void retireState( String keyStart ); 112 113 119 public void setCurrentContext( HttpSession session ); 120 121 125 public void clearCurrentContext(); 126 127 } 129 134 135 | Popular Tags |