Class RichTextEditorService
- java.lang.Object
-
- fr.paris.lutece.portal.service.editor.RichTextEditorService
-
public final class RichTextEditorService extends java.lang.ObjectService to manage front office and back office default rich text editor
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringMARK_DEFAULT_TEXT_EDITOR
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetBackOfficeDefaultEditor()Get the default rich text editor for back officestatic java.lang.StringgetFrontOfficeDefaultEditor()Get the default rich text editor for front officestatic ReferenceListgetListEditorsForBackOffice(java.util.Locale locale)Get the list of rich text editors for back officestatic ReferenceListgetListEditorsForFrontOffice(java.util.Locale locale)Get the list of rich text editors for front officestatic voidupdateBackOfficeDefaultEditor(java.lang.String strEditorUrl)Update the default rich text editor for back officestatic voidupdateFrontOfficeDefaultEditor(java.lang.String strEditorUrl)Update the default rich text editor for front office
-
-
-
Field Detail
-
MARK_DEFAULT_TEXT_EDITOR
public static final java.lang.String MARK_DEFAULT_TEXT_EDITOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
getBackOfficeDefaultEditor
public static java.lang.String getBackOfficeDefaultEditor()
Get the default rich text editor for back office- Returns:
- The default rich text editor for back office
-
getFrontOfficeDefaultEditor
public static java.lang.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(java.lang.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(java.lang.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(java.util.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(java.util.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
-
-