Package org.ametys.cms.welcome
Class WelcomeHelper
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.cms.welcome.WelcomeHelper
- All Implemented Interfaces:
LogEnabled
,Component
,Serviceable
- Direct Known Subclasses:
WelcomeHelper
Helper for the welcome button / tool / page
-
Field Summary
Modifier and TypeFieldDescriptionprotected SourceResolver
Source Resolverstatic final String
The Avalon role -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetXsltPath
(Map<String, Object> contextualParameters) Get the path of XSLT file for the welcome tool or null if not foundgetXsltPath
(Parameters parameters) Get the path of XSLT file for the welcome tool or null if not foundvoid
service
(ServiceManager manager) Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
ROLE
The Avalon role -
_resolver
Source Resolver
-
-
Constructor Details
-
WelcomeHelper
public WelcomeHelper()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
getXsltPath
Get the path of XSLT file for the welcome tool or null if not found- Parameters:
parameters
- the sitemap parameters- Returns:
- the XSLT file path or null if not found
-
getXsltPath
Get the path of XSLT file for the welcome tool or null if not found- Parameters:
contextualParameters
- the contextual parameters- Returns:
- the XSLT file path or null if not found
-