fr.paris.lutece.portal.service.globalmanagement
Class RichTextEditorService

java.lang.Object
  extended by fr.paris.lutece.portal.service.globalmanagement.RichTextEditorService

public final class RichTextEditorService
extends Object

Service to manage front office and back office default rich text editor


Field Summary
static String MARK_DEFAULT_TEXT_EDITOR
           
 
Method Summary
static String getBackOfficeDefaultEditor()
          Get the default rich text editor for back office
static String getFrontOfficeDefaultEditor()
          Get the default rich text editor for front office
static ReferenceList getListEditorsForBackOffice(Locale locale)
          Get the list of rich text editors for back office
static ReferenceList getListEditorsForFrontOffice(Locale locale)
          Get the list of rich text editors for front office
static void updateBackOfficeDefaultEditor(String strEditorUrl)
          Update the default rich text editor for back office
static void updateFrontOfficeDefaultEditor(String strEditorUrl)
          Update the default rich text editor for front office
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Copyright © 2014 Mairie de Paris. All Rights Reserved.