public class BrandingServiceImpl extends Object implements BrandingService
| Modifier and Type | Field and Description |
|---|---|
static String |
BRANDING_COMPANY_NAME_INIT_PARAM |
static String |
BRANDING_COMPANY_NAME_SETTING_KEY |
static String |
BRANDING_DEFAULT_LOGO_PATH |
static String |
BRANDING_LOGO_ID_SETTING_KEY |
static String |
BRANDING_LOGO_INIT_PARAM |
static String |
BRANDING_TOPBAR_THEME_SETTING_KEY |
static String |
FILE_API_NAME_SPACE |
static String |
LOGO_NAME |
| Constructor and Description |
|---|
BrandingServiceImpl(org.exoplatform.container.xml.InitParams initParams,
org.exoplatform.commons.api.settings.SettingService settingService,
org.exoplatform.commons.file.services.FileService fileService,
org.exoplatform.upload.UploadService uploadService) |
| Modifier and Type | Method and Description |
|---|---|
Branding |
getBrandingInformation()
Get all the branding information
|
String |
getCompanyName() |
Logo |
getDefaultLogo() |
Logo |
getLogo() |
Long |
getLogoId() |
String |
getTopBarTheme() |
void |
updateBrandingInformation(Branding branding)
Update the branding information
Missing information in the branding object are not updated.
|
void |
updateCompanyName(String companyName) |
void |
updateLogo(Logo logo)
Update branding logo.
|
void |
updateTopBarTheme(String topBarTheme) |
public static final String BRANDING_COMPANY_NAME_INIT_PARAM
public static final String BRANDING_LOGO_INIT_PARAM
public static final String BRANDING_COMPANY_NAME_SETTING_KEY
public static final String BRANDING_TOPBAR_THEME_SETTING_KEY
public static final String BRANDING_LOGO_ID_SETTING_KEY
public static final String FILE_API_NAME_SPACE
public static final String BRANDING_DEFAULT_LOGO_PATH
public static String LOGO_NAME
public BrandingServiceImpl(org.exoplatform.container.xml.InitParams initParams,
org.exoplatform.commons.api.settings.SettingService settingService,
org.exoplatform.commons.file.services.FileService fileService,
org.exoplatform.upload.UploadService uploadService)
public Branding getBrandingInformation()
getBrandingInformation in interface BrandingServicepublic void updateBrandingInformation(Branding branding) throws Exception
updateBrandingInformation in interface BrandingServicebranding - The new branding informationExceptionpublic String getCompanyName()
getCompanyName in interface BrandingServicepublic void updateCompanyName(String companyName)
updateCompanyName in interface BrandingServicepublic String getTopBarTheme()
getTopBarTheme in interface BrandingServicepublic Long getLogoId()
getLogoId in interface BrandingServicepublic Logo getLogo()
getLogo in interface BrandingServicepublic Logo getDefaultLogo()
getDefaultLogo in interface BrandingServicepublic void updateTopBarTheme(String topBarTheme)
updateTopBarTheme in interface BrandingServicepublic void updateLogo(Logo logo) throws Exception
updateLogo in interface BrandingServicelogo - The logo objectExceptionCopyright © 2003–2020 eXo Platform SAS. All rights reserved.