Uses of Class
org.apache.unomi.api.Session
Packages that use Session
Package
Description
-
Uses of Session in org.apache.unomi.api
Subclasses of Session in org.apache.unomi.apiMethods in org.apache.unomi.api that return SessionMethods in org.apache.unomi.api with parameters of type SessionModifier and TypeMethodDescriptionPersonalizationStrategy.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 SessionModifierConstructorDescriptionEvent
(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 SessionModifier and TypeMethodDescriptiondefault Session
ProfileService.loadSession
(String sessionId) Retrieves the session identified by the specified identifier.ProfileService.loadSession
(String sessionId, Date dateHint) Deprecated.ProfileService.saveSession
(Session session) Saves the specified session.Methods in org.apache.unomi.api.services that return types with arguments of type SessionModifier and TypeMethodDescriptionProfileService.findProfileSessions
(String profileId) Retrieves sessions associated with the profile identified by the specified identifier.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.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.ProfileService.searchSessions
(Query query) Retrieves sessions matching the specified query.Methods in org.apache.unomi.api.services with parameters of type SessionModifier and TypeMethodDescriptionPersonalizationService.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.PersonalizationService.personalizeList
(Profile profile, Session session, PersonalizationService.PersonalizationRequest personalizationRequest) Get a personalized list, filtered and sorted, based on the profile and sessionProfileService.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 SessionModifier and TypeMethodDescriptionSessionAccessor.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 SessionModifier and TypeMethodDescriptionProfileServiceEndPoint.loadSession
(String sessionId) Retrieves the session identified by the specified identifier.ProfileServiceEndPoint.saveSession
(Session session) Saves the specified session.Methods in org.apache.unomi.rest.endpoints that return types with arguments of type SessionModifier and TypeMethodDescriptionProfileServiceEndPoint.findProfileSessions
(String profileId) 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.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.ProfileServiceEndPoint.searchSession
(Query query) Retrieves sessions matching the specified query.Methods in org.apache.unomi.rest.endpoints with parameters of type SessionModifier and TypeMethodDescriptionboolean
ProfileServiceEndPoint.matchCondition
(Condition condition, Profile profile, 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 SessionModifier and TypeMethodDescriptionPersonalizationServiceImpl.bestMatch
(Profile profile, Session session, PersonalizationService.PersonalizationRequest personalizationRequest) boolean
PersonalizationServiceImpl.filter
(Profile profile, Session session, PersonalizationService.PersonalizedContent personalizedContent) 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 SessionModifier and TypeMethodDescriptionProfileServiceImpl.loadSession
(String sessionId) ProfileServiceImpl.loadSession
(String sessionId, Date dateHint) ProfileServiceImpl.saveSession
(Session session) Methods in org.apache.unomi.services.impl.profiles that return types with arguments of type SessionModifier and TypeMethodDescriptionProfileServiceImpl.findProfileSessions
(String profileId) ProfileServiceImpl.getPersonaSessions
(String personaId, int offset, int size, String sortBy) ProfileServiceImpl.getProfileSessions
(String profileId, String query, int offset, int size, String sortBy) ProfileServiceImpl.searchSessions
(Query query) Methods in org.apache.unomi.services.impl.profiles with parameters of type SessionModifier and TypeMethodDescriptionboolean
ProfileServiceImpl.matchCondition
(Condition condition, Profile profile, 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 SessionModifier and TypeMethodDescriptionControlGroupPersonalizationStrategy.personalizeList
(Profile profile, Session session, PersonalizationService.PersonalizationRequest personalizationRequest) FilterPersonalizationStrategy.personalizeList
(Profile profile, Session session, PersonalizationService.PersonalizationRequest personalizationRequest) RandomPersonalizationStrategy.personalizeList
(Profile profile, Session session, PersonalizationService.PersonalizationRequest personalizationRequest) 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 SessionMethods in org.apache.unomi.utils with parameters of type SessionConstructors in org.apache.unomi.utils with parameters of type SessionModifierConstructorDescriptionEventsRequestContext
(Date timestamp, Profile profile, Session session, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
dateHint
is not supported anymore, please useProfileService.loadSession(String)