Package org.infoglue.cms.providers

Examples of org.infoglue.cms.providers.ContentDetailPageResolver


          {
            ContentTypeDefinitionVO contentTypeDefinitionVO = ContentTypeDefinitionController.getController().getContentTypeDefinitionVOWithId(contentVO.getContentTypeDefinitionId(), getController().getDatabase());
            logger.info("contentTypeDefinitionVO:" + contentTypeDefinitionVO.getName());
            if(contentTypeDefinitionVO.getDetailPageResolverClass() != null && !contentTypeDefinitionVO.getDetailPageResolverClass().equals(""))
            {
              ContentDetailPageResolver cdpr = (ContentDetailPageResolver)loadExtensionClass(contentTypeDefinitionVO.getDetailPageResolverClass()).newInstance();;
              logger.info("cdpr:" + cdpr.getName());
              SiteNodeVO detailSiteNodeVO = cdpr.getDetailSiteNodeVO(getController().getPrincipal(), contentVO.getId(), contentTypeDefinitionVO.getDetailPageResolverData(), getController().getDatabase());
              logger.info("detailSiteNodeVO:" + detailSiteNodeVO.getId());
              webPage = getController().getPage(detailSiteNodeVO.getId(), getController().getLanguageId(), new Integer(-1), escapeHTML, hideUnauthorizedPages);
              logger.info("webPage:" + webPage.getSiteNodeId());
            }
          }
View Full Code Here

TOP

Related Classes of org.infoglue.cms.providers.ContentDetailPageResolver

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.