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 Details

  • Method Details

    • 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