1 23 24 package org.infoglue.cms.applications.cmstool.actions; 25 26 import java.util.Locale ; 27 28 import org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction; 29 import org.infoglue.cms.util.CmsPropertyHandler; 30 31 36 37 public class ViewCMSToolHeaderAction extends InfoGlueAbstractAction 38 { 39 private static final long serialVersionUID = -6699854300371586633L; 40 41 public String getUserName() 42 { 43 return this.getInfoGluePrincipal().getName(); 44 } 45 46 public Locale getCurrentLocale() 47 { 48 return this.getSession().getLocale(); 49 } 50 51 public String getHelpUrl() 52 { 53 return CmsPropertyHandler.getHelpUrl(); 54 } 55 56 public String doExecute() throws Exception 57 { 58 return "success"; 59 } 60 61 } 62 | Popular Tags |