| 1 17 18 package org.pentaho.core.session; 19 20 import java.util.Iterator ; 21 import java.util.Locale ; 22 23 import org.pentaho.core.audit.IAuditable; 24 import org.pentaho.util.logging.ILogger; 25 26 35 36 public interface IPentahoSession extends ILogger, IAuditable { 37 38 44 public String getName(); 45 46 52 public String getId(); 53 54 61 public void setActionName(String actionName); 62 63 70 public void setProcessId(String processId); 71 72 76 public void destroy(); 77 78 85 public Object getAttribute(String attributeName); 86 87 95 public void setAttribute(String attributeName, Object value); 96 97 104 public Object removeAttribute(String attributeName); 105 106 112 public Iterator getAttributeNames(); 113 114 119 public Locale getLocale(); 120 121 126 public boolean isAuthenticated(); 127 128 137 public void setAuthenticated(String name); 138 139 142 public void setNotAuthenticated(); 143 144 149 public void setBackgroundExecutionAlert(); 150 151 156 public boolean getBackgroundExecutionAlert(); 157 158 162 public void resetBackgroundExecutionAlert(); 163 164 } 165 | Popular Tags |