code: @Override
      public IPortletEntity getPortletEntity(String layoutNodeId, int userId) {
          if (layoutNodeId.startsWith(TransientUserLayoutManagerWrapper.SUBSCRIBE_PREFIX)) {
              final String databaseChannelSubscribeId =
                      this.determineDatabaseChannelSubscribeId(layoutNodeId);
  
              final IPortletEntity portletEntity =
                      this.delegatePortletEntityDao.getPortletEntity(
                              databaseChannelSubscribeId, userId);
              return this.wrapEntity(portletEntity);
          }
  
          return this.delegatePortletEntityDao.getPortletEntity(layoutNodeId, userId);
      }
docs: /* (non-Javadoc)
  @see org.apereo.portal.portlet.dao.IPortletEntityDao#getPortletEntity(java.lang.String, int)