V1ToV2Converter.toV2RegistrationContext(registrationContext),
V1ToV2Converter.toV2PortletContext(portletContext),
V1ToV2Converter.toV2PropertyList(propertyList));
setPortletProperties.setUserContext(V1ToV2Converter.toV2UserContext(userContext));
PortletContext response = producer.setPortletProperties(setPortletProperties);
portletHandle.value = response.getPortletHandle();
portletState.value = response.getPortletState();
extensions.value = WSRPUtils.transform(response.getExtensions(), V2ToV1Converter.EXTENSION);
}
catch (AccessDenied accessDenied)
{
throw V2ToV1Converter.toV1Exception(V1AccessDenied.class, accessDenied);
}