@Name(value="select2Actions") @Scope(value=EVENT) public class Select2ActionsBean extends Object implements Serializable
Constructor and Description |
---|
Select2ActionsBean() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
String |
encodeParameters(Widget widget) |
String |
encodeParameters(Widget widget,
Map<String,Serializable> resolvedWidgetProperties) |
String |
encodeParameters(Widget widget,
Map<String,String> defaultParams,
Map<String,Serializable> resolvedWidgetProperties)
Encode widget properties and parameters that Select2 pick them up in a
hidden input.
|
String |
encodeParametersForDirectory(Widget widget,
Map<String,Serializable> resolvedWidgetProperties) |
String |
encodeParametersForUserSuggestion(Widget widget,
Map<String,Serializable> resolvedWidgetProperties) |
boolean |
isMultiSelection(Widget widget) |
boolean |
mustIncludeResources() |
String |
resolveMultipleDirectoryEntries(Object value,
String directoryName,
boolean translateLabels,
String keySeparator,
boolean dbl10n,
String labelFieldName) |
List<String> |
resolveMultipleDirectoryEntryLabels(Object value,
String directoryName,
boolean translateLabels,
String keySeparator,
boolean dbl10n,
String labelFieldName) |
List<String> |
resolveMultipleReferenceLabels(Object value,
String repo,
String operationName,
String idProperty,
String label) |
String |
resolveMultipleReferences(Object value,
String repo,
String operationName,
String idProperty,
String schemaNames) |
String |
resolveMultipleUserReference(Object value,
boolean prefixed,
String firstLabelField,
String secondLabelField,
String thirdLabelField,
boolean hideFirstLabel,
boolean hideSecondLabel,
boolean hideThirdLabel,
boolean displayEmailInSuggestion,
boolean hideIcon) |
List<String> |
resolveMultipleUserReferenceLabels(Object value,
boolean prefixed,
String firstLabelField,
String secondLabelField,
String thirdLabelField,
boolean hideFirstLabel,
boolean hideSecondLabel,
boolean hideThirdLabel,
boolean displayEmailInSuggestion,
boolean hideIcon) |
String |
resolveSingleDirectoryEntry(String storedReference,
String directoryName,
boolean translateLabels,
String keySeparator,
boolean dbl10n,
String labelFieldName) |
String |
resolveSingleDirectoryEntryLabel(String storedReference,
String directoryName,
boolean translateLabels,
String keySeparator,
boolean dbl10n,
String labelFieldName) |
String |
resolveSingleReference(String storedReference,
String repo,
String operationName,
String idProperty,
String schemaNames) |
String |
resolveSingleReferenceLabel(String storedReference,
String repo,
String operationName,
String idProperty,
String label) |
String |
resolveSingleUserReference(String storedReference,
boolean prefixed,
String firstLabelField,
String secondLabelField,
String thirdLabelField,
boolean hideFirstLabel,
boolean hideSecondLabel,
boolean hideThirdLabel,
boolean displayEmailInSuggestion,
boolean hideIcon) |
String |
resolveUserReferenceLabel(String storedReference,
boolean prefixed,
String firstLabelField,
String secondLabelField,
String thirdLabelField,
boolean hideFirstLabel,
boolean hideSecondLabel,
boolean hideThirdLabel,
boolean displayEmailInSuggestion,
boolean hideIcon) |
@Destroy public void destroy()
public String encodeParametersForUserSuggestion(Widget widget, Map<String,Serializable> resolvedWidgetProperties)
public String encodeParametersForDirectory(Widget widget, Map<String,Serializable> resolvedWidgetProperties)
public String encodeParameters(Widget widget, Map<String,Serializable> resolvedWidgetProperties)
public String encodeParameters(Widget widget, Map<String,String> defaultParams, Map<String,Serializable> resolvedWidgetProperties)
widget
- the widgetException
public boolean isMultiSelection(Widget widget)
public boolean mustIncludeResources()
public String resolveMultipleDirectoryEntries(Object value, String directoryName, boolean translateLabels, String keySeparator, boolean dbl10n, String labelFieldName)
public List<String> resolveMultipleDirectoryEntryLabels(Object value, String directoryName, boolean translateLabels, String keySeparator, boolean dbl10n, String labelFieldName)
public List<String> resolveMultipleReferenceLabels(Object value, String repo, String operationName, String idProperty, String label) throws Exception
Exception
public String resolveMultipleReferences(Object value, String repo, String operationName, String idProperty, String schemaNames) throws Exception
Exception
public String resolveMultipleUserReference(Object value, boolean prefixed, String firstLabelField, String secondLabelField, String thirdLabelField, boolean hideFirstLabel, boolean hideSecondLabel, boolean hideThirdLabel, boolean displayEmailInSuggestion, boolean hideIcon)
public List<String> resolveMultipleUserReferenceLabels(Object value, boolean prefixed, String firstLabelField, String secondLabelField, String thirdLabelField, boolean hideFirstLabel, boolean hideSecondLabel, boolean hideThirdLabel, boolean displayEmailInSuggestion, boolean hideIcon)
public String resolveSingleDirectoryEntry(String storedReference, String directoryName, boolean translateLabels, String keySeparator, boolean dbl10n, String labelFieldName)
public String resolveSingleDirectoryEntryLabel(String storedReference, String directoryName, boolean translateLabels, String keySeparator, boolean dbl10n, String labelFieldName)
public String resolveSingleReference(String storedReference, String repo, String operationName, String idProperty, String schemaNames) throws Exception
Exception
public String resolveSingleReferenceLabel(String storedReference, String repo, String operationName, String idProperty, String label) throws Exception
Exception
public String resolveSingleUserReference(String storedReference, boolean prefixed, String firstLabelField, String secondLabelField, String thirdLabelField, boolean hideFirstLabel, boolean hideSecondLabel, boolean hideThirdLabel, boolean displayEmailInSuggestion, boolean hideIcon)
public String resolveUserReferenceLabel(String storedReference, boolean prefixed, String firstLabelField, String secondLabelField, String thirdLabelField, boolean hideFirstLabel, boolean hideSecondLabel, boolean hideThirdLabel, boolean displayEmailInSuggestion, boolean hideIcon)
Copyright © 2014 Nuxeo SA. All rights reserved.