Class CreateVocabularyEntry
java.lang.Object
org.nuxeo.ecm.automation.core.operations.services.directory.CreateVocabularyEntry
- Since:
- 8.3 Adds a new entry to a vocabulary.
Notice: This is for a nuxeo Vocabulary, which is a specific kind of Directory. This code expects the following:
- The vocabulary schema must have
id
,label
,obsolete
andordering
fields - If it is hierarchical, it must also have the
parent
field
- The vocabulary schema must have
-
Field Summary
Modifier and TypeFieldDescriptionprotected DirectoryService
protected String
static final String
protected String
protected String
protected long
protected long
protected String
protected SchemaManager
-
Constructor Summary
-
Method Summary
-
Field Details
-
ID
- See Also:
-
directoryService
-
schemaManager
-
name
-
id
-
label
-
parent
-
obsolete
protected long obsolete -
ordering
protected long ordering
-
-
Constructor Details
-
CreateVocabularyEntry
public CreateVocabularyEntry()
-
-
Method Details
-
run
public void run()
-