org.silverpeas.process.session
Class AbstractProcessSession
java.lang.Object
org.silverpeas.process.session.AbstractProcessSession
- All Implemented Interfaces:
- ProcessSession
- Direct Known Subclasses:
- DefaultProcessSession
public abstract class AbstractProcessSession
- extends Object
- implements ProcessSession
The abstract root implementation of Session
interface.
All methods of the interface are implemented.
- Author:
- Yohann Chastagnier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractProcessSession
protected AbstractProcessSession()
- Default constructor
- Parameters:
userId
- userDetail
- componentInstanceId
-
buildSessionId
protected String buildSessionId()
- Builds an unique identifier
- Returns:
getId
public String getId()
- Specified by:
getId
in interface ProcessSession
- Returns:
- the sessionId
setAttribute
public void setAttribute(String name,
Object value)
- Specified by:
setAttribute
in interface ProcessSession
getAttribute
public Object getAttribute(String name)
- Specified by:
getAttribute
in interface ProcessSession
getAttribute
public <C> C getAttribute(String name,
Class<C> expectedReturnedClass)
- Specified by:
getAttribute
in interface ProcessSession
Copyright © 2016 Silverpeas. All Rights Reserved.