Work with controllers
When you modify a portal resource with the Controller SPI, you go through has a set of steps.
For example, these steps can be as follows:
- Obtain the appropriate controller.
- Obtain a modifiable instance of the resource to modify from the controller.
- Apply the modifications as required to the modifiable instance Commit the controller to persist the modifications.
- Optionally repeat steps 2 and 3 as required.
- Commit the controller to persist the modifications. This step saves and applies the modifications to the portal.
We 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 using the Controller SPI, you first need to create a controller.- Committing and persisting the modifications
To persist the modificatione that you applied to the controller, you commit the controller.
Parent: Controller SPI
Related:
Packages of the Controller SPI
Making modifications using the Controller SPI
Confirming modifications
Tips for using the Controller SPI