Work with controllers
When you modify a portal resource with the Controller SPI, you go through a set of steps.
For example, these steps can be as follows:
- Obtain the appropriate controller.
- Obtain a modifiable instance of the resource that you want to modify from the controller.
- Apply your modifications as required to the modifiable instance
Commit the controller to persist the modifications.
- Optionally repeat steps 2 and 3 above as required.
- Commit the controller to persist the modifications. This step saves and applies the modifications to your portal.
You can modify multiple resources with one controller before you commit the modifications.
For more detailed information about each of these steps refer to the following topics.
- Obtaining a controller for working with resources
To modify, create, or delete portal resources by using the Controller SPI, you first need to create a controller.- Committing and persisting your modifications
To persist the modifications that you applied to the controller, you commit the controller.
Parent topic
Controller SPI
Related concepts
Terminology for the Controller SPI
Packages of the Controller SPI
Hints and tips for using the Controller SPI
Related tasks
Making modifications by using the Controller SPI
Confirming modifications