Package com.ibm.portal.portletconversion

This package specifies a SPI for explicit conversion of portlet settings and portlet data during conversion of a IBM API portlet to a standard API portlet.

See:
          Description

Interface Summary
Data This interface defines a representation of values and types of portlet settings and portlet data of a source IBM API portlet.
PortletConverter This interface defines a SPI for explicit conversion of IBM API portlet settings and portlet data.
 

Exception Summary
ConversionFailedException This exception indicates that a portlet conversion has failed.
 

Package com.ibm.portal.portletconversion Description

This package specifies a SPI for explicit conversion of portlet settings and portlet data during conversion of a IBM API portlet to a standard API portlet.

Package Specification

The portlet conversion task converts portlet instances and portlet settings of IBM API portlets to portlet instances and portlet preferences of corresponding target standard API portlets.

The portlet conversion task by default takes over portlet settings and portlet data items of data type String, converting them to portlet preferences without performing modification of values. In order to allow explicit conversion of portlet data and portlet settings, the portlet conversion task allows to provide a user defined portlet converter that may realize any kind of custom syntactical or semantical conversion.

In order to provide the portlet converter when executing the portlet conversion task, the portlet converter class name must be specified in the portletconversion.properties file. During runtime of the conversion, the portlet conversion task instantiates the portlet converter and invokes the convert method for explicit conversion.