Class CreateVocabularyEntry
- java.lang.Object
-
- org.nuxeo.ecm.automation.core.operations.services.directory.CreateVocabularyEntry
-
public class CreateVocabularyEntry extends Object
- 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
Fields Modifier and Type Field Description protected DirectoryService
directoryService
protected String
id
static String
ID
protected String
label
protected String
name
protected long
obsolete
protected long
ordering
protected String
parent
protected SchemaManager
schemaManager
-
Constructor Summary
Constructors Constructor Description CreateVocabularyEntry()
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
directoryService
protected DirectoryService directoryService
-
schemaManager
protected SchemaManager schemaManager
-
obsolete
protected long obsolete
-
ordering
protected long ordering
-
-
Constructor Detail
-
CreateVocabularyEntry
public CreateVocabularyEntry()
-
-
Method Detail
-
run
public void run()
-
-