public class VocabularyUtils extends Object
Modifier and Type | Field and Description |
---|---|
static Integer |
DEFAULT_OBSOLETE |
static Integer |
DEFAULT_VOCABULARY_ORDER |
static String |
VOCABULARY_ID |
static String |
VOCABULARY_LABEL |
static String |
VOCABULARY_OBSOLETE |
static String |
VOCABULARY_ORDERING |
static String |
VOCABULARY_PARENT |
static String |
VOCABULARY_TYPE_HIER |
static String |
VOCABULARY_TYPE_SIMPLE |
Constructor and Description |
---|
VocabularyUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
addVocabularyEntry(String vocabularyName,
Map<String,Object> entry) |
static void |
clearVocabulary(String vocabularyName) |
static void |
deleteVocabularyEntry(String vocabularyName,
VocabularyEntry selectedVocabularyEntry) |
static List<String> |
getAllVocabularies() |
static String |
getDirectorySchema(String vocabularyName) |
static DirectoryService |
getDirectoryService() |
static Session |
openVocabulary(String vocabularyName) |
public static final String VOCABULARY_PARENT
public static final String VOCABULARY_TYPE_HIER
public static final String VOCABULARY_TYPE_SIMPLE
public static final String VOCABULARY_ID
public static final String VOCABULARY_LABEL
public static final String VOCABULARY_OBSOLETE
public static final String VOCABULARY_ORDERING
public static final Integer DEFAULT_OBSOLETE
public static final Integer DEFAULT_VOCABULARY_ORDER
public static List<String> getAllVocabularies() throws ClientException
ClientException
public static void deleteVocabularyEntry(String vocabularyName, VocabularyEntry selectedVocabularyEntry)
public static void addVocabularyEntry(String vocabularyName, Map<String,Object> entry)
public static void clearVocabulary(String vocabularyName) throws ClientException
ClientException
public static String getDirectorySchema(String vocabularyName) throws ClientException
ClientException
public static Session openVocabulary(String vocabularyName) throws ClientException
ClientException
public static DirectoryService getDirectoryService() throws ClientException
ClientException
Copyright © 2011 Nuxeo SA. All Rights Reserved.