@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)
Encode widget properties and parameters that Select2 pick them up in a
hidden input.
|
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) |
List<String> |
resolveMultipleUserReferenceLabels(Object value,
boolean prefixed) |
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 |
resolveUserReferenceLabel(String storedReference,
boolean prefixed) |
@Destroy public void destroy()
public String encodeParameters(Widget widget) throws Exception
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)
public List<String> resolveMultipleUserReferenceLabels(Object value, boolean prefixed)
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)
Copyright © 2013 Nuxeo SA. All Rights Reserved.