Modify properties
Overview
The Controller SPI allows us to modify properties resources.
To modify properties of a resource...
- Obtain the appropriate controller for the model of which to modify a resource.
- Obtain a modifiable instance of the resource from that controller.
- Invoke the appropriate methods of the modifiable instance to perform the modifications.
- Persist the modifications using the commit() method of the controller.
See
- Set titles and descriptions
- Set unique names
- Set metadata
- Set supported markups
- Set the orientation for layout containers
- Set portlet preferences
- Set flags
- Set themes
- Set URLs
Parent: Making modifications using the Controller SPI
Related:
Modify portal resources and topologies