Class RichTextEditorService
- java.lang.Object
-
- fr.paris.lutece.portal.service.editor.RichTextEditorService
-
public final class RichTextEditorService extends Object
Service to manage front office and back office default rich text editor
-
-
Field Summary
Fields Modifier and Type Field Description static StringMARK_DEFAULT_TEXT_EDITOR
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetBackOfficeDefaultEditor()Get the default rich text editor for back officestatic StringgetFrontOfficeDefaultEditor()Get the default rich text editor for front officestatic ReferenceListgetListEditorsForBackOffice(Locale locale)Get the list of rich text editors for back officestatic ReferenceListgetListEditorsForFrontOffice(Locale locale)Get the list of rich text editors for front officestatic voidupdateBackOfficeDefaultEditor(String strEditorUrl)Update the default rich text editor for back officestatic voidupdateFrontOfficeDefaultEditor(String strEditorUrl)Update the default rich text editor for front office
-
-
-
Field Detail
-
MARK_DEFAULT_TEXT_EDITOR
public static final String MARK_DEFAULT_TEXT_EDITOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
getBackOfficeDefaultEditor
public static String getBackOfficeDefaultEditor()
Get the default rich text editor for back office- Returns:
- The default rich text editor for back office
-
getFrontOfficeDefaultEditor
public static String getFrontOfficeDefaultEditor()
Get the default rich text editor for front office- Returns:
- The default rich text editor for front office
-
updateBackOfficeDefaultEditor
public static void updateBackOfficeDefaultEditor(String strEditorUrl)
Update the default rich text editor for back office- Parameters:
strEditorUrl- Name of the new rich text editor for back office
-
updateFrontOfficeDefaultEditor
public static void updateFrontOfficeDefaultEditor(String strEditorUrl)
Update the default rich text editor for front office- Parameters:
strEditorUrl- Name of the new rich text editor for front office
-
getListEditorsForBackOffice
public static ReferenceList getListEditorsForBackOffice(Locale locale)
Get the list of rich text editors for back office- Parameters:
locale- The locale of to use- Returns:
- The list of rich text editors for back office
-
getListEditorsForFrontOffice
public static ReferenceList getListEditorsForFrontOffice(Locale locale)
Get the list of rich text editors for front office- Parameters:
locale- The locale of to use- Returns:
- The list of rich text editors for front office
-
-