public static GetPortletDescription toV2GetPortletDescription(V1GetPortletDescription getPortletDescription)
{
if (getPortletDescription != null)
{
RegistrationContext registrationContext = toV2RegistrationContext(getPortletDescription.getRegistrationContext());
PortletContext portletContext = toV2PortletContext(getPortletDescription.getPortletContext());
UserContext userContext = toV2UserContext(getPortletDescription.getUserContext());
GetPortletDescription result = WSRPTypeFactory.createGetPortletDescription(registrationContext, portletContext, userContext);
result.getDesiredLocales().addAll(getPortletDescription.getDesiredLocales());