final IPortletDefinition portletDefinition = this.portletDefinitionRegistry.getPortletDefinition(Integer.parseInt(channelPublishId));
if (portletDefinition == null) {
throw new InconsistentPortletModelException("No IPortletDefinition exists for channelPublishId: " + channelPublishId, null);
}
final IPortletDefinitionId portletDefinitionId = portletDefinition.getPortletDefinitionId();
final String channelSubscribeId = channelStaticData.getChannelSubscribeId();
final IPerson person = channelStaticData.getPerson();
final IPortletEntity portletEntity = this.portletEntityRegistry.getOrCreatePortletEntity(portletDefinitionId, channelSubscribeId, person.getID());
//Get/create the portlet window to init