Fragment Activation

This page is part of the Aggregated Layout Management Convergence 2.x effort that will be added to 3.x.

Fragment Activation is the process of taking configured fragments definitions loaded from dlm.xml and represented internally by FragmentDefinition instances, and performing the following actions in order from top to bottom of the table for fragments containing audience declarations.

Action

Description

Bind to Owner

Convert the log-in ownerId value used in dlm.xml to a integer uPortal userId as found in the UP_User table. This is performed using the UserIdentityStore and includes creating such a user if an account doesn't already exist for them.

Update Owner Roles

This is where the roles declared for the fragment owner are applied placing that user in the specified groups and removing them from all others.

Load Layout

Loads the raw, traditional layout of the owner account.

Load User Preferences

Loads structure and theme stylesheet user preferences for the fragment owner. The structure stylesheet user preferences are loaded in into an instance of StructureStylesheetUserPreferences and then wrapped with a DLM class DistributedUserPreferences. Similarly, the theme stylesheet user preferences are loaded into a ThemeStylesheetUserPreferences and wrapped in a DistributedUserPreferences. See Distributed User Preferences for a discussion of preferences for stylesheets and how and why this model was extended for DLM.