Class NewsletterTemplate
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.ametys.plugins.newsletter.category.NewsletterTemplate
- All Implemented Interfaces:
Component
,LogEnabled
,Serviceable
Represent a newsletter template.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe template descriptiongetId()
The template idgetLabel()
The template labelThe large image file uriThe medium image file uriThe small image file urivoid
Refresh the configuration valuesvoid
service
(ServiceManager manager) Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Constructor Details
-
NewsletterTemplate
Creates a template- Parameters:
skinId
- The skin idtemplateId
- The template id
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
getId
The template id- Returns:
- the id
-
getLabel
The template label- Returns:
- The label
-
getDescription
The template description- Returns:
- The description. Can not be null but can be empty
-
getSmallImage
The small image file uri- Returns:
- The small image file uri
-
getMediumImage
The medium image file uri- Returns:
- The medium image file uri
-
getLargeImage
The large image file uri- Returns:
- The large image file uri
-
refreshValues
Refresh the configuration values
-