public class InitialContent extends java.lang.Object implements RepositoryInitializer, NodeTypeConstants
InitialContent
implements a RepositoryInitializer
the creates
the initial JCR/Oak repository structure. This includes creating
- the root node - jcr:system node and it subtree - version storage - activities - built-in node types - built-in namespaces - some basic index definitions required for a functional JCR repository
DEFAULT
JCR_AVAILABLE_QUERY_OPERATORS, JCR_CREATEDBY, JCR_IS_ABSTRACT, JCR_IS_FULLTEXT_SEARCHABLE, JCR_IS_QUERY_ORDERABLE, JCR_IS_QUERYABLE, JCR_LASTMODIFIEDBY, JCR_NODE_TYPES, MIX_ATOMIC_COUNTER, MIX_CREATED, MIX_INDEXABLE, MIX_LASTMODIFIED, MIX_REP_MERGE_CONFLICT, NODE_TYPES_PATH, NT_OAK_RESOURCE, NT_OAK_UNSTRUCTURED, NT_REP_CHILD_NODE_DEFINITION, NT_REP_CHILD_NODE_DEFINITIONS, NT_REP_NAMED_CHILD_NODE_DEFINITIONS, NT_REP_NAMED_PROPERTY_DEFINITIONS, NT_REP_NODE_TYPE, NT_REP_NODE_TYPES, NT_REP_PROPERTY_DEFINITION, NT_REP_PROPERTY_DEFINITIONS, NT_REP_ROOT, NT_REP_SYSTEM, NT_REP_UNSTRUCTURED, REP_DECLARING_NODE_TYPE, REP_HAS_PROTECTED_RESIDUAL_CHILD_NODES, REP_HAS_PROTECTED_RESIDUAL_PROPERTIES, REP_MANDATORY_CHILD_NODES, REP_MANDATORY_PROPERTIES, REP_MIXIN_SUBTYPES, REP_MIXIN_TYPES, REP_NAMED_CHILD_NODE_DEFINITIONS, REP_NAMED_PROPERTY_DEFINITIONS, REP_NAMED_SINGLE_VALUED_PROPERTIES, REP_OURS, REP_PRIMARY_SUBTYPES, REP_PRIMARY_TYPE, REP_PROTECTED_CHILD_NODES, REP_PROTECTED_PROPERTIES, REP_RESIDUAL_CHILD_NODE_DEFINITIONS, REP_RESIDUAL_PROPERTY_DEFINITIONS, REP_SUPERTYPES, REP_UUID, RESIDUAL_NAME
JCR_AUTOCREATED, JCR_BASEVERSION, JCR_CHILD, JCR_CHILDNODEDEFINITION, JCR_CONTENT, JCR_CREATED, JCR_DATA, JCR_DEFAULTPRIMARYTYPE, JCR_DEFAULTVALUES, JCR_ENCODING, JCR_FROZENMIXINTYPES, JCR_FROZENNODE, JCR_FROZENPRIMARYTYPE, JCR_FROZENUUID, JCR_HASORDERABLECHILDNODES, JCR_ISCHECKEDOUT, JCR_ISMIXIN, JCR_LANGUAGE, JCR_LASTMODIFIED, JCR_LOCKISDEEP, JCR_LOCKOWNER, JCR_MANDATORY, JCR_MERGEFAILED, JCR_MIMETYPE, JCR_MIXINTYPES, JCR_MULTIPLE, JCR_NAME, JCR_NODETYPENAME, JCR_ONPARENTVERSION, JCR_PATH, JCR_PREDECESSORS, JCR_PRIMARYITEMNAME, JCR_PRIMARYTYPE, JCR_PROPERTYDEFINITION, JCR_PROTECTED, JCR_REQUIREDPRIMARYTYPES, JCR_REQUIREDTYPE, JCR_ROOTVERSION, JCR_SAMENAMESIBLINGS, JCR_SCORE, JCR_STATEMENT, JCR_SUCCESSORS, JCR_SUPERTYPES, JCR_SYSTEM, JCR_UUID, JCR_VALUECONSTRAINTS, JCR_VERSIONABLEUUID, JCR_VERSIONHISTORY, JCR_VERSIONLABELS, JCR_VERSIONSTORAGE, MIX_LOCKABLE, MIX_REFERENCEABLE, MIX_SHAREABLE, MIX_VERSIONABLE, NT_BASE, NT_CHILDNODEDEFINITION, NT_FILE, NT_FOLDER, NT_FROZENNODE, NT_HIERARCHYNODE, NT_LINKEDFILE, NT_NODETYPE, NT_PROPERTYDEFINITION, NT_QUERY, NT_RESOURCE, NT_UNSTRUCTURED, NT_VERSION, NT_VERSIONEDCHILD, NT_VERSIONHISTORY, NT_VERSIONLABELS
Constructor and Description |
---|
InitialContent() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(@NotNull NodeBuilder builder)
Initializes repository content.
|
InitialContent |
withPrePopulatedVersionStore()
Instructs the initializer to pre-populate the version store with
intermediate nodes.
|
public void initialize(@NotNull @NotNull NodeBuilder builder)
RepositoryInitializer
initialize
in interface RepositoryInitializer
builder
- builder for accessing and modifying repository contentpublic InitialContent withPrePopulatedVersionStore()
Copyright © 2010 - 2020 Adobe. All Rights Reserved