jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jackrabbit Wiki] Update of "Proposed JCR 2.0 API Changes" by ThomasMueller
Date Tue, 17 Jul 2007 12:49:13 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The following page has been changed by ThomasMueller:
http://wiki.apache.org/jackrabbit/Proposed_JCR_2%2e0_API_Changes

------------------------------------------------------------------------------
  = Interface Changes =
  
+ == javax.jcr ==
+ 
- === javax.jcr.Binary [new] ===
+ ==== javax.jcr.Binary [new] ====
-  * void acquire()
+  * void acquire() [new]
-  * byte[] getBytes()
+  * byte[] getBytes() [new]
-  * long getSize()
+  * long getSize() [new]
-  * Input``Stream getStream()
+  * Input``Stream getStream() [new]
-  * void release()
+  * void release() [new]
  
- === javax.jcr.InvalidLifecycleTransitionException [new] ===
- 
- === javax.jcr.Item ===
-  * boolean isSame(Item otherItem) [changed behaviour]
-  * void save() [doc change]
-  * void remove() [doc change]
- 
- === javax.jcr.NamespaceRegistry [doc change] ===
- 
- === javax.jcr.Node ===
+ ==== javax.jcr.Node ====
   * void setPrimaryType(String nodeTypeName) [new]
   * Node``Iterator merge(String srcWorkspace, boolean bestEffort, boolean isShallow) [new]
   * Node createConfiguration(Version baseline) [new]
@@ -40, +33 @@

   * Property``Iterator getWeakReferences() [new]
   * Property``Iterator getWeakReferences(String name) [new]
   * Property``Iterator getReferences(String name) [new]
-  * Node``Iterator getNodes(String namePattern) [changed behaviour]
-  * Property``Iterator getProperties(String namePattern) [changed behaviour]
   
- === javax.jcr.Property ===
+ ==== javax.jcr.Property ====
   * void setValue(Input``Stream value) [deprecated]
   * void setValue(Binary value) [new]
   * void setValue(Big``Decimal value) [new]
@@ -51, +42 @@

   * Binary getBinary() [new]
   * Big``Decimal getDecimal() [new]
   
- === javax.jcr.PropertyType ===
+ ==== javax.jcr.PropertyType ====
   * DECIMAL [new]
   * WEAKREFERENCE [new]
   * URI [new]
  
- === javax.jcr.RangeIterator ===
+ ==== javax.jcr.RangeIterator ====
   * long getNumberRemaining() [new]
  
- === javax.jcr.Repository ===
+ ==== javax.jcr.Repository ====
   * extends Referenceable [new]
   * OPTION_NODE_TYPE_REG_SUPPORTED [new]
   * OPTION_SIMPLE_VERSIONING_SUPPORTED [new]
@@ -69, +60 @@

   * OPTION_ACCESS_CONTROL_* [new]
   * OPTION_LIFECYCLE_SUPPORTED [new]
  
- === javax.jcr.RepositoryException ===
-  * String getMessage() [removed: in java.lang.Exception]
-  * String getLocalizedMessage() [removed: in java.lang.Exception]
-  * void printStackTrace(*) [removed: in java.lang.Exception]
- 
- === javax.jcr.Session ===
+ ==== javax.jcr.Session ====
   * Access``Control``Manager getAccessControlManager() [new]
   * Lock[] getLocks() [new]
   * Node getNode(String absPath) [new]
@@ -87, +73 @@

   * boolean propertyExists(String absPath) [new]
   * Node setActivity(Node activity) [new]
  
- === javax.jcr.Value ===
+ ==== javax.jcr.Value ====
   * Input``Stream getStream() [deprecated]
   * Binary getBinary() [new]
   * Big``Decimal getDecimal() [new]
  
- === javax.jcr.ValueFactory ===
+ ==== javax.jcr.ValueFactory ====
   * Value createValue(Big``Decimal value) [new]
   * Value createValue(Input``Stream value) [deprecated]
   * Binary createBinary(Input``Stream value) [new]
   * Value createValue(Binary binary) [new]
  
- === javax.jcr.Workspace ===
+ ==== javax.jcr.Workspace ====
   * String copy(String srcAbsPath, String destAbsPath) [was void before]
   * String copy(String srcWorkspace, String srcAbsPath, String destAbsPath) [was void before]
   * String clone(String srcWorkspace, String srcAbsPath, String destAbsPath, boolean removeExisting)
[was void before]
@@ -109, +95 @@

   * Node createActivity(String title) [new]
   * Node``Iterator merge(Node activityNode) [new]
  
