1 23 24 package org.infoglue.cms.applications.publishingtool.actions; 25 26 import org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction; 27 import org.infoglue.cms.controllers.kernel.impl.simple.SiteNodeVersionController; 28 import org.infoglue.cms.entities.structure.SiteNodeVersionVO; 29 30 38 39 40 public class PreviewSiteNodeVersionAction extends InfoGlueAbstractAction 41 { 42 private Integer siteNodeVersionId; 43 private SiteNodeVersionVO siteNodeVersionVO; 44 45 48 protected String doExecute() throws Exception 49 { 50 siteNodeVersionVO = SiteNodeVersionController.getController().getSiteNodeVersionVOWithId(siteNodeVersionId); 51 return "success"; 52 } 53 54 55 56 60 public Integer getSiteNodeVersionId() { 61 return siteNodeVersionId; 62 } 63 64 68 public SiteNodeVersionVO getSiteNodeVersionVO() { 69 return siteNodeVersionVO; 70 } 71 72 76 public void setSiteNodeVersionId(Integer siteNodeVersionId) { 77 this.siteNodeVersionId = siteNodeVersionId; 78 } 79 80 84 public void setSiteNodeVersionVO(SiteNodeVersionVO siteNodeVersionVO) { 85 this.siteNodeVersionVO = siteNodeVersionVO; 86 } 87 88 } 89 | Popular Tags |