JCR:定制节点类型
来源:互联网 发布:js 去除换行符 编辑:程序博客网 时间:2024/06/05 15:27
Mixin types:
mix:lockable
mix:referenceable
mix:versionable
Primary types:
nt:base (the base type of all other node types)
nt:unstructured
nt:hierarchyNode
nt:file
nt:linkedFile
nt:folder
nt:resource
nt:nodeType
nt:propertyDefinition
nt:childNodeDefinition
nt:versionHistory
nt:versionLabels
nt:version
nt:frozenNode
nt:versionedChild
nt:query
There are two categories of node types, primary and mixin. Every node has a primary node type assigned to it upon creation (see Node.addNode in the JCR API). In addition, a mixin node type may be added to a node later in its lifecycle (see Node.addMixin).
The primary node type of a node usually defines node structure (i.e., allowed and required child nodes and properties) related to the problem domain being modeled. For example, a node used in storing content about business contacts might have the primary type myapp:Contact which defines properties such as myapp:givenName, myapp:familyName and so forth.
Mixin node types usually specify additional properties or child nodes related to a capability being added to the node. These capabilities may include generic repository-level functions as in the case of the built-in mixins mix:versionable and mix:lockable, for example, or domain-level capabilities such as a (hypothetical) myapp:Emailable mixin type that adds the propertymyapp:emailAddress to a node.
- JCR:定制节点类型
- 节点类型
- 节点类型
- jcr介绍
- JCR简介
- jcr Overview
- 什么是JCR
- hash定制类型
- Struts自定制结果类型
- iOS 键盘类型定制归纳
- iOS 键盘类型定制归纳
- jtree根据不同类型节点定制图标
- DOM_节点类型
- XML 节点类型
- NetBIOS节点的类型
- HTML节点类型
- Html节点类型值
- ZooKeeper 节点类型
- 数据分析能力的8个等级
- 20120214雨
- axis2 pom.xml配置如下
- Informix数据库对UTF8字符集的支持
- php二分法
- JCR:定制节点类型
- 动态规划的状态表示分析
- Linux下dd命令生成一个指定大小的虚拟块设备文件
- httpclient编码
- Documnet Type Definition(DTD) 与 XML Schemas Definition(XSD)
- ASM实例管理
- 在任意位置获取应用程序Context
- 陈天桥为什么寻求盛大网络私有化?
- Jackrabbit的简单节点定义文件格式