Uses of Class
org.apache.unomi.api.Session
-
-
Uses of Session in org.apache.unomi.api
Subclasses of Session in org.apache.unomi.api Modifier and Type Class Description class
PersonaSession
A Persona session.Methods in org.apache.unomi.api that return Session Modifier and Type Method Description Session
Event. getSession()
Retrieves the session.Methods in org.apache.unomi.api with parameters of type Session Modifier and Type Method Description PersonalizationResult
PersonalizationStrategy. personalizeList(Profile profile, Session session, PersonalizationService.PersonalizationRequest personalizationRequest)
Filters and personalizes the list of contents passed as a parameter using the strategy's implementation.void
Event. setSession(Session session)
Sets the session.Constructors in org.apache.unomi.api with parameters of type Session Constructor Description Event(String itemId, String eventType, Session session, Profile profile, String scope, Item source, Item target, Date timestamp)
Instantiates a new Event.Event(String itemId, String eventType, Session session, Profile profile, String scope, Item source, Item target, Map<String,Object> properties, Date timestamp, boolean persistent)
Instantiates a new Event.Event(String eventType, Session session, Profile profile, String scope, Item source, Item target, Date timestamp)
Instantiates a new Event.Event(String eventType, Session session, Profile profile, String scope, Item source, Item target, Map<String,Object> properties, Date timestamp, boolean persistent)
Instantiates a new Event. -
Uses of Session in org.apache.unomi.api.services
Methods in org.apache.unomi.api.services that return Session Modifier and Type Method Description default Session
ProfileService. loadSession(String sessionId)
Retrieves the session identified by the specified identifier.Session
ProfileService. loadSession(String sessionId, Date dateHint)
Deprecated.dateHint
is not supported anymore, please useProfileService.loadSession(String)
Session
ProfileService. saveSession(Session session)
Saves the specified session.Methods in org.apache.unomi.api.services that return types with arguments of type Session Modifier and Type Method Description PartialList<Session>
ProfileService. findProfileSessions(String profileId)
Retrieves sessions associated with the profile identified by the specified identifier.PartialList<Session>
ProfileService. getPersonaSessions(String personaId, int offset, int size, String sortBy)
Retrieves the sessions associated with the persona identified by the specified identifier, ordered according to the specifiedsortBy
String and and paged: onlysize
of them are retrieved, starting with theoffset
-th one.PartialList<Session>
ProfileService. getProfileSessions(String profileId, String query, int offset, int size, String sortBy)
Retrieves the sessions associated with the profile identified by the specified identifier that match the specified query (if specified), ordered according to the specifiedsortBy
String and and paged: onlysize
of them are retrieved, starting with theoffset
-th one.PartialList<Session>
ProfileService. searchSessions(Query query)
Retrieves sessions matching the specified query.Methods in org.apache.unomi.api.services with parameters of type Session Modifier and Type Method Description String
PersonalizationService. bestMatch(Profile profile, Session session, PersonalizationService.PersonalizationRequest personalizationRequest)
Get the best match among a list of items, for the specified profile and sessionboolean
PersonalizationService. filter(Profile profile, Session session, PersonalizationService.PersonalizedContent personalizedContent)
Check if an item is visible for the specified profile and sessionboolean
ProfileService. matchCondition(Condition condition, Profile profile, Session session)
Checks whether the specified profile and/or session satisfy the specified condition.PersonalizationResult
PersonalizationService. personalizeList(Profile profile, Session session, PersonalizationService.PersonalizationRequest personalizationRequest)
Get a personalized list, filtered and sorted, based on the profile and sessionSession
ProfileService. saveSession(Session session)
Saves the specified session. -
Uses of Session in org.apache.unomi.plugins.baseplugin.conditions.accessors
Methods in org.apache.unomi.plugins.baseplugin.conditions.accessors with parameters of type Session Modifier and Type Method Description Object
SessionAccessor. getProperty(Session object, String propertyName, String leftoverExpression)
-
Uses of Session in org.apache.unomi.rest.endpoints
Methods in org.apache.unomi.rest.endpoints that return Session Modifier and Type Method Description Session
ProfileServiceEndPoint. loadSession(String sessionId)
Retrieves the session identified by the specified identifier.Session
ProfileServiceEndPoint. saveSession(Session session)
Saves the specified session.Methods in org.apache.unomi.rest.endpoints that return types with arguments of type Session Modifier and Type Method Description PartialList<Session>
ProfileServiceEndPoint. findProfileSessions(String profileId)
PartialList<Session>
ProfileServiceEndPoint. getPersonaSessions(String personaId, int offset, int size, String sortBy)
Retrieves the sessions associated with the persona identified by the specified identifier, ordered according to the specifiedsortBy
String and and paged: onlysize
of them are retrieved, starting with theoffset
-th one.PartialList<Session>
ProfileServiceEndPoint. getProfileSessions(String profileId, String query, int offset, int size, String sortBy)
Retrieves the sessions associated with the profile identified by the specified identifier that match the specified query (if specified), ordered according to the specifiedsortBy
String and and paged: onlysize
of them are retrieved, starting with theoffset
-th one.PartialList<Session>
ProfileServiceEndPoint. searchSession(Query query)
Retrieves sessions matching the specified query.Methods in org.apache.unomi.rest.endpoints with parameters of type Session Modifier and Type Method Description boolean
ProfileServiceEndPoint. matchCondition(Condition condition, Profile profile, Session session)
Session
ProfileServiceEndPoint. saveSession(Session session)
Saves the specified session. -
Uses of Session in org.apache.unomi.services.impl.personalization
Methods in org.apache.unomi.services.impl.personalization with parameters of type Session Modifier and Type Method Description String
PersonalizationServiceImpl. bestMatch(Profile profile, Session session, PersonalizationService.PersonalizationRequest personalizationRequest)
boolean
PersonalizationServiceImpl. filter(Profile profile, Session session, PersonalizationService.PersonalizedContent personalizedContent)
PersonalizationResult
PersonalizationServiceImpl. personalizeList(Profile profile, Session session, PersonalizationService.PersonalizationRequest personalizationRequest)
-
Uses of Session in org.apache.unomi.services.impl.profiles
Methods in org.apache.unomi.services.impl.profiles that return Session Modifier and Type Method Description Session
ProfileServiceImpl. loadSession(String sessionId)
Session
ProfileServiceImpl. loadSession(String sessionId, Date dateHint)
Session
ProfileServiceImpl. saveSession(Session session)
Methods in org.apache.unomi.services.impl.profiles that return types with arguments of type Session Modifier and Type Method Description PartialList<Session>
ProfileServiceImpl. findProfileSessions(String profileId)
PartialList<Session>
ProfileServiceImpl. getPersonaSessions(String personaId, int offset, int size, String sortBy)
PartialList<Session>
ProfileServiceImpl. getProfileSessions(String profileId, String query, int offset, int size, String sortBy)
PartialList<Session>
ProfileServiceImpl. searchSessions(Query query)
Methods in org.apache.unomi.services.impl.profiles with parameters of type Session Modifier and Type Method Description boolean
ProfileServiceImpl. matchCondition(Condition condition, Profile profile, Session session)
Session
ProfileServiceImpl. saveSession(Session session)
-
Uses of Session in org.apache.unomi.services.sorts
Methods in org.apache.unomi.services.sorts with parameters of type Session Modifier and Type Method Description PersonalizationResult
ControlGroupPersonalizationStrategy. personalizeList(Profile profile, Session session, PersonalizationService.PersonalizationRequest personalizationRequest)
PersonalizationResult
FilterPersonalizationStrategy. personalizeList(Profile profile, Session session, PersonalizationService.PersonalizationRequest personalizationRequest)
PersonalizationResult
RandomPersonalizationStrategy. personalizeList(Profile profile, Session session, PersonalizationService.PersonalizationRequest personalizationRequest)
PersonalizationResult
ScorePersonalizationStrategy. personalizeList(Profile profile, Session session, PersonalizationService.PersonalizationRequest personalizationRequest)
-
Uses of Session in org.apache.unomi.utils
Methods in org.apache.unomi.utils that return Session Modifier and Type Method Description Session
EventsRequestContext. getSession()
Methods in org.apache.unomi.utils with parameters of type Session Modifier and Type Method Description void
EventsRequestContext. setSession(Session session)
Constructors in org.apache.unomi.utils with parameters of type Session Constructor Description EventsRequestContext(Date timestamp, Profile profile, Session session, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-