Class IdServerBrandingService
java.lang.Object
com.io7m.idstore.server.service.branding.IdServerBrandingService
- All Implemented Interfaces:
IdServerBrandingServiceType,com.io7m.repetoir.core.RPServiceType
The service that supplies branding information.
-
Method Summary
Modifier and TypeMethodDescriptionstatic IdServerBrandingServiceTypecreate(IdFMTemplateServiceType templates, IdServerBrandingConfiguration configuration) Create a branding service.css()emailSubject(String subject) The branded email subject.byte[]title()toString()
-
Method Details
-
create
public static IdServerBrandingServiceType create(IdFMTemplateServiceType templates, IdServerBrandingConfiguration configuration) throws IOException Create a branding service.- Parameters:
templates- The template serviceconfiguration- The branding configuration- Returns:
- A branding service
- Throws:
IOException- On errors
-
logoImage
public byte[] logoImage()- Specified by:
logoImagein interfaceIdServerBrandingServiceType- Returns:
- The bytes of an SVG logo image
-
title
- Specified by:
titlein interfaceIdServerBrandingServiceType- Returns:
- The product title
-
xButtonCSS
- Specified by:
xButtonCSSin interfaceIdServerBrandingServiceType- Returns:
- The xButton CSS
-
css
- Specified by:
cssin interfaceIdServerBrandingServiceType- Returns:
- The CSS text
-
description
- Specified by:
descriptionin interfacecom.io7m.repetoir.core.RPServiceType
-
htmlTitle
- Specified by:
htmlTitlein interfaceIdServerBrandingServiceType- Parameters:
name- The name/phrase- Returns:
- An HTML title for the given name/phrase
-
loginExtraText
- Specified by:
loginExtraTextin interfaceIdServerBrandingServiceType- Returns:
- The extra text inserted below the login form (XHTML)
-
toString
-
emailSubject
Description copied from interface:IdServerBrandingServiceTypeThe branded email subject.- Specified by:
emailSubjectin interfaceIdServerBrandingServiceType- Parameters:
subject- The subject txt- Returns:
- The branded string
-