public class AmetysFrontEditionHelper extends Object implements Serviceable
Modifier and Type | Field and Description |
---|---|
private static HashCache |
_hashCache |
private static RichTextConfigurationExtensionPoint |
_richTextConfigurationExtensionPoint |
Constructor and Description |
---|
AmetysFrontEditionHelper() |
Modifier and Type | Method and Description |
---|---|
private static void |
_addRichTextConfigurationFiles(Map<String,Map<String,String>> files,
Map<String,String> filesInfos,
String locale,
boolean rtlMode,
boolean scripts) |
private static List<ClientSideElement.ScriptFile> |
_getRichTextConfigurationFiles(boolean scripts,
Map<String,Object> contextParameters) |
static String |
prepareCSSFiles(String locale,
boolean rtlMode)
Prepare a hashcode for css files
|
static String |
prepareJSFiles(String locale,
boolean rtlMode)
Prepare a hashcode for js files
|
void |
service(ServiceManager manager) |
private static HashCache _hashCache
private static RichTextConfigurationExtensionPoint _richTextConfigurationExtensionPoint
public AmetysFrontEditionHelper()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
public static String prepareJSFiles(String locale, boolean rtlMode)
locale
- The language code to usertlMode
- Is for right-to-left language?public static String prepareCSSFiles(String locale, boolean rtlMode)
locale
- The language code to usertlMode
- Is for right-to-left language?private static List<ClientSideElement.ScriptFile> _getRichTextConfigurationFiles(boolean scripts, Map<String,Object> contextParameters)