Database Changes After Adding Liferay Navigation Menu
Created: 27 December 2024 Modified:What data changes occur when adding a Navigation Menu to a Site in Liferay. This menu was added to the All About Rocks site. This information was added by administrator user Test Test with email test@test.com. Keep in mind that Liferay doesn’t enforce referential integrity in the database. Instead it is “enforced” in the code.
The following table was modified but appears not to be strongly relevant.
- PortalPreferenceValue
The Navigation Menu was added to the “All About Rocks” site with GroupId 32925.
- SiteNavigationMenu
- One row inserted.
- Primary key is siteNavigationMenuId and ctCollectionId.
- SiteNavigationMenuId had value 33130.
- Name had value RockMenu.
- GroupId had value 32925.
- UserId had value 20123.
- ResourcePermission
- Primary key is resourcePermissionId and ctCollectionId.
- ResourcePermissionIds had values 3652, 3653 and 3654.
- Names had value com.liferay.site.navigation.model.SiteNavigationMenu.
- PrimKeys had value 33130.
- RoleIds had values 20103, 20111 and 20102. Which points to Owner, Site Member and Guest roles.
- OwnerIds had value 20123, 0 and 0.
Diagram is only showing the relationships most relevant.
Resources
tags: java - liferay ce - liferay - ce - mariadb - fedora - 41 - fedora 41 - linux - navigation - menu - navigation menu - 7.4