Working with controllers

When you modify a portal resource with the Controller SPI, you go through a set of steps.

About this task

For example, these steps can be as follows:

Procedure

  1. Obtain the appropriate controller.
  2. Obtain a modifiable instance of the resource that you want to modify from the controller.
  3. Apply your modifications as required to the modifiable instance Commit the controller to persist the modifications.
  4. Optionally repeat steps 2 and 3 as required.
  5. Commit the controller to persist the modifications.
    This step saves and applies the modifications to your portal.

What to do next

Note: 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.