Packages of the Controller SPI
The portal provides the SPI Controller in several separate packages.
These packages are as follows:
-
com.ibm.portal. This package holds the following interfaces:- Base interfaces for the Controller SPI, for example
ModifiableandController. - Modifiable interfaces, such as
ModifiableActiveFlag,ModifiableLocalized,ModifiableMetaData.
- Base interfaces for the Controller SPI, for example
-
com.ibm.portal.admin. This package holds modifiable interfaces, for example theModifiableMarkupCapableand theLanguageListController. -
com.ibm.portal.content. This package holds the following interfaces:- Interfaces for content and layout model controller modifiable interfaces for content and layout nodes. For example, these can be
ModifiableContentPageorModifiableLayoutContainer. - Modifiable interfaces for modifiable aspects of content and layout nodes, for example
ModifiableBookmarkableFlag - Creation contexts for creating content pages and layout nodes, for example
LayoutContainerCreationContext.
- Interfaces for content and layout model controller modifiable interfaces for content and layout nodes. For example, these can be
-
com.ibm.portal.model.controller. This package holds home and provider interfaces to obtain controllers, including a builder factory forCreationContextinstances. -
com.ibm.portal.model.controller.exceptions. This package holds controller specific exceptions. -
com.ibm.portal.portlet. This package holds the following interfaces:- Interfaces for the portlet model controller.
- Modifiable interfaces for portlet definitions, entities and preferences, for example
ModifiablePortletPreferencesandModifiablePortletEntity. - Portlet creation and cloning context interfaces.
Note
A controller interface usually resides in the same package as its corresponding read-only Model SPI interface.