Portlet Factory, Version 6.1.2
SelectionHandlerBase
All of the sample handlers extend the SelectionHandlerBase class. This class provides common functionality for most selection handlers. When creating a new handler you can also optionally extend this class.
This class provides two important pieces of functionality:
- User segment matching to a profile within a profile set. This will iterate through the specified segments and find a profile that contains that segment.
- Handling explicit profile validation. The explicit profile validation does the following checks: does the profile exist, and does the users segments match one of the segments in the specified profile. Also note that if the profile does not have any segments specified then it can be selected without a user segment match.
Parent topic: Using sample handlers
Library | Support |