Package org.infoglue.cms.entities.management

Examples of org.infoglue.cms.entities.management.SiteNodeTypeDefinitionVO


  private String invokerClassName;
  private ConstraintExceptionBuffer ceb;
 
  public UpdateSiteNodeTypeDefinitionAction()
  {
    this(new SiteNodeTypeDefinitionVO());
  }
View Full Code Here


{
  private SiteNodeTypeDefinitionVO siteNodeTypeDefinitionVO;
 
  public DeleteSiteNodeTypeDefinitionAction()
  {
    this(new SiteNodeTypeDefinitionVO());
  }
View Full Code Here

   * is handling.
   */

  public BaseEntityVO getNewVO()
  {
    return new SiteNodeTypeDefinitionVO();
  }
View Full Code Here

    private List assignedAvailableServiceBindingVOList;
    private List allAvailableServiceBindingVOList;

    public ViewSiteNodeTypeDefinitionAction()
    {
        this(new SiteNodeTypeDefinitionVO());
    }
View Full Code Here

        }
       
        logger.info("skipRender:" + skipRender);
        if(!skipRender)
        {
          SiteNodeTypeDefinitionVO siteNodeTypeDefinitionVO = getSiteNodeTypeDefinition(this.siteNodeId, dbWrapper.getDatabase());
             
          try
            {
                String invokerClassName = siteNodeTypeDefinitionVO.getInvokerClassName();
                PageInvoker pageInvoker = (PageInvoker)Class.forName(invokerClassName).newInstance();
                pageInvoker.setParameters(dbWrapper, this.getRequest(), this.getResponse(), templateController, deliveryContext);
                pageInvoker.deliverPage();
 
                boolean isCachedResponse = deliveryContext.getIsCachedResponse();
View Full Code Here

            throw new SystemException("There was no page with this id.");

        if(siteNode.getSiteNodeTypeDefinitionId() == null)
            throw new SystemException("There was no SiteNodeTypeDefinition defined for the site node " + siteNode.getName() + "[" + siteNode.getId() + "].");

        SiteNodeTypeDefinitionVO siteNodeTypeDefinitionVO = getSiteNodeTypeDefinition(this.siteNodeId, dbWrapper.getDatabase());
        String invokerClassName = siteNodeTypeDefinitionVO.getInvokerClassName();
       
        if(invokerClassName == null || invokerClassName.equals(""))
        {
            throw new SystemException("There was no page invoker class assigned to this page type.");
        }
View Full Code Here

  private SiteNodeTypeDefinitionVO getSiteNodeTypeDefinition(Integer siteNodeId, Database db) throws SystemException, Exception
  {
      String key = "" + siteNodeId;
    logger.info("key:" + key);
    //SiteNodeTypeDefinitionVO siteNodeTypeDefinitionVO = (SiteNodeTypeDefinitionVO)CacheController.getCachedObjectFromAdvancedCache("pageCacheSiteNodeTypeDefinition", key);
    SiteNodeTypeDefinitionVO siteNodeTypeDefinitionVO = (SiteNodeTypeDefinitionVO)CacheController.getCachedObject("pageCacheSiteNodeTypeDefinition", key);
    if(siteNodeTypeDefinitionVO != null)
    {
      logger.info("There was an cached siteNodeTypeDefinitionVO:" + siteNodeTypeDefinitionVO);
    }
    else
View Full Code Here

  private List<ToolbarButton> getSiteNodeTypeDefinitionDetailsButtons(String toolbarKey, InfoGluePrincipal principal, Locale locale, HttpServletRequest request, boolean disableCloseButton) throws Exception
  {
    List<ToolbarButton> buttons = new ArrayList<ToolbarButton>();
   
    SiteNodeTypeDefinitionVO siteNodeTypeDefinitionVO = SiteNodeTypeDefinitionController.getController().getSiteNodeTypeDefinitionVOWithId(new Integer(request.getParameter("siteNodeTypeDefinitionId")));

    buttons.add(new ToolbarButton("",
        getLocalizedString(locale, "tool.managementtool.deleteSiteNodeTypeDefinition.header"),
        getLocalizedString(locale, "tool.managementtool.deleteSiteNodeTypeDefinition.header"),
        "DeleteSiteNodeTypeDefinition.action?siteNodeTypeDefinitionId=" + siteNodeTypeDefinitionVO.getId() + "&igSecurityCode=" + request.getSession().getAttribute("securityCode"),
        "css/images/v3/deleteBackgroundWasteBasket.gif",
        "left",
        "delete",
        false,
        true,
        getLocalizedString(locale, "tool.managementtool.deleteSiteNodeTypeDefinition.header"),
        getLocalizedString(locale, "tool.managementtool.deleteSiteNodeTypeDefinition.text", new String[]{siteNodeTypeDefinitionVO.getName()}),
        "workIframe"));

    return buttons;
  }
View Full Code Here

    private String invokerClassName;

 
  public CreateSiteNodeTypeDefinitionAction()
  {
    this(new SiteNodeTypeDefinitionVO());
  }
View Full Code Here

TOP

Related Classes of org.infoglue.cms.entities.management.SiteNodeTypeDefinitionVO

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.