public abstract class AbstractSessionData extends java.lang.Object implements SessionData
| Constructor and Description |
|---|
AbstractSessionData() |
| Modifier and Type | Method and Description |
|---|---|
protected <T> T |
bean(java.lang.Class<T> beanClass) |
protected abstract java.lang.String |
doGetChannelName() |
protected ConfigurationAccessor |
doGetConfigurationAccessor() |
protected abstract java.lang.Long |
doGetConfigurationId() |
protected org.springframework.context.ApplicationContext |
getApplicationContext() |
Channel |
getChannel()
Returns the channel this session is using
|
ConfigurationAccessor |
getConfiguration()
Returns the configuration accessor
|
protected Configuration |
getConfigurationEntity() |
User |
getLoggedUser()
Returns the authenticated user, or null if none
|
Network |
getNetwork()
Returns the network this session is using, or null if as global system or administrator
|
protected org.cyclos.impl.utils.persistence.RawEntityManagerHandler |
getRawEntityManagerHandler() |
java.lang.String |
getRemoteAddress()
Returns the remote address, of the client accessing the application
|
protected java.lang.Long |
resolveNetworkId() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckConsistency, getAccessibleBasicGroups, getAuthenticatedUser, getChannelConfiguration, getGroup, getLoggedBasicUser, getProducts, getRequestData, hasPermission, hasRequiredValue, hasRole, isVisible, manages, relatesTopublic final Channel getChannel()
SessionDatagetChannel in interface SessionDatapublic final ConfigurationAccessor getConfiguration()
SessionDatagetConfiguration in interface SessionDatapublic final User getLoggedUser()
SessionDatagetLoggedUser in interface SessionDatapublic final Network getNetwork()
SessionDatagetNetwork in interface SessionDatapublic java.lang.String getRemoteAddress()
SessionDatagetRemoteAddress in interface SessionDataprotected <T> T bean(java.lang.Class<T> beanClass)
protected abstract java.lang.String doGetChannelName()
protected ConfigurationAccessor doGetConfigurationAccessor()
protected abstract java.lang.Long doGetConfigurationId()
protected org.springframework.context.ApplicationContext getApplicationContext()
protected final Configuration getConfigurationEntity()
protected org.cyclos.impl.utils.persistence.RawEntityManagerHandler getRawEntityManagerHandler()
protected java.lang.Long resolveNetworkId()