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
FieldsModifier and TypeFieldDescriptionprotected SourceResolverSource Resolverstatic final StringThe Avalon role -
Constructor Summary
Constructors -
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 foundvoidservice(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:
servicein 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
-