Class SAPHybrisSession
- java.lang.Object
-
- de.hybris.platform.sap.core.runtime.SAPHybrisSession
-
public class SAPHybrisSession extends java.lang.ObjectSAP hybris Session container which keeps the session relevant information for the SAP integration.
-
-
Constructor Summary
Constructors Constructor Description SAPHybrisSession()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()Frees up session relevant information.java.lang.StringgetApplicationName()Gets the application name.java.lang.StringgetSessionId()Gets the session id.SessionObjectFactorygetSessionObjectFactory()Gets the session object factory.voidsetApplicationName(java.lang.String applicationName)Sets the application name.voidsetSessionId(java.lang.String sessionId)Sets the session id.voidsetSessionObjectFactory(SessionObjectFactory sessionObjectFactory)Sets the session object factory.
-
-
-
Method Detail
-
getSessionId
public java.lang.String getSessionId()
Gets the session id.- Returns:
- the sessionId
-
setSessionId
public void setSessionId(java.lang.String sessionId)
Sets the session id.- Parameters:
sessionId- the sessionId to set
-
setSessionObjectFactory
public void setSessionObjectFactory(SessionObjectFactory sessionObjectFactory)
Sets the session object factory.- Parameters:
sessionObjectFactory- Session object factory
-
getSessionObjectFactory
public SessionObjectFactory getSessionObjectFactory()
Gets the session object factory.- Returns:
- Session object factory
-
getApplicationName
public java.lang.String getApplicationName()
Gets the application name.- Returns:
- Application name
-
setApplicationName
public void setApplicationName(java.lang.String applicationName)
Sets the application name.- Parameters:
applicationName- Application name to set
-
destroy
public void destroy()
Frees up session relevant information.
-
-