Package org.ametys.web.welcome
Class WelcomeHelper
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.cms.welcome.WelcomeHelper
-
- org.ametys.web.welcome.WelcomeHelper
-
- All Implemented Interfaces:
LogEnabled
,Component
,Serviceable
public class WelcomeHelper extends WelcomeHelper
Helper for the welcome button / tool / page
-
-
Field Summary
Fields Modifier and Type Field Description protected static SiteManager
_siteManager
Site Manager-
Fields inherited from class org.ametys.cms.welcome.WelcomeHelper
_resolver, ROLE
-
-
Constructor Summary
Constructors Constructor Description WelcomeHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getXsltPath(Map<String,Object> parameters)
Get the path of XSLT file for the welcome tool or null if not foundvoid
service(ServiceManager smanager)
-
Methods inherited from class org.ametys.cms.welcome.WelcomeHelper
getXsltPath
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Field Detail
-
_siteManager
protected static SiteManager _siteManager
Site Manager
-
-
Constructor Detail
-
WelcomeHelper
public WelcomeHelper()
-
-
Method Detail
-
service
public void service(ServiceManager smanager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classWelcomeHelper
- Throws:
ServiceException
-
getXsltPath
public String getXsltPath(Map<String,Object> parameters)
Description copied from class:WelcomeHelper
Get the path of XSLT file for the welcome tool or null if not found- Overrides:
getXsltPath
in classWelcomeHelper
- Parameters:
parameters
- the contextual parameters- Returns:
- the XSLT file path or null if not found
-
-