public static ImportedPortlet createImportedPortlet(String portletID, PortletContext portletContext)
{
ParameterValidation.throwIllegalArgExceptionIfNull(portletID, "PortletID");
ParameterValidation.throwIllegalArgExceptionIfNull(portletContext, "PortletContext");
ImportedPortlet importedPortlet = new ImportedPortlet();
importedPortlet.setImportID(portletID);
importedPortlet.setNewPortletContext(portletContext);
return importedPortlet;
}