public class Select2Common extends SuggestConstants
Modifier and Type | Field and Description |
---|---|
static String |
AJAX_RERENDER |
static int |
DEFAULT_MIN_CHARS |
static String |
DEFAULT_WIDTH |
static String |
DIR_DEFAULT_SELECTION_FORMATTER |
static String |
DIR_DEFAULT_SUGGESTION_FORMATTER |
static String |
DOC_DEFAULT_SELECTION_FORMATTER |
static String |
DOC_DEFAULT_SUGGESTION_FORMATTER |
static String |
LOCKED |
static String |
MIN_CHARS |
protected static com.fasterxml.jackson.databind.ObjectMapper |
OBJECT_MAPPER |
static String |
OPERATION_ID |
static String |
PLACEHOLDER |
static String |
READ_ONLY_PARAM |
static String |
RERENDER_JS_FUNCTION_NAME |
static List<String> |
SELECT2_DEFAULT_DOCUMENT_SCHEMAS |
static List<String> |
SELECT2_DIR_WIDGET_TYPE_LIST |
static List<String> |
SELECT2_DOC_WIDGET_TYPE_LIST |
static List<String> |
SELECT2_USER_WIDGET_TYPE_LIST |
static String |
SELECTION_FORMATTER |
static String |
SUGGESTION_FORMATTER |
static String |
TITLE |
static String |
USER_DEFAULT_SELECTION_FORMATTER |
static String |
USER_DEFAULT_SUGGESTION_FORMATTER |
static String |
WIDTH |
ABSOLUTE_LABEL, COMPUTED_ID, DEFAULT_KEY_SEPARATOR, DEFAULT_LANG, DIRECTORY_DEFAULT_LABEL_COL_NAME, DIRECTORY_ORDER_FIELD_NAME, DISPLAY_ICON, forceDisplayEmailInSuggestion, GROUP_TYPE, ICON, ID, LABEL, LANG_TOKEN, OBSOLETE_FIELD_ID, PARENT_FIELD_ID, PREFIXED_ID_KEY_NAME, TYPE_KEY_NAME, USER_TYPE, WARN_MESSAGE_LABEL
Modifier and Type | Method and Description |
---|---|
static String[] |
getDefaultSchemas() |
static String[] |
getSchemas(String schemaNames)
Returns an array containing the given schema names plus the default ones if not included
|
static String |
resolveDefaultEntries(List<String> list) |
static DocumentModel |
resolveReference(String property,
String value,
CoreSession session)
Finds a document by the given property and value.
|
computeGroupLabel, computeUserGroupIcon, computeUserLabel, getLabelFieldName, isForceDisplayEmailInSuggestion
protected static final com.fasterxml.jackson.databind.ObjectMapper OBJECT_MAPPER
public static final String LOCKED
public static final String PLACEHOLDER
public static final List<String> SELECT2_USER_WIDGET_TYPE_LIST
public static final List<String> SELECT2_DOC_WIDGET_TYPE_LIST
public static final String SUGGESTION_FORMATTER
public static final String SELECTION_FORMATTER
public static final String USER_DEFAULT_SUGGESTION_FORMATTER
public static final String DOC_DEFAULT_SUGGESTION_FORMATTER
public static final List<String> SELECT2_DIR_WIDGET_TYPE_LIST
public static final List<String> SELECT2_DEFAULT_DOCUMENT_SCHEMAS
public static final String DIR_DEFAULT_SUGGESTION_FORMATTER
public static final String READ_ONLY_PARAM
public static final String RERENDER_JS_FUNCTION_NAME
public static final String AJAX_RERENDER
public static final String USER_DEFAULT_SELECTION_FORMATTER
public static final String DOC_DEFAULT_SELECTION_FORMATTER
public static final String DIR_DEFAULT_SELECTION_FORMATTER
public static final String WIDTH
public static final String DEFAULT_WIDTH
public static final String MIN_CHARS
public static final int DEFAULT_MIN_CHARS
public static final String TITLE
public static final String OPERATION_ID
public static String[] getDefaultSchemas()
public static String[] getSchemas(String schemaNames)
schemaNames
- public static String resolveDefaultEntries(List<String> list)
public static DocumentModel resolveReference(String property, String value, CoreSession session)
DocumentRef
.Copyright © 2018 Nuxeo. All rights reserved.