public class DirectoryTreeDescriptor extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ACTION_ID_PREFIX |
protected String |
contentView
Content view to be updated on node selection
|
static String |
DIR_ACTION_CATEGORY |
protected String[] |
directories
List of directories ids used to build the classification tree.
|
protected Boolean |
enabled |
protected String |
fieldName
Name of the QueryModel field that will be used updated on node selection.
|
protected boolean |
isNavigationTree |
protected String |
label
Label to be displayed as the root of the tree (description field).
|
protected Boolean |
multiselect
Allows the selection of several nodes of the tree.
|
protected String |
name |
static String |
NAV_ACTION_CATEGORY |
protected Integer |
order |
protected String |
outcome
Id of the faces navigation case to return on node selection.
|
protected String |
schemaName
Name of the QueryModel schema for the field that will be used updated on node selection.
|
static String |
VOCABULARY_SCHEMA
Deprecated.
since 5.6, supports other schemas than 'vocabulary' and 'xvocabulary'.
|
static String |
XVOCABULARY_SCHEMA
Deprecated.
since 5.6, supports other schemas than 'vocabulary' and 'xvocabulary'.
|
Constructor and Description |
---|
DirectoryTreeDescriptor() |
Modifier and Type | Method and Description |
---|---|
DirectoryTreeDescriptor |
clone() |
protected Action |
getAction()
Helper to register a simple action based on the given descriptor
|
String |
getContentView() |
String[] |
getDirectories() |
Boolean |
getEnabled() |
String |
getFieldName() |
String |
getLabel() |
String |
getName() |
Integer |
getOrder() |
String |
getOutcome() |
String |
getSchemaName() |
boolean |
hasContentViewSupport() |
boolean |
isMultiselect() |
boolean |
isNavigationTree() |
void |
merge(DirectoryTreeDescriptor other) |
void |
setDirectories(String[] directories) |
public static final String ACTION_ID_PREFIX
public static final String NAV_ACTION_CATEGORY
public static final String DIR_ACTION_CATEGORY
@Deprecated public static final String VOCABULARY_SCHEMA
@Deprecated public static final String XVOCABULARY_SCHEMA
protected boolean isNavigationTree
protected String contentView
protected String fieldName
protected String schemaName
protected Boolean multiselect
protected String[] directories
public DirectoryTreeDescriptor()
public void setDirectories(String[] directories) throws DirectoryException
DirectoryException
public String getFieldName()
public String[] getDirectories()
public boolean isMultiselect()
public String getOutcome()
public String getContentView()
public String getSchemaName()
public Boolean getEnabled()
public boolean isNavigationTree()
public boolean hasContentViewSupport()
public void merge(DirectoryTreeDescriptor other)
public DirectoryTreeDescriptor clone()
Copyright © 2016 Nuxeo SA. All rights reserved.