Package io.tesler.core.util.session
Interface SessionService
-
- All Known Implementing Classes:
SessionServiceImpl
public interface SessionService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<String>
getCurrentScreenViews()
String
getFirstViewFromResponsibilities(String... views)
Map<String,Boolean>
getResponsibilities()
String
getSessionId()
String
getSessionIpAddress()
User
getSessionUser()
Department
getSessionUserDepartment()
Division
getSessionUserDivision()
Division
getSessionUserDivision(LOV levelCd)
LOV
getSessionUserRole()
List<UserRole>
getSessionUserRoles()
List<String>
getViews(String screenName)
void
setSessionUserInternalRole(String role)
void
setSessionUserLocale(LOV locale)
void
setSessionUserTimezone(LOV timezone)
-
-
-
Method Detail
-
getSessionUser
User getSessionUser()
-
getSessionUserDepartment
Department getSessionUserDepartment()
-
getSessionUserRole
LOV getSessionUserRole()
-
setSessionUserTimezone
void setSessionUserTimezone(LOV timezone)
-
setSessionUserLocale
void setSessionUserLocale(LOV locale)
-
setSessionUserInternalRole
void setSessionUserInternalRole(String role)
-
getSessionIpAddress
String getSessionIpAddress()
-
getSessionId
String getSessionId()
-
getSessionUserDivision
Division getSessionUserDivision()
-
getCurrentScreenViews
Collection<String> getCurrentScreenViews()
-
-