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:11:37 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

------------------------------------------------------------------------------
   * String getLocalizedMessage() [removed: in java.lang.Exception]
   * void printStackTrace(*) [removed: in java.lang.Exception]
  
+ === javax.jcr.Session ===
+  * Access``Control``Manager getAccessControlManager() [new]
+  * Lock[] getLocks() [new]
+  * Node getNode(String absPath) [new]
+  * Node getNodeByIdentifier(String id) [new]
+  * Node getNodeByUUID(String uuid) [deprecated]
+  * Principal``Manager getPrincipalManager() [new]
+  * Property getProperty(String absPath) [new]
+  * String move(String srcAbsPath, String destAbsPath) [was void before]
+  * boolean nodeExists(String absPath) [new]
+  * boolean propertyExists(String absPath) [new]
+  * Node setActivity(Node activity) [new]
+ 
+ === javax.jcr.Value ===
+  * Input``Stream getStream() [deprecated]
+  * Binary getBinary() [new]
+  * Big``Decimal getDecimal() [new]
+ 
+ === 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 ===
+  * 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]
+  * String move(String srcAbsPath, String destAbsPath) [was void before]
+  * Workspace createWorkspace(String name) [new]
+  * Workspace createWorkspace(String name, String srcWorkspace) [new]
+  * void deleteWorkspace(String name) [new]
+  * Node createActivity(String title) [new]
+  * Node``Iterator merge(Node activityNode) [new]
+ 
+ === javax.jcr.lock.Lock ===
+  * boolean isLockOwningSession() [new]
+ 
+ === javax.jcr.nodetype.NodeDefinition ===
+  * String[] getRequiredPrimaryTypeNames() [new]
+  * String getDefaultPrimaryTypeName() [new]
+ 
+ === javax.jcr.nodetype.NodeType ===
+  * boolean canRemoveItem(String itemName) [deprecated]
+  * boolean canRemoveNode(String nodeName) [new]
+  * boolean canRemoveProperty(String propertyName) [new]
+ 
+ === javax.jcr.nodetype.NodeTypeManager ===
+  * boolean hasNodeType(String name) [new]
+  * Node``Type``Template createNodeTypeTemplate() [new]
+  * Node``Type``Template createNodeTypeTemplate(Node``Type``Definition ntd) [new]
+  * Node``Definition``Template createNodeDefinitionTemplate() [new]
+  * Property``Definition``Template createPropertyDefinitionTemplate() [new]
+  * Node``Type registerNodeType(Node``Type``Definition ntd, boolean allowUpdate) [new]
+  * Node``Type``Iterator registerNodeTypes(Collection definitions, boolean allowUpdate) [new]
+  * void unregisterNodeType(String name) [new]
+  * void unregisterNodeTypes(String[] names) [new]
+ 
+ === javax.jcr.observation.Event ===
+  * String getSourcePath() [new]
+  * String getIdentifier() [new]
+  * String getSourceIdentifier() [new]
+ 
+ === javax.jcr.observation.EventIterator ===
+  * Calendar getDate() [new]
+ 
+ === javax.jcr.query.Query ===
+  * XPATH, SQL [deprecated]
+  * JCR_SQL2, JCR_JQOM [new]
+  * SEARCH_VERSIONS, SEARCH_WORKSPACE, SEARCH_WORKSPACE_NO_SYSTEM [new]
+  * Query``Result execute(int searchSpace) [new]
+  * void setLimit(long limit) [new]
+  * void setOffset(long offset) [new]
+ 
+ Other changes:
+ A few methods now throw an exception, for example Session.addLockToken.
+ 

Mime
View raw message