public class VocabularyTreeNode extends Object
Modifier and Type | Field and Description |
---|---|
protected List<VocabularyTreeNode> |
children |
protected DocumentModelList |
childrenEntries |
static String |
DEFAULT_LANGUAGE |
protected DirectoryService |
directoryService |
protected boolean |
displayObsoleteEntries |
protected String |
id |
protected char |
keySeparator |
protected String |
label |
static String |
LABEL_FIELD_PREFIX |
protected int |
level |
static String |
OBSOLETE_FIELD |
protected String |
orderingField |
protected Comparable |
orderingValue |
static String |
PARENT_FIELD_ID |
protected String |
path |
protected String |
vocabularyName |
Constructor and Description |
---|
VocabularyTreeNode(int level,
String id,
String description,
String path,
String vocabularyName,
DirectoryService directoryService) |
VocabularyTreeNode(int level,
String id,
String description,
String path,
String vocabularyName,
DirectoryService directoryService,
boolean displayObsoleteEntries,
char keySeparator,
String orderingField) |
VocabularyTreeNode(int level,
String id,
String description,
String path,
String vocabularyName,
DirectoryService directoryService,
boolean displayObsoleteEntries,
char keySeparator,
String orderingField,
Comparable orderingValue) |
Modifier and Type | Method and Description |
---|---|
static String |
computeLabel(Locale locale,
DocumentModel entry,
String schemaName) |
List<VocabularyTreeNode> |
getChildren() |
protected DocumentModelList |
getChildrenEntries() |
protected String |
getDirectorySchema() |
protected DirectoryService |
getDirectoryService() |
protected Session |
getDirectorySession() |
String |
getId() |
String |
getLabel() |
Comparable |
getOrdering() |
String |
getPath() |
public static final String PARENT_FIELD_ID
public static final String LABEL_FIELD_PREFIX
public static final String DEFAULT_LANGUAGE
public static final String OBSOLETE_FIELD
protected final int level
protected DirectoryService directoryService
protected List<VocabularyTreeNode> children
protected String vocabularyName
protected DocumentModelList childrenEntries
protected boolean displayObsoleteEntries
protected String orderingField
protected Comparable orderingValue
protected char keySeparator
public VocabularyTreeNode(int level, String id, String description, String path, String vocabularyName, DirectoryService directoryService)
public VocabularyTreeNode(int level, String id, String description, String path, String vocabularyName, DirectoryService directoryService, boolean displayObsoleteEntries, char keySeparator, String orderingField)
public VocabularyTreeNode(int level, String id, String description, String path, String vocabularyName, DirectoryService directoryService, boolean displayObsoleteEntries, char keySeparator, String orderingField, Comparable orderingValue)
public List<VocabularyTreeNode> getChildren()
public static String computeLabel(Locale locale, DocumentModel entry, String schemaName)
protected DocumentModelList getChildrenEntries()
public Comparable getOrdering()
protected DirectoryService getDirectoryService()
protected String getDirectorySchema()
protected Session getDirectorySession()
Copyright © 2016 Nuxeo SA. All rights reserved.