+ == javax.jcr.lock ==
+ 
- === javax.jcr.lock.Lock ===
+ ==== javax.jcr.lock.Lock ====
   * boolean isLockOwningSession() [new]
  
+ == javax.jcr.nodetype ==
+ 
- === javax.jcr.nodetype.NodeDefinition ===
+ ==== javax.jcr.nodetype.NodeDefinition ====
   * String[] getRequiredPrimaryTypeNames() [new]
   * String getDefaultPrimaryTypeName() [new]
  
@@ -121, +111 @@

   * boolean canRemoveNode(String nodeName) [new]
   * boolean canRemoveProperty(String propertyName) [new]
  
- === javax.jcr.nodetype.NodeTypeManager ===
+ ==== javax.jcr.nodetype.NodeTypeManager ====
   * boolean hasNodeType(String name) [new]
   * Node``Type``Template createNodeTypeTemplate() [new]
   * Node``Type``Template createNodeTypeTemplate(Node``Type``Definition ntd) [new]
@@ -132, +122 @@

   * void unregisterNodeType(String name) [new]
   * void unregisterNodeTypes(String[] names) [new]
  
+ ==== New Interfaces ====
+  * javax.jcr.nodetype.Node``Type``Definition
+  * javax.jcr.nodetype.Node``Definition``Template
+  * javax.jcr.nodetype.Node``Type``Template
+  * javax.jcr.nodetype.Property``Definition``Template
+ 
+ == javax.jcr.observation ==
+ 
- === javax.jcr.observation.Event ===
+ ==== javax.jcr.observation.Event ====
   * String getSourcePath() [new]
   * String getIdentifier() [new]
   * String getSourceIdentifier() [new]
  
- === javax.jcr.observation.EventIterator ===
+ ==== javax.jcr.observation.EventIterator ====
   * Calendar getDate() [new]
  
+ ==== javax.jcr.observation.EventJournal ====
+  * New interface
+ 
+ == javax.jcr.query ==
+ 
- === javax.jcr.query.Query ===
+ ==== javax.jcr.query.Query ====
   * XPATH, SQL [deprecated]
   * JCR_SQL2, JCR_JQOM [new]
   * SEARCH_VERSIONS, SEARCH_WORKSPACE, SEARCH_WORKSPACE_NO_SYSTEM [new]
@@ -148, +151 @@

   * void setLimit(long limit) [new]
   * void setOffset(long offset) [new]
  
- Other changes:
+ ==== javax.jcr.query.QueryManager ====
+  * Prepared``Query createPreparedQuery(String statement, String language) [new]
+  * Query``Object``Model``Factory getQOMFactory() [new]
+ 
+ ==== javax.jcr.query.Row ====
+  * Node getNode() [new]
+  * Node getNode(String selectorName) [new]
+  * String getPath() [new]
+  * String getPath(String selectorName) [new]
+  * double getScore() [new]
+  * double getScore(String selectorName) [new]
+ 
+ ==== javax.jcr.query.PreparedQuery ====
+  * New interface
+ 
+ ==== javax.jcr.query.qom ====
+ New package
+ 
+ == javax.jcr.security ==
+ New package
+ 
+ == javax.jcr.version ==
+ 
+ ==== javax.jcr.version.Version ====
+  * Node getFrozenNode() [new]
+ 
+ ==== javax.jcr.version.VersionHistory ====
+  * String getVersionableUUID() [deprecated]
+  * String getVersionableIdentifier() [new]
+  * Node``Iterator getAllFrozenNodes() [new]
+ 
+ ==== New Exceptions ====
+  * javax.jcr.Invalid``Lifecycle``Transition``Exception
+  * javax.jcr.nodetype.Invalid``Node``Type``Definition``Exception
+  * javax.jcr.nodetype.Node``Type``Exists``Exception
+  * javax.jcr.query.Search``Not``Supported``Exception
+  * javax.jcr.version.Label``Exists``Version``Exception
+  * javax.jcr.Invalid``Lifecycle``Transition``Exception
+ 
+ ==== javax.jcr.RepositoryException ====
+  * String getMessage() [removed: in java.lang.Exception]
+  * String getLocalizedMessage() [removed: in java.lang.Exception]
+  * void printStackTrace(*) [removed: in java.lang.Exception]
+ 
+ 
+ 
+ === Other changes ===
  A few methods now throw an exception, for example Session.addLockToken.
  

Mime
View raw message