Deprecated API


Contents
Deprecated Fields
javax.jcr.Repository.LEVEL_1_SUPPORTED
          As of JCR 2.0. 
javax.jcr.Repository.LEVEL_2_SUPPORTED
          As of JCR 2.0. 
javax.jcr.Repository.OPTION_QUERY_SQL_SUPPORTED
          As of JCR 2.0. 
javax.jcr.Repository.QUERY_XPATH_DOC_ORDER
          As of JCR 2.0. 
javax.jcr.Repository.QUERY_XPATH_POS_INDEX
          As of JCR 2.0. 
javax.jcr.query.Query.SQL
          As of JCR 2.0, this language is deprecated. 
javax.jcr.query.Query.XPATH
          As of JCR 2.0, this language is deprecated. 
 

Deprecated Methods
javax.jcr.Session.addLockToken(String)
          As of JCR 2.0, LockManager.addLockToken(String) should be used instead. 
javax.jcr.Node.cancelMerge(Version)
          As of JCR 2.0, VersionManager.cancelMerge(java.lang.String, javax.jcr.version.Version) should be used instead. 
javax.jcr.nodetype.NodeType.canRemoveItem(String)
          As of JCR 2.0, clients should use NodeType.canRemoveNode(String) and NodeType.canRemoveProperty(String) instead. 
javax.jcr.Node.checkin()
          As of JCR 2.0, VersionManager.checkin(java.lang.String) should be used instead. 
javax.jcr.Node.checkout()
          As of JCR 2.0, VersionManager.checkout(java.lang.String) should be used instead. 
javax.jcr.ValueFactory.createValue(InputStream)
          As of JCR 2.0, ValueFactory.createValue(Binary) should be used instead. 
javax.jcr.Node.doneMerge(Version)
          As of JCR 2.0, VersionManager.doneMerge(java.lang.String, javax.jcr.version.Version) should be used instead. 
javax.jcr.Node.getBaseVersion()
          As of JCR 2.0, VersionManager.getBaseVersion(java.lang.String) should be used instead. 
javax.jcr.Node.getLock()
          As of JCR 2.0, LockManager.getLock(String) should be used instead. 
javax.jcr.Session.getLockTokens()
          As of JCR 2.0, LockManager.getLockTokens() should be used instead. 
javax.jcr.Session.getNodeByUUID(String)
          As of JCR 2.0, Session.getNodeByIdentifier(String) should be used instead. 
javax.jcr.Value.getStream()
          As of JCR 2.0, Value.getBinary() should be used instead. 
javax.jcr.Property.getStream()
          As of JCR 2.0, Property.getBinary() should be used instead. 
javax.jcr.Node.getUUID()
          As of JCR 2.0, Node.getIdentifier() should be used instead. 
javax.jcr.version.VersionHistory.getVersionableUUID()
          As of JCR 2.0, VersionHistory.getVersionableIdentifier() should be used instead. 
javax.jcr.Node.getVersionHistory()
          As of JCR 2.0, VersionManager.getVersionHistory(java.lang.String) should be used instead. 
javax.jcr.Node.holdsLock()
          As of JCR 2.0, LockManager.holdsLock(String) should be used instead. 
javax.jcr.Node.lock(boolean, boolean)
          As of JCR 2.0, LockManager.lock(String, boolean, boolean, long, String) should be used instead. 
javax.jcr.Node.merge(String, boolean)
          As of JCR 2.0, VersionManager.merge(java.lang.String, java.lang.String, boolean) should be used instead. 
javax.jcr.Session.removeLockToken(String)
          As of JCR 2.0, LockManager.removeLockToken(String) should be used instead. 
javax.jcr.Node.restore(String, boolean)
          As of JCR 2.0, VersionManager.restore(javax.jcr.version.Version[], boolean) should be used instead. 
javax.jcr.Workspace.restore(Version[], boolean)
          As of JCR 2.0, VersionManager.restore(javax.jcr.version.Version[], boolean) should be used instead. 
javax.jcr.Node.restore(Version, boolean)
          As of JCR 2.0, VersionManager.restore(javax.jcr.version.Version[], boolean) should be used instead. 
javax.jcr.Node.restore(Version, String, boolean)
          As of JCR 2.0, VersionManager.restore(javax.jcr.version.Version[], boolean) should be used instead. 
javax.jcr.Node.restoreByLabel(String, boolean)
          As of JCR 2.0, VersionManager.restoreByLabel(java.lang.String, java.lang.String, boolean) should be used instead. 
javax.jcr.Item.save()
          As of JCR 2.0, Session.save() should be used instead. 
javax.jcr.Node.setProperty(String, InputStream)
          As of JCR 2.0, Node.setProperty(String, Binary) should be used instead. 
javax.jcr.Property.setValue(InputStream)
          As of JCR 2.0, Property.setValue(Binary) should be used instead. 
javax.jcr.Node.unlock()
          As of JCR 2.0, LockManager.unlock(String) should be used instead. 
 



Copyright © 2009 Day Software. All Rights Reserved.