Contentrepositoryapiforjavatechnologyspecification

上传人:汽*** 文档编号:564742496 上传时间:2023-08-05 格式:DOC 页数:351 大小:2.64MB
返回 下载 相关 举报
Contentrepositoryapiforjavatechnologyspecification_第1页
第1页 / 共351页
Contentrepositoryapiforjavatechnologyspecification_第2页
第2页 / 共351页
Contentrepositoryapiforjavatechnologyspecification_第3页
第3页 / 共351页
Contentrepositoryapiforjavatechnologyspecification_第4页
第4页 / 共351页
Contentrepositoryapiforjavatechnologyspecification_第5页
第5页 / 共351页
点击查看更多>>
资源描述

《Contentrepositoryapiforjavatechnologyspecification》由会员分享,可在线阅读,更多相关《Contentrepositoryapiforjavatechnologyspecification(351页珍藏版)》请在金锄头文库上搜索。

1、Content Repository API for Java TechnologySpecificationJava Specification Request 283 version 2.0 RC2 + Binding v42DD MMMM 2006CONTENT REPOSITORY API FOR JAVA TECHNOLOGY SPECIFICATION11 PREFACE111.1 Documents Included112 INTRODUCTION122.1 Motivation122.2 Goals123 THE REPOSITORY MODEL143.1 API Basics

2、153.1.1 Traversal Access163.1.2 Direct Access173.1.3 Writing to the Repository173.1.4 Nodes, Properties and Items203.1.5 Nodes in multiple hierarchies (Binding)203.2 Compliance Levels213.3 SameName Siblings223.3.1 Index Notation223.3.2 Support for Same Name Siblings is Optional233.3.3 Properties Can

3、not Have Same Name Siblings233.4 Orderable Child Nodes233.4.1 Orderable Same Name Siblings233.4.2 Non-orderable Child Nodes243.4.3 Orderable Child Node Support is Optional243.4.4 Properties are Never Orderable243.5 Namespaces243.6 Path Syntax253.6.1 Names vs. Paths263.6.2 Current Item and Parent Ite

4、m263.7 Properties263.7.1 Multi-Value Properties273.7.2 Property Types with Special Semantics273.7.3 No Null Values283.8 Node Types293.9 Referenceable Nodes293.10 Workspaces313.10.1 Single Workspace Repositories313.10.2 Multiple Workspaces and Corresponding Nodes323.11 Versioning353.12 Metadata383.13

5、 Hierarchical versus Direct Access384 LEVEL 1 REPOSITORY FEATURES404.1 Accessing the Repository414.1.1 Repository Construction414.1.2 Repository Acquisition424.1.3 Sample Code424.1.4 Repository444.1.5 Credentials484.2 Reading Repository Content504.2.1 Session Read Methods504.2.2 Workspace Read Metho

6、ds534.2.3 Node Read Methods544.2.4 Property Read Methods604.2.5 Property Types644.2.6 Property Type Conversion704.2.7 Value734.2.8 Item Read Methods764.2.9 Effect of Access Denial on Read804.2.10 Example804.3 Namespaces834.3.1 Namespace Registry834.3.2 Prefix Syntax854.3.3 Session Namespace Mappings

7、854.3.4 Transactions and Namespaces874.4 XML Mappings884.4.1 System View XML Mapping884.4.2 Document View XML Mapping914.4.3 Escaping of Names954.4.4 Escaping of Values964.5 Exporting Repository Content984.5.1 Encoding1024.6 Searching Repository Content1034.6.1 XPath over Document View1034.6.2 XPath

8、 and SQL1044.6.3 XPath and Binding1044.6.4 Structure of a Query1044.6.5 Adapting XPath to the Content Repository1124.6.6 XPath Extensions1174.6.7 JCR XPath Grammar1234.6.8 XPath Grammar1234.6.9 XQuery Grammar1284.6.10 Search Scope1294.6.11 Query API1294.6.12 QueryManager1294.6.13 The Query Object131

9、4.6.14 The PreparedQuery Object1334.6.15 Persistent vs. Transient Queries1334.6.16 Query Results1344.6.17 Permissions1354.7 Node Types1364.7.1 What Constitutes a Node Type1364.7.2 Node Type Discovery in Level 11374.7.3 Primary and Mixin Node Types1384.7.4 Special Properties jcr:primaryType and jcr:m

10、ixinTypes1384.7.5 Property Definitions1394.7.6 Child Node Definitions1404.7.7 Inheritance Among Node Types1414.7.8 Discovering available Node Types1424.7.9 Discovering the Node Types of a Node1434.7.10 NodeTypeDefinition1444.7.11 NodeType1464.7.12 ItemDefinition1474.7.13 PropertyDefinition1494.7.14

11、NodeDefinition1514.7.15 Residual Definitions1534.7.16 Value Constraints1534.7.17 Automatic Item Creation1564.7.18 Discovery of Constraints on Existing Items1574.7.19 Predefined Node Types1584.7.20 Node Type Definitions in Content1604.7.21 Predefined Mixin Node Types1604.7.22 Predefined Primary Node

12、Types1614.8 System Node1714.9 Permission Checking1724.9.1 JAAS1724.9.2 Checking Permissions1724.10 JCR Address1745 LEVEL 2 REPOSITORY FEATURES1755.1 Writing Repository Content1765.1.2 Saving by UUID and Path1825.1.3 Reflecting Item State1825.1.4 Adding Nodes1865.1.5 Adding and Writing Properties1895

13、.1.6 Removing Nodes and Properties1995.1.7 Moving and Copying2015.1.8 Updating and Cloning Nodes across Workspaces2075.1.9 Referenceable Nodes2105.1.10 Treatment of UUIDs2105.1.11 Ordering Child Nodes2125.2 Adding and Deleting Namespaces2145.2.1 Visibility of Namespace Registry Changes2155.3 Importi

14、ng Repository Content2165.3.1 Import from System View2165.3.2 Import from Document View2165.3.3 Respecting Property Semantics2185.3.4 Determining Node Types2195.3.5 Determining Property Types2195.3.6 Workspace Import Methods2205.3.7 Session Import Methods2255.3.8 Importing jcr:root2295.4 Assigning N

15、ode Types2315.4.1 The Special Properties jcr:primaryType and jcr:mixinTypes2315.4.2 Assigning a Primary Node Type2315.4.3 Assigning Mixin Node Types2315.4.4 Automatic Addition and Removal of Mixins2345.4.5 Serialization and Node Types2345.5 Thread-Safety Requirements2366 OPTIONAL REPOSITORY FEATURES2376.1 Transactions2386.1.1 Containe

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 建筑/环境 > 施工组织

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号