org.pentaho.platform.web.portal
Class PentahoPortletSession
java.lang.Object
  
org.pentaho.platform.engine.core.system.PentahoBase
      
org.pentaho.platform.engine.core.system.BaseSession
          
org.pentaho.platform.web.portal.PentahoPortletSession
- All Implemented Interfaces: 
 - Serializable, IAuditable, ILogger, IPentahoSession
 
public class PentahoPortletSession
- extends BaseSession
 
- See Also:
 - Serialized Form
 
 
 
 
| Fields inherited from interface org.pentaho.platform.api.engine.ILogger | 
ACTIVITY_LOG, DEBUG, ERROR, FATAL, INFO, INSTANCE_LOG, SESSION_LOG, SOLUTION_LOG, TRACE, UNKNOWN, WARN | 
 
 
 
| Methods inherited from class org.pentaho.platform.engine.core.system.BaseSession | 
getActionName, getBackgroundExecutionAlert, getId, getLocale, getName, getObjectName, getProcessId, isAuthenticated, resetBackgroundExecutionAlert, setActionName, setAuthenticated, setBackgroundExecutionAlert, setNotAuthenticated, setProcessId | 
 
| Methods inherited from class org.pentaho.platform.engine.core.system.PentahoBase | 
debug, debug, error, error, fatal, fatal, genLogIdFromInfo, genLogIdFromInfo, genLogIdFromSession, getLoggingLevel, getLogId, info, info, setLoggingLevel, setLogId, trace, trace, warn, warn | 
 
 
| Methods inherited from interface org.pentaho.platform.api.engine.ILogger | 
debug, debug, error, error, fatal, fatal, getLoggingLevel, info, info, setLoggingLevel, trace, trace, warn, warn | 
 
PentahoPortletSession
public PentahoPortletSession(String userName,
                             PortletSession portletSession,
                             Locale locale)
getLogger
public org.apache.commons.logging.Log getLogger()
- Specified by:
 getLogger in class PentahoBase
 
 
getAttribute
public Object getAttribute(String attributeName)
- Description copied from interface: 
IPentahoSession 
- Get the value of a named session attribute
- Parameters:
 attributeName - The name of the attribute
- Returns:
 - The value of the attribute
 
 
 
getAttribute
public Object getAttribute(String attributeName,
                           int scope)
 
getAttributeNames
public Iterator getAttributeNames()
- Description copied from interface: 
IPentahoSession 
- Returns an enumeration of the names of the attributes stored in the
 session
- Returns:
 - The enumeration of the attribute names
 
 
 
setAttribute
public void setAttribute(String attributeName,
                         Object value)
- Description copied from interface: 
IPentahoSession 
- Sets the value of a session attribute
- Parameters:
 attributeName - The name of the attributevalue - The value of the attribute
 
 
setAttribute
public void setAttribute(String attributeName,
                         Object value,
                         int scope)
 
removeAttribute
public Object removeAttribute(String attributeName)
- Description copied from interface: 
IPentahoSession 
- Removes an attribute from the session and returns is
- Parameters:
 attributeName - The name of the attribute to remove
- Returns:
 - The value of the removed attribute
 
 
 
removeAttribute
public Object removeAttribute(String attributeName,
                              int scope)
 
destroy
public void destroy()
- Description copied from interface: 
IPentahoSession 
- Destroys any resources owned by the session object
- Specified by:
 destroy in interface IPentahoSession- Overrides:
 destroy in class BaseSession