JCR官方说明文档精品资料.doc
《JCR官方说明文档精品资料.doc》由会员分享,可在线阅读,更多相关《JCR官方说明文档精品资料.doc(313页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、Content Repository forJava Technology API 2.0SpecificationJCR 2.0 SpecificationJava Specification Request (JSR) 28310 August 20091 PREFACE61.1 Previous Versions61.2 Coverage61.3 Typographical Conventions71.4 System Requirements71.5 License71.6 Acknowledgements102 INTRODUCTION123 REPOSITORY MODEL133.
2、1 Overview133.2 Names163.3 Identifiers203.4 Paths203.5 Namespace Mapping273.6 Properties293.7 Node Types383.8 Referenceable Nodes593.9 Shareable Nodes Model613.10 Corresponding Nodes643.11 System Node663.12 Unfiled Content673.13 Versioning Model674 CONNECTING834.1 Repository Object834.2 Login844.3 I
3、mpersonate854.4 Session854.5 Workspace865 READING885.1 Direct Access885.2 Traversal Access905.3 Query Access925.4 Relationship among Access Modes925.5 Effect of Access Denial on Read925.6 Item Information935.7 Node Identifier945.8 Node Index945.9 Iterators945.10 Reading Properties955.11 Namespace Ma
4、pping996 QUERY1006.1 Optional Joins1006.2 Introduction to the Abstract Query Model1016.3 Equality and Comparison1026.4 Query Validity1026.5 Search Scope1036.6 Notations1036.7 Abstract Query Model and Language Bindings1056.8 QueryManager1356.9 Query Object1356.10 Literal Values1386.11 QueryResult1386
5、.12 Query Scope1407 EXPORT1427.1 Exporting a Subgraph1427.2 System View1427.3 Document View1447.4 Escaping of Names1467.5 Escaping of Values1477.6 Export API1487.7 Export Scope1497.8 Encoding1498 NODE TYPE DISCOVERY1508.1 NodeTypeManager Object1508.2 NodeType Object1508.3 ItemDefinition Object1528.4
6、 PropertyDefinition Object1538.5 NodeDefinition Object1548.6 Node Type Information for Existing Nodes1559 PERMISSIONS AND CAPABILITIES1579.1 Permissions1579.2 Capabilities15810 WRITING15910.1 Types of Write Methods15910.2 Core Write Methods16110.3 Session and Workspace Objects16110.4 Adding Nodes an
7、d Setting Properties16310.5 Selecting the Applicable Item Definition16610.6 Moving Nodes16610.7 Copying Nodes16710.8 Cloning and Updating Nodes16810.9 Removing Nodes and Properties16910.10 Node Type Assignment17010.11 Saving17210.12 Namespace Registration17511 IMPORT17711.1 Importing Document View17
8、711.2 Import System View17811.3 Respecting Property Semantics17911.4 Determining Node Types17911.5 Determining Property Types17911.6 Event-Based Import Methods18011.7 Stream-Based Import Methods18111.8 Identifier Handling18111.9 Importing jcr:root18212 OBSERVATION18412.1 Event Model18412.2 Scope of
9、Event Reporting18412.3 The Event Object18512.4 Event Bundling18712.5 Asynchronous Observation18712.6 Journaled Observation19012.7 Importing Content19112.8 Exceptions19113 WORKSPACE MANAGEMENT19213.1 Creation and Deletion of Workspaces19214 SHAREABLE NODES19314.1 Creation of Shared Nodes19314.2 Share
10、d Set19314.3 Removing Shared Nodes19414.4 Transient Layer19414.5 Copy19414.6 Share Cycles19514.7 Export19514.8 Import19514.9 Observation19514.10 Locking19514.11 Node Type Constraints19514.12 Versioning19614.13 Restore19614.14 IsSame19614.15 RemoveMixin19614.16 Query19715 VERSIONING19815.1 Creating a
11、 Versionable Node19815.2 Check-In: Creating a Version20215.3 Check-Out20515.4 Version Labels20615.5 Searching Version Histories20815.6 Retrieving Version Storage Nodes20815.7 Restoring a Version20815.8 Removing a Version21215.9 Merge21215.10 Serialization of Version Storage21715.11 Versioning within
12、 a Transaction21715.12 Activities21715.13 Configurations and Baselines22116 ACCESS CONTROL MANAGEMENT22516.1 Access Control Manager22516.2 Privilege Discovery22516.3 Access Control Policies22916.4 Named Access Control Policies23216.5 Access Control Lists23316.6 Privileges Permissions and Capabilitie
13、s23417 LOCKING23617.1 Lockable23617.2 Shallow and Deep Locks23617.3 Lock Owner23617.4 Placing and Removing a Lock23717.5 Lock Token23817.6 Session-Scoped and Open-Scoped Locks23817.7 Effect of a Lock23817.8 Timing Out23917.9 Locks and Persistence23917.10 Locks and Transactions23917.11 LockManager Ob
14、ject24017.12 Lock Object24317.13 LockException24418 LIFECYCLE MANAGEMENT24518.1 mix:lifecycle24518.2 Node Methods24519 NODE TYPE MANAGEMENT24619.1 NodeTypeDefinition24619.2 NodeTypeManager24619.3 Node Type Registration Restrictions24819.4 Templates24820 RETENTION AND HOLD25020.1 Retention Manager250
15、20.2 Placing a Hold25020.3 Effect of a Hold25120.4 Getting the Holds present on a Node25120.5 Removing a Hold25120.6 Hold Object25120.7 Setting a Retention Policy25120.8 Getting a Retention Policy25120.9 Effect of a Retention Policy25120.10 RetentionPolicy object25220.11 Removing a Retention Policy2
16、5221 TRANSACTIONS25321.1 Container Managed Transactions: Sample Request Flow25421.2 User Managed Transactions: Sample Code25421.3 Save vs. Commit25521.4 Single Session Across Multiple Transactions25522 SAME-NAME SIBLINGS25722.1 Scope of Same-Name Siblings25722.2 Addressing Same-Name Siblings by Path
17、25722.3 Reading and Writing Same-Name Siblings25822.4 Properties Cannot Have Same-Name Siblings25922.5 Effect of Access Denial on Read of Same-Name Siblings25923 ORDERABLE CHILD NODES26023.1 Scope of Orderable Child Nodes26023.2 Ordering Child Nodes26023.3 Adding a New Child Node26123.4 Orderable Sa
18、me-Name Siblings26123.5 Non-orderable Child Nodes26123.6 Properties are Never Orderable26124 REPOSITORY COMPLIANCE26224.1 Definition of Support26224.2 Repository Descriptors26224.3 Node Type-Related Features26824.4 Implementation Issues26925 APPENDIX27025.1 Treatment of Identifiers27025.2 Compact No
19、de Type Definition Notation2711 PrefaceThe Content Repository API for Java Technology Specification, Version 2.0 (JCR 2.0 Specification) consists of a normative part and a non-normative part.The normative part consists of: This document, excluding the appendix. The source code of javax.jcr and its s
20、ubpackages. The Javadoc reference.In case of a conflict this document takes precedence over the source code and the source code takes precedence over the Javadoc.The non-normative part consists of: The appendix of this document. The jar file of javax.jcr and its subpackages.The JCR 2.0 Specification
21、 was created and released through the Java Community Process (JCP) under Java Specification Request 283 (JSR 283).1.1 Previous VersionsThe Content Repository for Java Technology API Specification, Version 1.0 (JCR 1.0 Specification) was created and released through the Java Community Process (JCP) u
22、nder Java Specification Request 170 (JSR 170).1.2 CoverageThis document describes the abstract repository model and Java API of JCR. The API is described from a high-level, functional perspective. Consult the accompanying Javadoc for full information on signature variants and exceptions.1.2.1 Classe
23、s and InterfacesUnless otherwise indicated, all Java classes and interfaces mentioned are in the package javax.jcr and its subpackages. Non-JCR classes mentioned are always fully qualified. The only exception is java.lang.String, which is used throughout and written simply as String.1.2.2 Null Param
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- JCR官方说明文档 精品资料 JCR 官方 说明 文档 精品 资料
限制150内