@Scope(value=SESSION) @Name(value="liveEditClientConfig") @Install(precedence=10) public class LiveEditClientConfig extends Object implements Serializable
On the client side, the LiveEdit plugin advertise its feature via the Accept Header of the browser. This information may be used to decide if LiveEdit links must be displayed or not.
The behavior can be configured via the property: org.nuxeo.ecm.platform.liveedit.config
There are 3 possible values :
Modifier and Type | Field and Description |
---|---|
static String |
LE_CONFIG_BOTHSIDES |
static String |
LE_CONFIG_CLIENTSIDE |
static String |
LE_CONFIG_PROPERTY |
static String |
LE_CONFIG_SERVERSIDE |
static String |
LE_MIME_TYPE |
Constructor and Description |
---|
LiveEditClientConfig() |
Modifier and Type | Method and Description |
---|---|
String |
getLiveEditConfigurationPolicy() |
boolean |
isLiveEditInstalled() |
boolean |
isMimeTypeLiveEditable(String mimetype) |
public static final String LE_MIME_TYPE
public static final String LE_CONFIG_PROPERTY
public static final String LE_CONFIG_CLIENTSIDE
public static final String LE_CONFIG_SERVERSIDE
public static final String LE_CONFIG_BOTHSIDES
Copyright © 2012 Nuxeo SA. All Rights Reserved.