jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r896113 [1/3] - in /jackrabbit/commons/jcr-rmi/trunk: ./ src/main/java/org/apache/jackrabbit/rmi/client/ src/main/java/org/apache/jackrabbit/rmi/observation/ src/main/java/org/apache/jackrabbit/rmi/server/ src/main/java/org/apache/jackrabbi...
Date Tue, 05 Jan 2010 16:18:17 GMT
Author: jukka
Date: Tue Jan  5 16:18:16 2010
New Revision: 896113

URL: http://svn.apache.org/viewvc?rev=896113&view=rev
Log:
JCRRMI-26: JSR-283 support

Upgrade to JCR 2.0

Added:
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/value/BaseValue.java   (with props)
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/value/DecimalValue.java   (with props)
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/value/ISO8601.java   (with props)
Removed:
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/value/BaseNonStreamValue.java
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/value/InitialValue.java
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/value/SerialValue.java
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/value/StatefulValue.java
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/value/StatefulValueAdapter.java
    jackrabbit/commons/jcr-rmi/trunk/src/test/java/org/apache/jackrabbit/rmi/RepositoryServer.java
    jackrabbit/commons/jcr-rmi/trunk/src/test/java/org/apache/jackrabbit/rmi/RepositoryTest.java
    jackrabbit/commons/jcr-rmi/trunk/src/test/java/org/apache/jackrabbit/test/rmi/RemoteAdapterTest.java
    jackrabbit/commons/jcr-rmi/trunk/src/test/java/org/apache/jackrabbit/test/rmi/value/SerialValueFactoryTest.java
    jackrabbit/commons/jcr-rmi/trunk/src/test/resources/test-nodetypes.xml
Modified:
    jackrabbit/commons/jcr-rmi/trunk/README.txt
    jackrabbit/commons/jcr-rmi/trunk/pom.xml
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientLock.java
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientNode.java
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientNodeDefinition.java
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientNodeType.java
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientNodeTypeManager.java
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientObservationManager.java
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientProperty.java
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientPropertyDefinition.java
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientQuery.java
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientQueryManager.java
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientQueryResult.java
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientRepository.java
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientRow.java
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientSession.java
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientVersion.java
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientVersionHistory.java
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientWorkspace.java
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/SafeClientRepository.java
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/observation/ClientEventPoll.java
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/server/ServerObject.java
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/server/ServerProperty.java
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/server/ServerPropertyDefinition.java
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/server/ServerRow.java
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/value/BinaryValue.java
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/value/BooleanValue.java
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/value/DateValue.java
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/value/DoubleValue.java
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/value/LongValue.java
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/value/NameValue.java
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/value/PathValue.java
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/value/ReferenceValue.java
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/value/SerialValueFactory.java
    jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/value/StringValue.java
    jackrabbit/commons/jcr-rmi/trunk/src/test/java/org/apache/jackrabbit/rmi/ConformanceTest.java
    jackrabbit/commons/jcr-rmi/trunk/src/test/java/org/apache/jackrabbit/rmi/RepositoryStubImpl.java
    jackrabbit/commons/jcr-rmi/trunk/src/test/resources/repositoryStubImpl.properties

Modified: jackrabbit/commons/jcr-rmi/trunk/README.txt
URL: http://svn.apache.org/viewvc/jackrabbit/commons/jcr-rmi/trunk/README.txt?rev=896113&r1=896112&r2=896113&view=diff
==============================================================================
--- jackrabbit/commons/jcr-rmi/trunk/README.txt (original)
+++ jackrabbit/commons/jcr-rmi/trunk/README.txt Tue Jan  5 16:18:16 2010
@@ -17,20 +17,16 @@
 
     mvn clean install
 
-You need Java 1.4 (or higher) and Maven 2.0.9 (or higher) to do this.
-
-The build consists of two parts: the "jcr-rmi" module that contains the actual
-JCR-RMI component, and the "jcr-rmi-it" that contains an integration test
-suite for JCR-RMI. The integration tests are automatically run by Maven.
+You need Java 5 (or higher) and Maven 2.0.9 (or higher) to do this.
 
 After the build finishes successfully, you can find the compiled JCR-RMI
-component in ./jcr-rmi/target/. The component will also have been installed
+component in ./target/. The component will also have been installed
 in your local Maven repository.
 
 License (see also LICENSE.txt)
 ==============================
 
-Collective work: Copyright 2009 The Apache Software Foundation.
+Collective work: Copyright 2010 The Apache Software Foundation.
 
 Licensed to the Apache Software Foundation (ASF) under one or more
 contributor license agreements.  See the NOTICE file distributed with

Modified: jackrabbit/commons/jcr-rmi/trunk/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/commons/jcr-rmi/trunk/pom.xml?rev=896113&r1=896112&r2=896113&view=diff
==============================================================================
--- jackrabbit/commons/jcr-rmi/trunk/pom.xml (original)
+++ jackrabbit/commons/jcr-rmi/trunk/pom.xml Tue Jan  5 16:18:16 2010
@@ -32,7 +32,7 @@
   <!-- P R O J E C T  D E S C R I P T I O N                                -->
   <!-- =================================================================== -->
   <artifactId>jcr-rmi</artifactId>
-  <version>1.6-SNAPSHOT</version>
+  <version>2.0-SNAPSHOT</version>
   <packaging>bundle</packaging>
 
   <name>Jackrabbit JCR-RMI</name>
@@ -76,9 +76,6 @@
       <plugin>
         <artifactId>maven-surefire-plugin</artifactId>
         <configuration>
-          <suiteXmlFiles>
-            <suiteXmlFile>testng.xml</suiteXmlFile>
-          </suiteXmlFiles> 
           <systemProperties>
             <property>
               <name>derby.system.durability</name>
@@ -91,12 +88,937 @@
             <property>
               <name>known.issues</name>
               <value>
-                SerializationTest
-                QueryResultNodeIteratorTest#testSkip
-                CanSetPropertyMultipleTest#testMultipleValuesNull
-                VersionTest#testSetProperty
-                VersionHistoryTest#testSetProperty
-                WorkspaceRestoreTest
+                testAbstractNodeType
+                testAccept
+                testAccept
+                testActivitiesPath
+                testActivitiesRelation
+                testAddDuplicateVersionLabel
+                testAddDuplicateVersionLabelJcr2
+                testAddInvalidLockToken
+                testAddLockToken
+                testAddLockTokenAgain
+                testAddLockTokenToAnotherSession
+                testAddMixin
+                testAddMixin
+                testAddMultipleVersionLabels
+                testAddNode
+                testAddNode
+                testAddNonExisting
+                testAddVersionCheckVersionLabelsNode
+                testAddVersionCheckVersionLabelsNodeJcr2
+                testAddVersionLabel
+                testAddVersionLabel2
+                testAdminPermission
+                testAnd
+                testAnd
+                testAnd
+                testAutocreatedRootVersion
+                testAutomaticNewLocalPrefix
+                testBaseVersionAfterCheckin
+                testBaseVersionAfterCheckinJcr2
+                testBinaryLength
+                testBinaryLiteral
+                testBinaryLiteral
+                testBinaryParentJcr2
+                testBindVariableNames
+                testBindVariableValue
+                testBoolean
+                testBooleanLength
+                testBooleanLiteral
+                testBooleanLiteral
+                testCanAddAbstractType
+                testCanAddMixin
+                testCanAddMixin
+                testCancelMerge
+                testCancelMerge
+                testCancelMergeJcr2
+                testCancelMergeJcr2
+                testCheckedIn
+                testCheckin
+                testCheckin
+                testCheckinConfig
+                testCheckinConfigFailsWithUnversionedChild
+                testCheckinCreatesNewVersion
+                testCheckinCreatesNewVersion
+                testCheckinCreatesNewVersionJcr2
+                testCheckinCreatesNewVersionJcr2
+                testCheckinJcr2
+                testCheckinJcr2
+                testCheckinNonVersionableNode
+                testCheckinNonVersionableNode
+                testCheckinNonVersionableNodeJcr2
+                testCheckinNonVersionableNodeJcr2
+                testCheckinRemovesPredecessorProperty
+                testCheckinRemovesPredecessorPropertyJcr2
+                testCheckinWithPendingChanges
+                testCheckinWithPendingChanges
+                testCheckinWithPendingChangesJcr2
+                testCheckinWithPendingChangesJcr2
+                testCheckout
+                testCheckout
+                testCheckoutCopiesBaseValueToPredecessorProperty
+                testCheckoutCopiesBaseValueToPredecessorPropertyJcr2
+                testCheckoutJcr2
+                testCheckoutJcr2
+                testCheckoutNonVersionableNode
+                testCheckoutNonVersionableNode
+                testCheckoutNonVersionableNodeJcr2
+                testCheckoutNonVersionableNodeJcr2
+                testCheckoutTwiceDoesNotThrow
+                testCheckoutTwiceDoesNotThrow
+                testCheckoutTwiceDoesNotThrowJcr2
+                testCheckoutTwiceDoesNotThrowJcr2
+                testChildAxisLeaf
+                testChildAxisRoot
+                testChildAxisTestRoot
+                testChildNode
+                testChildNode
+                testChildNodeJoinCondition
+                testChildNodes
+                testChildNodesDoNotMatchSelector
+                testChildNodesDoNotMatchSelector
+                testChildNodeWithSelector
+                testColumn
+                testColumnAllProperties
+                testColumnNames
+                testColumnWithColumnName
+                testColumnWithSelector
+                testCombinedAnd
+                testCombinedOr
+                testComparison
+                testConfigurationsPath
+                testConstraint
+                testCopy
+                testCopy
+                testCreateConfiguration
+                testCreateConfigurationNotVersionableFails
+                testCreateConfigurationTwiceFails
+                testCreateConfigWithBaseline
+                testCreateConfigWithExistentConfigFromBaselineFails
+                testCreateConfigWithNonExistentParentFails
+                testCreateMultiplePathValue
+                testCreatePathValue
+                testCreateQuery
+                testCreateQueryFromSource
+                testCreateQueryFromSourceWithConstraint
+                testCreateQueryFromSourceWithConstraintAndOrdering
+                testCreateQueryFromSourceWithConstraintOrderingAndColumn
+                testCreateQueryWithConstraint
+                testCreateQueryWithConstraintAndOrdering
+                testCreateQueryWithConstraintOrderingAndColumn
+                testCreateRemoveActivity
+                testDate
+                testDateLength
+                testDateLiteral
+                testDateLiteral
+                testDateOrder
+                testDateOrderMillis
+                testDateOrderNegativeTimeZone
+                testDateOrderPositiveTimeZone
+                testDecimal
+                testDecimal
+                testDecimalLength
+                testDecimalLiteral
+                testDecimalLiteral
+                testDeepLockAboveLockedChild
+                testDerefMultiPropWithNodeStar
+                testDerefMultiPropWithNodeTest
+                testDerefSinglePropWithNodeStar
+                testDerefSinglePropWithNodeTest
+                testDescendantLeaf
+                testDescendantNode
+                testDescendantNode
+                testDescendantNodeJoinCondition
+                testDescendantNodes
+                testDescendantNodesDoNotMatchSelector
+                testDescendantNodeWithSelector
+                testDescendantSelfTestRoot
+                testDescendantTestRoot
+                testDocOrderFirstFunction
+                testDocOrderIndexedNotation
+                testDocOrderLastFunction
+                testDocOrderPositionFunction
+                testDocOrderPositionIndex
+                testDoneMerge
+                testDoneMerge
+                testDoneMergeJcr2
+                testDoneMergeJcr2
+                testDouble
+                testDoubleLength
+                testDoubleLiteral
+                testDoubleLiteral
+                testDoubleOrder1
+                testDoubleOrder2
+                testDoubleSession
+                testDoubleValueSession
+                testDuplicateNodeType
+                testElementTest
+                testElementTestAnyNode
+                testElementTestAnyNodeNtBase
+                testElementTestAnyNodeSomeNT
+                testElementTestNameTest
+                testElementTestNameTestNtBase
+                testElementTestNameTestSomeNT
+                testElementTestNameTestSomeNTWithSNS
+                testEmptyNodeDefinitionTemplate
+                testEmptyNodeTypeTemplate
+                testEmptyPropertyDefinitionTemplate
+                testEquality
+                testEqualTo
+                testEqualTo
+                testEquiJoinCondition
+                testEventType
+                testExpandColumnsForNodeType
+                testExpandedNameValue
+                testExpandedNameValueProperty
+                testExtendedNameBasedPathValue
+                testFailIfCorrespondingNodeIsSuccessor
+                testFailIfCorrespondingNodeIsSuccessorJcr2
+                testFollowLifecycleTransition
+                testFrozenChildNodeNodeType
+                testFrozenChildNodeType
+                testFrozenChildNodeUUUID
+                testFrozenChildUUUID
+                testFrozenNodeNodeType
+                testFrozenNodeType
+                testFrozenNodeUUUID
+                testFrozenUUID
+                testFrozenUUUID
+                testFullTextSearch
+                testFullTextSearch
+                testFullTextSearch
+                testFullTextSearchAllProperties
+                testFullTextSearchScore
+                testFullTextSearchScoreWithSelector
+                testFullTextSearchWithBindVariableValue
+                testGetAllFrozenNodes
+                testGetAllowedLifecycleTransitions
+                testGetAllVersions
+                testGetAllVersionsJcr2
+                testGetAncestor
+                testGetAncestor
+                testGetBaseVersion
+                testGetBaseVersion
+                testGetBaseVersionJcr2
+                testGetBaseVersionJcr2
+                testGetCorrespondingNodePath
+                testGetCorrespondingNodePath
+                testGetDeclaredSubtypes
+                testGetDeclaredSupertypes
+                testGetDefaultPrimaryTypes
+                testGetDepth
+                testGetDepth
+                testGetDescriptorValues
+                testGetIdentifier
+                testGetIndex
+                testGetIndex
+                testGetItem
+                testGetLanguage
+                testGetLinearPredecessorSuccessor
+                testGetLock
+                testGetLock
+                testGetLockJcr2
+                testGetLockJcr2
+                testGetLockManager
+                testGetLockOnChild
+                testGetLockOnChild
+                testGetLockOnChild
+                testGetLockOnNewChild
+                testGetLockOnNewChild
+                testGetLockOnNewChild
+                testGetLockToken
+                testGetLockToken
+                testGetLockTokens
+                testGetLockTokensAfterUnlock
+                testGetLockTokensSessionScoped
+                testGetMixinNodeTypes
+                testGetMixinNodeTypes
+                testGetName
+                testGetName
+                testGetNode
+                testGetNode
+                testGetNode
+                testGetNode
+                testGetNode
+                testGetNodeByIdentifier
+                testGetNodeOnLockObtainedFromChild
+                testGetNodeOnLockObtainedFromNewChild
+                testGetNodes
+                testGetNodes
+                testGetNodesNamePatternArray
+                testGetNodeWithSelector
+                testGetParent
+                testGetParent
+                testGetPath
+                testGetPath
+                testGetPath
+                testGetPathWithSelector
+                testGetPersistentQueryPath
+                testGetPosition
+                testGetPositionEmptyIterator
+                testGetPrimaryItem
+                testGetPrimaryItem
+                testGetPrimaryNodeType
+                testGetPrimaryNodeType
+                testGetProperties
+                testGetProperties
+                testGetPropertiesNamePatternArray
+                testGetProperty
+                testGetProperty
+                testGetProperty
+                testGetProperty
+                testGetProperty
+                testGetProperty
+                testGetProperty
+                testGetProperty
+                testGetProperty
+                testGetProperty
+                testGetPropertyNames
+                testGetQuery
+                testGetReferences
+                testGetReferencesWithName
+                testGetRequiredPrimaryTypeNames
+                testGetScore
+                testGetScoreWithSelector
+                testGetSecondsRemaining
+                testGetSecondsRemaining
+                testGetSecondsRemaining
+                testGetSecondsRemainingAfterUnlock
+                testGetSecondsRemainingAfterUnlock
+                testGetSecondsRemainingAfterUnlock
+                testGetSession
+                testGetSession
+                testGetSize
+                testGetStatement
+                testGetStoredQueryPath
+                testGetSupportedQueryLanguages
+                testGetUUID
+                testGetUUID
+                testGetValue
+                testGetValues
+                testGetVersion
+                testGetVersionableIdentifier
+                testGetVersionByLabel
+                testGetVersionHistory
+                testGetVersionHistory
+                testGetVersionHistoryJcr2
+                testGetVersionHistoryJcr2
+                testGetVersionHistoryOnNonVersionableNode
+                testGetVersionHistoryOnNonVersionableNodeJcr2
+                testGetVersionLabels
+                testGetVersionLabelsForInvalidVersion
+                testGetVersionLabelsForVersion
+                testGetVersionLabelsForVersionJcr2
+                testGetVersionLabelsJcr2
+                testGreaterThan
+                testGreaterThanOrEqualTo
+                testHasCapability
+                testHasNode
+                testHasNode
+                testHasNodes
+                testHasNodes
+                testHasProperties
+                testHasProperties
+                testHasProperty
+                testHasProperty
+                testHasVersionLabel
+                testHasVersionLabelForVersion
+                testHoldsLock
+                testHoldsLock
+                testHoldsLockChild
+                testHoldsLockChild
+                testHoldsLockChild
+                testHoldsLockJcr2
+                testHoldsLockJcr2
+                testHoldsLockNewChild
+                testHoldsLockNewChild
+                testHoldsLockNewChild
+                testIdentifierBasedPropertyValue
+                testIllegalArgumentException
+                testImplicitUnlock
+                testImplicitUnlock2
+                testInitialBaseVersionPointsToRootVersionJcr2
+                testInitiallyGetAllLinearVersionsContainsTheRootAndTheBaseVersion
+                testInitiallyGetAllVersionsContainsTheRootVersion
+                testInitialNodePredecessorsJcr2
+                testInitialNumberOfLinearVersions
+                testInitialNumberOfVersions
+                testInnerJoin
+                testInnerJoin
+                testInnerJoin
+                testInnerJoin1
+                testInnerJoin2
+                testInnerJoinWithPath
+                testIntegerOrder
+                testInvalidJCRNames
+                testInvalidQueryException
+                testIsCheckedOut
+                testIsCheckedOut
+                testIsCheckedOut
+                testIsCheckedOut
+                testIsCheckedOut
+                testIsCheckedOut
+                testIsCheckedOutJcr2
+                testIsCheckedOutJcr2
+                testIsCheckedOutJcr2
+                testIsCheckedOutJcr2
+                testIsCheckedOutJcr2
+                testIsCheckedOutJcr2
+                testIsCheckedOutNonVersionableNode
+                testIsCheckedOutNonVersionableNode
+                testIsCheckedOutNonVersionableNodeJcr2
+                testIsCheckedOutNonVersionableNodeJcr2
+                testIsDeep
+                testIsDeep
+                testIsDeep
+                testIsDeepFalse
+                testIsDeepTrue
+                testIsLive
+                testIsLive
+                testIsLive
+                testIsLocked
+                testIsLocked
+                testIsLockedChild
+                testIsLockedChild
+                testIsLockedChild
+                testIsLockedJcr2
+                testIsLockedJcr2
+                testIsLockedNewChild
+                testIsLockedNewChild
+                testIsLockedNewChild
+                testIsLockOwningSession
+                testIsLockOwningSession
+                testIsLockOwningSession
+                testIsModified
+                testIsModified
+                testIsMultiple
+                testIsNew
+                testIsNew
+                testIsNode
+                testIsNode
+                testIsNodeType
+                testIsNodeType
+                testIsNotCheckedOut
+                testIsNotCheckedOut
+                testIsNotCheckedOutJcr2
+                testIsNotCheckedOutJcr2
+                testIsSame
+                testIsSame
+                testIsSameJcr2
+                testIsSameMustNotCompareStates
+                testIsSessionScoped
+                testIsSessionScoped
+                testIsSessionScoped
+                testJcrPath
+                testJcrPath
+                testJCRQOM
+                testJCRSQL2
+                testJoin
+                testJoin
+                testJoinFilterPrimaryType
+                testJoinNtBase
+                testJoinSNS
+                testLeaveIfCorrespondingNodeIsPredeccessor
+                testLeaveIfCorrespondingNodeIsPredeccessorJcr2
+                testLeftOuterJoin
+                testLeftOuterJoin
+                testLeftOuterJoin
+                testLeftOuterJoin1
+                testLeftOuterJoin2
+                testLeftOuterJoinWithPath
+                testLength
+                testLength
+                testLength
+                testLengthBinaryLiteral
+                testLengthBooleanLiteral
+                testLengthDateLiteral
+                testLengthDecimalLiteral
+                testLengthDoubleLiteral
+                testLengthNameLiteral
+                testLengthPathLiteral
+                testLengthReferenceLiteral
+                testLengthStringLiteral
+                testLengthURILiteral
+                testLengthWeakReferenceLiteral
+                testLessThan
+                testLessThanOrEqualTo
+                testLike
+                testLinearTime
+                testLinearVersions
+                testLinearVersionsJcr2
+                testLinearVersionsJcr2_2
+                testLinearVersionsJcr2_3
+                testLinearVersionsJcr2_4
+                testLiteral
+                testLiveJournal
+                testLocalName
+                testLock
+                testLock
+                testLocked
+                testLockExceptionSessionWithHandler
+                testLockExceptionWorkspaceWithHandler
+                testLockExpiration
+                testLockExpiration
+                testLockExpiration
+                testLockHoldingNode
+                testLockHoldingNode
+                testLockHoldingNode
+                testLockJcr2
+                testLockJcr2
+                testLockNonLockable
+                testLockTransfer
+                testLockTransfer2
+                testLockTransfer3
+                testLockVisibility
+                testLockVisibility
+                testLockVisibility
+                testLockWithPendingChanges
+                testLong
+                testLongLength
+                testLongLiteral
+                testLongLiteral
+                testLowerCase
+                testLowerCase
+                testLowerCase
+                testLowerCaseTwice
+                testLowerUpperCase
+                testMandatoryChildNode
+                testMandatoryProperty
+                testMerge
+                testMerge
+                testMergeActivity
+                testMergeNodeBestEffortFalse
+                testMergeNodeBestEffortFalseAmbiguousVersions
+                testMergeNodeBestEffortFalseAmbiguousVersionsJcr2
+                testMergeNodeBestEffortFalseJcr2
+                testMergeNodeBestEffortTrueCheckMergeFailedProperty
+                testMergeNodeBestEffortTrueCheckMergeFailedPropertyJcr2
+                testMergeNodeCancelMerge
+                testMergeNodeCancelMergeJcr2
+                testMergeNodeDoneMerge
+                testMergeNodeDoneMergeJcr2
+                testMergeNodeFromOlderSourceWorkspace
+                testMergeNodeFromOlderSourceWorkspaceJcr2
+                testMergeNodeNonCorrespondingNode
+                testMergeNodeNonCorrespondingNodeJcr2
+                testMergeNodeNonVersionableSubNodeLeaveJcr2
+                testMergeNodeNonVersionableSubNodeNonVersionableAncestorJcr2
+                testMergeNodeNonVersionableSubNodeUpdateJcr2
+                testMergeNodeVersionAmbiguous
+                testMergeNodeVersionAmbiguousJcr2
+                testMergeNodeWithUnsavedStates
+                testMergeNodeWithUnsavedStatesJcr2
+                testMergeRecursive
+                testMergeShallow
+                testMergeUnknownWorkspaceName
+                testMergeUnknownWorkspaceNameJcr2
+                testModifyDecimalPropertySession
+                testMoveLabel
+                testMoveLabelJcr2
+                testMoveNode
+                testMoveTree
+                testMoveWithRemove
+                testMultiColumn
+                testMultipleCheckinHasNoEffect
+                testMultipleCheckinHasNoEffect
+                testMultipleCheckinHasNoEffectJcr2
+                testMultipleCheckinHasNoEffectJcr2
+                testMultipleOrder
+                testMultipleSelectors
+                testMultiValues
+                testMultiValueSearch
+                testMultiValueSearch
+                testMultiValuesWithName
+                testName
+                testName
+                testNameLength
+                testNameLiteral
+                testNameLiteral
+                testNewDecimalPropertySession
+                testNewNodeTypeTemplate
+                testNodeAdded
+                testNodeAdded
+                testNodeDefinitionTemplate
+                testNodeHoldsLocked
+                testNodeHoldsLocked
+                testNodeHoldsLocked
+                testNodeIsLocked
+                testNodeIsLocked
+                testNodeIsLocked
+                testNodeIterator
+                testNodeIteratorJcr2
+                testNodeLocalName
+                testNodeLocalName
+                testNodeLocalNameWithSelector
+                testNodeMoved
+                testNodeName
+                testNodeName
+                testNodeNameWithSelector
+                testNodeRemoved
+                testNodeRemoved
+                testNodeReorder
+                testNodeReorderSameName
+                testNodeReorderSameNameWithRemove
+                testNodeType
+                testNonEmptyNodeTypeTemplate
+                testNonReferenceable
+                testNoSuchElementException
+                testNot
+                testNot
+                testNotASelectorName
+                testNotASelectorName
+                testNotASelectorName
+                testNotAssigned
+                testNotEqualTo
+                testNotEqualTo
+                testNotNormalizedPathValue
+                testNullOwnerHint
+                testOr
+                testOr
+                testOr
+                testOrderBefore
+                testOrderBefore
+                testOrderBy
+                testOrderByAscending
+                testOrderByAscending
+                testOrderByDefault
+                testOrderByDescending
+                testOrderByDescending
+                testOrdering
+                testOrderingAscending
+                testOrderingDescending
+                testParentChildDeepLock
+                testPath
+                testPath
+                testPathColumn
+                testPathColumn
+                testPathDoesNotExist
+                testPathDoesNotExist
+                testPathDoesNotExist
+                testPathLength
+                testPathLiteral
+                testPathLiteral
+                testPredecessorIsCopiedToNewVersion
+                testPredecessorIsCopiedToNewVersionJcr2
+                testPropertyAdded
+                testPropertyAdded
+                testPropertyChanged
+                testPropertyDefinitionTemplate
+                testPropertyExistence
+                testPropertyExistence
+                testPropertyExistence
+                testPropertyExistenceWithSelector
+                testPropertyRemoved
+                testPropertyValue
+                testPropertyValue
+                testPropertyValueWithSelector
+                testProtectedChildNode
+                testProtectedProperty
+                testRange
+                testRange
+                testReadOnlyPermission
+                testReadWritePermission
+                testReference
+                testReferenceLength
+                testReferenceLiteral
+                testReferenceLiteral
+                testRefresh
+                testRefresh
+                testRefresh
+                testRefresh
+                testRefresh
+                testRefreshNotLive
+                testRefreshNotLive
+                testRefreshNotLive
+                testRegisterNodeType
+                testRegisterNodeTypes
+                testRelativePath
+                testRelativePath
+                testRelativePath
+                testRemovableChildNode
+                testRemovableProperty
+                testRemove
+                testRemove
+                testRemoveCheckedInItem
+                testRemoveDecimalPropertySession
+                testRemoveDoubleSession
+                testRemoveItem
+                testRemoveItem2
+                testRemoveItem3
+                testRemoveItem4
+                testRemoveLabel
+                testRemoveLockedChild
+                testRemoveLockedChildItem
+                testRemoveLockedNode
+                testRemoveLockToken
+                testRemoveLockToken2
+                testRemoveLockToken3
+                testRemoveLockTokenTwice
+                testRemoveMixin
+                testRemoveMixin
+                testRemoveMixLockableFromLockedNode
+                testRemoveMixLockableFromLockedNode
+                testRemoveMixLockableFromLockedNode
+                testRemoveNonExistingLabel
+                testRequiredDescriptors
+                testResidualNames
+                testResolvedIdentifierBasedPropertyValue
+                testRestore
+                testRestore
+                testRestoreBaseline
+                testRestoreByLabel
+                testRestoreByLabel
+                testRestoreByLabelJcr2
+                testRestoreByLabelJcr2
+                testRestoreByLabelNonVersionableNode
+                testRestoreByLabelNonVersionableNodeJcr2
+                testRestoreChild1
+                testRestoreChild1
+                testRestoreChild1Jcr2
+                testRestoreChild1Jcr2
+                testRestoreChild1Jcr2_2
+                testRestoreChild1Jcr2_2
+                testRestoreChild1Jcr2_3
+                testRestoreChild1Jcr2_3
+                testRestoreChild1Jcr2_4
+                testRestoreChild1Jcr2_4
+                testRestoreConfig
+                testRestoreCorrectProperty
+                testRestoreCorrectProperty
+                testRestoreCorrectPropertyJcr2
+                testRestoreCorrectPropertyJcr2
+                testRestoreCorrectPropertyJcr2_2
+                testRestoreCorrectPropertyJcr2_2
+                testRestoreCorrectPropertyJcr2_3
+                testRestoreCorrectPropertyJcr2_3
+                testRestoreCorrectPropertyJcr2_4
+                testRestoreCorrectPropertyJcr2_4
+                testRestoreInvalidVersion
+                testRestoreInvalidVersion
+                testRestoreInvalidVersion2
+                testRestoreInvalidVersion2
+                testRestoreInvalidVersion2Jcr2
+                testRestoreInvalidVersion2Jcr2
+                testRestoreInvalidVersionJcr2
+                testRestoreInvalidVersionJcr2
+                testRestoreJcr2
+                testRestoreJcr2
+                testRestoreLabel
+                testRestoreLabel
+                testRestoreLabelJcr2
+                testRestoreLabelJcr2
+                testRestoreName
+                testRestoreName
+                testRestoreNameJcr2
+                testRestoreNameJcr2
+                testRestoreNodeJcr2
+                testRestoreNodeJcr2
+                testRestoreNodeJcr2
+                testRestoreNonVersionableNode
+                testRestoreNonVersionableNode
+                testRestoreNonVersionableNode2
+                testRestoreNonVersionableNode2
+                testRestoreNonVersionableNode3
+                testRestoreNonVersionableNode3
+                testRestoreNonVersionableNode3Jcr2_2
+                testRestoreNonVersionableNode3Jcr2_2
+                testRestoreNonVersionableNodeJcr2_2
+                testRestoreNonVersionableNodeJcr2_2
+                testRestoreOnCheckedInNode
+                testRestoreOnCheckedInNode
+                testRestoreOnCheckedInNodeJcr2_1
+                testRestoreOnCheckedInNodeJcr2_1
+                testRestoreOnCheckedInNodeJcr2_2
+                testRestoreOnCheckedInNodeJcr2_2
+                testRestoreOnCheckedInNodeJcr2_3
+                testRestoreOnCheckedInNodeJcr2_3
+                testRestoreOnCheckedInNodeJcr2_4
+                testRestoreOnCheckedInNodeJcr2_4
+                testRestoreOnCheckedOutNode
+                testRestoreOnCheckedOutNode
+                testRestoreOnCheckedOutNodeJcr2
+                testRestoreOnCheckedOutNodeJcr2
+                testRestoreOnCheckedOutNodeJcr2_2
+                testRestoreOnCheckedOutNodeJcr2_2
+                testRestoreOnCheckedOutNodeJcr2_3
+                testRestoreOnCheckedOutNodeJcr2_3
+                testRestoreOnCheckedOutNodeJcr2_4
+                testRestoreOnCheckedOutNodeJcr2_4
+                testRestoreOrder
+                testRestoreOrder
+                testRestoreOrder2
+                testRestoreOrder2
+                testRestoreOrder2Jcr2
+                testRestoreOrder2Jcr2
+                testRestoreOrder2Jcr2_2
+                testRestoreOrder2Jcr2_2
+                testRestoreOrder2Jcr2_3
+                testRestoreOrder2Jcr2_3
+                testRestoreOrder2Jcr2_4
+                testRestoreOrder2Jcr2_4
+                testRestoreOrderJcr2
+                testRestoreOrderJcr2
+                testRestoreOrderJcr2_2
+                testRestoreOrderJcr2_2
+                testRestoreOrderJcr2_3
+                testRestoreOrderJcr2_3
+                testRestoreOrderJcr2_4
+                testRestoreOrderJcr2_4
+                testRestorePropJcr2
+                testRestorePropJcr2
+                testRestorePropJcr2
+                testRestorePropJcr2
+                testRestoreRemoved
+                testRestoreRemovedJcr2
+                testRestoreRootVersionFail
+                testRestoreRootVersionFail
+                testRestoreRootVersionFailJcr2
+                testRestoreRootVersionFailJcr2
+                testRestoreSetsBaseVersion
+                testRestoreSetsBaseVersionJcr2
+                testRestoreSetsBaseVersionJcr2_2
+                testRestoreSetsBaseVersionJcr2_3
+                testRestoreSetsBaseVersionJcr2_4
+                testRestoreSetsIsCheckedOutToFalse
+                testRestoreSetsIsCheckedOutToFalse
+                testRestoreSetsIsCheckedOutToFalseJcr2
+                testRestoreSetsIsCheckedOutToFalseJcr2
+                testRestoreSetsIsCheckedOutToFalseJcr2_2
+                testRestoreSetsIsCheckedOutToFalseJcr2_2
+                testRestoreSetsIsCheckedOutToFalseJcr2_4
+                testRestoreSetsIsCheckedOutToFalseJcr2_4
+                testRestoreSetsIsCheckedOutToFalseJcr3
+                testRestoreSetsIsCheckedOutToFalseJcr3
+                testRestoreWithInvalidVersion
+                testRestoreWithInvalidVersion
+                testRestoreWithInvalidVersionJcr2
+                testRestoreWithInvalidVersionJcr2
+                testRestoreWithPendingChanges
+                testRestoreWithPendingChanges
+                testRestoreWithPendingChangesJcr2
+                testRestoreWithPendingChangesJcr2
+                testRestoreWithPendingChangesJcr2_2
+                testRestoreWithPendingChangesJcr2_2
+                testRestoreWithPendingChangesJcr2_3
+                testRestoreWithPendingChangesJcr2_3
+                testRestoreWithPendingChangesJcr2_4
+                testRestoreWithPendingChangesJcr2_4
+                testRestoreWithUUIDConflict
+                testRestoreWithUUIDConflict
+                testRestoreWithUUIDConflictJcr2
+                testRestoreWithUUIDConflictJcr2
+                testRestoreWithUUIDConflictJcr2_2
+                testRestoreWithUUIDConflictJcr2_2
+                testRestoreWithUUIDConflictJcr2_3
+                testRestoreWithUUIDConflictJcr2_3
+                testRestoreWithUUIDConflictJcr2_4
+                testRestoreWithUUIDConflictJcr2_4
+                testRightOuterJoin
+                testRightOuterJoin
+                testRightOuterJoin
+                testRightOuterJoin1
+                testRightOuterJoin2
+                testRightOuterJoinWithPath
+                testRootVersionHasNoPredecessorJcr2
+                testSameNode
+                testSameNode
+                testSameNodeJoinCondition
+                testSameNodeJoinConditionWithPath
+                testSameNodeWithSelector
+                testSave
+                testScoreColumn
+                testScoreColumn
+                testSelector
+                testSelector
+                testSelectorWithName
+                testSetAbstractAsPrimaryType
+                testSetCurrentType
+                testSetCurrentTypeOnNew
+                testSetDefaultValues
+                testSetGetActivity
+                testSetLimit
+                testSetMixinAsPrimaryType
+                testSetOffset
+                testSetPrimaryType
+                testSetProperty
+                testSetProperty
+                testShallowLockAboveLockedChild
+                testSingleProperty
+                testSingleValue
+                testSingleValueWithName
+                testSkip
+                testSkipTo
+                testSkipToNow
+                testSQL
+                testString
+                testStringLength
+                testStringLiteral
+                testStringLiteral
+                testStringLiteralInvalidName
+                testStringLiteralInvalidName
+                testStringOrder
+                testSyntacticallyInvalidName
+                testSyntacticallyInvalidPath
+                testSyntacticallyInvalidPath
+                testSyntacticallyInvalidPath
+                testTextNodeTest
+                testTextNodeTestContains
+                testTextNodeTestMultiNodes
+                testTextNodeTestWithPosition
+                testUnknownNodeType
+                testUnknownQueryLanguage
+                testUnlock
+                testUnlock
+                testUnlock
+                testUnlock
+                testUnlock
+                testUnlockByOtherSession
+                testUnlockByOtherSession
+                testUnlockByOtherSession
+                testUnlockJcr2
+                testUnlockJcr2
+                testUnregisterNodeType
+                testUnregisterNodeTypes
+                testUpdate
+                testUpdate
+                testUpperCase
+                testUpperCaseTwice
+                testUpperLowerCase
+                testURI
+                testURI
+                testURILength
+                testURILiteral
+                testURILiteral
+                testUserData
+                testUUID
+                testUUID
+                testValueFormatException
+                testVersioning
+                testVersioningExceptionFileChildSessionContentHandler
+                testVersioningExceptionFileChildWorkspaceContentHandler
+                testVersioningExceptionFileParentSessionContentHandler
+                testVersioningExceptionFileParentWorkspaceContentHandler
+                testWeakReference
+                testWeakReferenceLength
+                testWeakReferenceLiteral
+                testWeakReferenceLiteral
+                testWorkspaceOperation
+                testWorkspaceRestoreHasCorrespondingNode
+                testWorkspaceRestoreHasCorrespondingNodeJcr2
+                testWorkspaceRestoreOnCheckedInNode
+                testWorkspaceRestoreOnCheckedInNodeJcr2
+                testWorkspaceRestoreOnCheckedOutNode
+                testWorkspaceRestoreOnCheckedOutNodeJcr2
+                testWorkspaceRestoreWithParent
+                testWorkspaceRestoreWithParentJcr2
+                testWorkspaceRestoreWithPendingChanges
+                testWorkspaceRestoreWithPendingChangesJcr2
+                testWorkspaceRestoreWithRemoveExisting
+                testWorkspaceRestoreWithRemoveExistingJcr2
+                testWorkspaceRestoreWithUUIDConflict
+                testWorkspaceRestoreWithUUIDConflictJcr2
+                testWorkspaceSeparation
               </value>
             </property>
           </systemProperties>
@@ -111,7 +1033,7 @@
             <Bundle-Category>jcr,jackrabbit</Bundle-Category>
             <Bundle-DocURL>http://jackrabbit.apache.org/</Bundle-DocURL>
             <Export-Package>
-              org.apache.jackrabbit.rmi.*;version=${pom.version}
+              org.apache.jackrabbit.rmi.*;version=${project.version}
             </Export-Package>
             <!-- optional resolution XA -->
             <Import-Package>
@@ -168,54 +1090,47 @@
     <dependency>
       <groupId>javax.jcr</groupId>
       <artifactId>jcr</artifactId>
-      <version>1.0</version>
+      <version>2.0</version>
     </dependency>
     <dependency>
       <groupId>org.apache.jackrabbit</groupId>
       <artifactId>jackrabbit-api</artifactId>
-      <version>1.6.0</version>
+      <version>2.0-beta4</version>
     </dependency>
     <dependency>
       <groupId>org.apache.jackrabbit</groupId>
       <artifactId>jackrabbit-jcr-commons</artifactId>
-      <version>1.6.0</version>
+      <version>2.0-beta4</version>
     </dependency>
     <dependency>
       <groupId>org.slf4j</groupId>
       <artifactId>slf4j-api</artifactId>
-      <version>1.5.3</version>
+      <version>1.5.8</version>
     </dependency>
 
     <!-- Test dependencies -->
     <dependency>
-      <groupId>org.testng</groupId>
-      <artifactId>testng</artifactId>
-      <version>5.8</version>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.2</version>
       <scope>test</scope>
-      <classifier>jdk15</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.jackrabbit</groupId>
       <artifactId>jackrabbit-core</artifactId>
-      <version>1.6.0</version>
+      <version>2.0-beta4</version>
       <scope>test</scope>
     </dependency>
     <dependency>
       <groupId>org.apache.jackrabbit</groupId>
       <artifactId>jackrabbit-jcr-tests</artifactId>
-      <version>1.6.0</version>
+      <version>2.0-beta4</version>
       <scope>test</scope>
     </dependency>
     <dependency>
       <groupId>org.slf4j</groupId>
       <artifactId>slf4j-log4j12</artifactId>
-      <version>1.5.3</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>easymock</groupId>
-      <artifactId>easymock</artifactId>
-      <version>1.1</version>
+      <version>1.5.8</version>
       <scope>test</scope>
     </dependency>
   </dependencies>

Modified: jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientLock.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientLock.java?rev=896113&r1=896112&r2=896113&view=diff
==============================================================================
--- jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientLock.java (original)
+++ jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientLock.java Tue Jan  5 16:18:16 2010
@@ -21,6 +21,7 @@
 import javax.jcr.Node;
 import javax.jcr.RepositoryException;
 import javax.jcr.Session;
+import javax.jcr.UnsupportedRepositoryOperationException;
 import javax.jcr.lock.Lock;
 
 import org.apache.jackrabbit.rmi.remote.RemoteLock;
@@ -119,4 +120,12 @@
             throw new RemoteRuntimeException(ex);
         }
     }
+
+    public long getSecondsRemaining() throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public boolean isLockOwningSession() {
+        throw new RuntimeException("TODO: JCRRMI-26");
+    }
 }

Modified: jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientNode.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientNode.java?rev=896113&r1=896112&r2=896113&view=diff
==============================================================================
--- jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientNode.java (original)
+++ jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientNode.java Tue Jan  5 16:18:16 2010
@@ -17,9 +17,11 @@
 package org.apache.jackrabbit.rmi.client;
 
 import java.io.InputStream;
+import java.math.BigDecimal;
 import java.rmi.RemoteException;
 import java.util.Calendar;
 
+import javax.jcr.Binary;
 import javax.jcr.Item;
 import javax.jcr.ItemVisitor;
 import javax.jcr.Node;
@@ -28,6 +30,7 @@
 import javax.jcr.PropertyIterator;
 import javax.jcr.RepositoryException;
 import javax.jcr.Session;
+import javax.jcr.UnsupportedRepositoryOperationException;
 import javax.jcr.Value;
 import javax.jcr.lock.Lock;
 import javax.jcr.nodetype.NodeDefinition;
@@ -657,4 +660,68 @@
         }
     }
 
+    public void followLifecycleTransition(String transition)
+            throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public String[] getAllowedLifecycleTransistions()
+            throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public String getIdentifier() throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public NodeIterator getNodes(String[] nameGlobs) throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public PropertyIterator getProperties(String[] nameGlobs)
+            throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public PropertyIterator getReferences(String name)
+            throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public NodeIterator getSharedSet() throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public PropertyIterator getWeakReferences() throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public PropertyIterator getWeakReferences(String name)
+            throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public void removeShare() throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public void removeSharedSet() throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public void setPrimaryType(String nodeTypeName)
+            throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public Property setProperty(String name, Binary value)
+            throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public Property setProperty(String name, BigDecimal value)
+            throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
 }

Modified: jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientNodeDefinition.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientNodeDefinition.java?rev=896113&r1=896112&r2=896113&view=diff
==============================================================================
--- jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientNodeDefinition.java (original)
+++ jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientNodeDefinition.java Tue Jan  5 16:18:16 2010
@@ -81,4 +81,12 @@
         }
     }
 
+    public String getDefaultPrimaryTypeName() {
+        throw new RuntimeException("TODO: JCRRMI-26");
+    }
+
+    public String[] getRequiredPrimaryTypeNames() {
+        throw new RuntimeException("TODO: JCRRMI-26");
+    }
+
 }

Modified: jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientNodeType.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientNodeType.java?rev=896113&r1=896112&r2=896113&view=diff
==============================================================================
--- jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientNodeType.java (original)
+++ jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientNodeType.java Tue Jan  5 16:18:16 2010
@@ -18,9 +18,11 @@
 
 import java.rmi.RemoteException;
 
+import javax.jcr.RepositoryException;
 import javax.jcr.Value;
 import javax.jcr.nodetype.NodeDefinition;
 import javax.jcr.nodetype.NodeType;
+import javax.jcr.nodetype.NodeTypeIterator;
 import javax.jcr.nodetype.PropertyDefinition;
 
 import org.apache.jackrabbit.rmi.remote.RemoteNodeDefinition;
@@ -191,7 +193,10 @@
     /** {@inheritDoc} */
     public boolean canSetProperty(String name, Value value) {
         try {
-            return remote.canSetProperty(name, SerialValueFactory.makeSerialValue(value));
+            return remote.canSetProperty(
+                    name, SerialValueFactory.makeSerialValue(value));
+        } catch (RepositoryException e) {
+            throw new RuntimeException("Unable to serialize value", e);
         } catch (RemoteException ex) {
             throw new RemoteRuntimeException(ex);
         }
@@ -202,6 +207,8 @@
         try {
             Value[] serials = SerialValueFactory.makeSerialValueArray(values);
             return remote.canSetProperty(name, serials);
+        } catch (RepositoryException e) {
+            throw new RuntimeException("Unable to serialize values", e);
         } catch (RemoteException ex) {
             throw new RemoteRuntimeException(ex);
         }
@@ -242,4 +249,32 @@
             throw new RemoteRuntimeException(ex);
         }
     }
+
+    public boolean canRemoveNode(String nodeName) {
+        throw new RuntimeException("TODO: JCRRMI-26");
+    }
+
+    public boolean canRemoveProperty(String propertyName) {
+        throw new RuntimeException("TODO: JCRRMI-26");
+    }
+
+    public NodeTypeIterator getDeclaredSubtypes() {
+        throw new RuntimeException("TODO: JCRRMI-26");
+    }
+
+    public NodeTypeIterator getSubtypes() {
+        throw new RuntimeException("TODO: JCRRMI-26");
+    }
+
+    public String[] getDeclaredSupertypeNames() {
+        throw new RuntimeException("TODO: JCRRMI-26");
+    }
+
+    public boolean isAbstract() {
+        throw new RuntimeException("TODO: JCRRMI-26");
+    }
+
+    public boolean isQueryable() {
+        throw new RuntimeException("TODO: JCRRMI-26");
+    }
 }

Modified: jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientNodeTypeManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientNodeTypeManager.java?rev=896113&r1=896112&r2=896113&view=diff
==============================================================================
--- jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientNodeTypeManager.java (original)
+++ jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientNodeTypeManager.java Tue Jan  5 16:18:16 2010
@@ -19,9 +19,14 @@
 import java.rmi.RemoteException;
 
 import javax.jcr.RepositoryException;
+import javax.jcr.UnsupportedRepositoryOperationException;
+import javax.jcr.nodetype.NodeDefinitionTemplate;
 import javax.jcr.nodetype.NodeType;
+import javax.jcr.nodetype.NodeTypeDefinition;
 import javax.jcr.nodetype.NodeTypeIterator;
 import javax.jcr.nodetype.NodeTypeManager;
+import javax.jcr.nodetype.NodeTypeTemplate;
+import javax.jcr.nodetype.PropertyDefinitionTemplate;
 
 import org.apache.jackrabbit.rmi.remote.RemoteNodeTypeManager;
 
@@ -89,4 +94,48 @@
         }
     }
 
+    public NodeDefinitionTemplate createNodeDefinitionTemplate()
+            throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public NodeTypeTemplate createNodeTypeTemplate()
+            throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public NodeTypeTemplate createNodeTypeTemplate(NodeTypeDefinition ntd)
+            throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public PropertyDefinitionTemplate createPropertyDefinitionTemplate()
+            throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public boolean hasNodeType(String name) throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public NodeType registerNodeType(
+            NodeTypeDefinition ntd, boolean allowUpdate)
+            throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public NodeTypeIterator registerNodeTypes(
+            NodeTypeDefinition[] ntds, boolean allowUpdate)
+            throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public void unregisterNodeType(String name) throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public void unregisterNodeTypes(String[] names) throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
 }

Modified: jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientObservationManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientObservationManager.java?rev=896113&r1=896112&r2=896113&view=diff
==============================================================================
--- jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientObservationManager.java (original)
+++ jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientObservationManager.java Tue Jan  5 16:18:16 2010
@@ -19,7 +19,9 @@
 import java.rmi.RemoteException;
 
 import javax.jcr.RepositoryException;
+import javax.jcr.UnsupportedRepositoryOperationException;
 import javax.jcr.Workspace;
+import javax.jcr.observation.EventJournal;
 import javax.jcr.observation.EventListener;
 import javax.jcr.observation.EventListenerIterator;
 import javax.jcr.observation.ObservationManager;
@@ -106,6 +108,20 @@
         return new ArrayEventListenerIterator(listeners);
     }
 
+    public EventJournal getEventJournal() throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public EventJournal getEventJournal(
+            int eventTypes, String absPath, boolean isDeep,
+            String[] uuid, String[] nodeTypeName) throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public void setUserData(String userData) throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
     //---------- internal ------------------------------------------------------
 
     /**
@@ -122,4 +138,5 @@
         }
         return poller;
     }
+
 }

Modified: jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientProperty.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientProperty.java?rev=896113&r1=896112&r2=896113&view=diff
==============================================================================
--- jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientProperty.java (original)
+++ jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientProperty.java Tue Jan  5 16:18:16 2010
@@ -17,9 +17,11 @@
 package org.apache.jackrabbit.rmi.client;
 
 import java.io.InputStream;
+import java.math.BigDecimal;
 import java.rmi.RemoteException;
 import java.util.Calendar;
 
+import javax.jcr.Binary;
 import javax.jcr.ItemNotFoundException;
 import javax.jcr.ItemVisitor;
 import javax.jcr.Node;
@@ -27,6 +29,7 @@
 import javax.jcr.PropertyType;
 import javax.jcr.RepositoryException;
 import javax.jcr.Session;
+import javax.jcr.UnsupportedRepositoryOperationException;
 import javax.jcr.Value;
 import javax.jcr.ValueFormatException;
 import javax.jcr.nodetype.PropertyDefinition;
@@ -334,4 +337,28 @@
         }
     }
 
+    public Binary getBinary() throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public BigDecimal getDecimal() throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public Property getProperty() throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public boolean isMultiple() throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public void setValue(Binary value) throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public void setValue(BigDecimal value) throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
 }

Modified: jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientPropertyDefinition.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientPropertyDefinition.java?rev=896113&r1=896112&r2=896113&view=diff
==============================================================================
--- jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientPropertyDefinition.java (original)
+++ jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientPropertyDefinition.java Tue Jan  5 16:18:16 2010
@@ -85,4 +85,16 @@
         }
     }
 
+    public String[] getAvailableQueryOperators() {
+        throw new RuntimeException("TODO: JCRRMI-26");
+    }
+
+    public boolean isFullTextSearchable() {
+        throw new RuntimeException("TODO: JCRRMI-26");
+    }
+
+    public boolean isQueryOrderable() {
+        throw new RuntimeException("TODO: JCRRMI-26");
+    }
+
 }

Modified: jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientQuery.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientQuery.java?rev=896113&r1=896112&r2=896113&view=diff
==============================================================================
--- jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientQuery.java (original)
+++ jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientQuery.java Tue Jan  5 16:18:16 2010
@@ -21,6 +21,8 @@
 import javax.jcr.RepositoryException;
 import javax.jcr.Session;
 import javax.jcr.Node;
+import javax.jcr.UnsupportedRepositoryOperationException;
+import javax.jcr.Value;
 import javax.jcr.query.Query;
 import javax.jcr.query.QueryResult;
 
@@ -102,4 +104,21 @@
         }
     }
 
+    public void bindValue(String varName, Value value)
+            throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public String[] getBindVariableNames() throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public void setLimit(long limit) {
+        throw new RuntimeException("TODO: JCRRMI-26");
+    }
+
+    public void setOffset(long offset) {
+        throw new RuntimeException("TODO: JCRRMI-26");
+    }
+
 }

Modified: jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientQueryManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientQueryManager.java?rev=896113&r1=896112&r2=896113&view=diff
==============================================================================
--- jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientQueryManager.java (original)
+++ jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientQueryManager.java Tue Jan  5 16:18:16 2010
@@ -23,6 +23,7 @@
 import javax.jcr.Session;
 import javax.jcr.query.Query;
 import javax.jcr.query.QueryManager;
+import javax.jcr.query.qom.QueryObjectModelFactory;
 
 import org.apache.jackrabbit.rmi.remote.RemoteQuery;
 import org.apache.jackrabbit.rmi.remote.RemoteQueryManager;
@@ -89,4 +90,8 @@
         }
     }
 
+    public QueryObjectModelFactory getQOMFactory() {
+        throw new RuntimeException("TODO: JCRRMI-26");
+    }
+
 }

Modified: jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientQueryResult.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientQueryResult.java?rev=896113&r1=896112&r2=896113&view=diff
==============================================================================
--- jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientQueryResult.java (original)
+++ jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientQueryResult.java Tue Jan  5 16:18:16 2010
@@ -21,6 +21,7 @@
 import javax.jcr.NodeIterator;
 import javax.jcr.RepositoryException;
 import javax.jcr.Session;
+import javax.jcr.UnsupportedRepositoryOperationException;
 import javax.jcr.query.QueryResult;
 import javax.jcr.query.RowIterator;
 
@@ -85,4 +86,8 @@
         }
     }
 
+    public String[] getSelectorNames() throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
 }

Modified: jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientRepository.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientRepository.java?rev=896113&r1=896112&r2=896113&view=diff
==============================================================================
--- jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientRepository.java (original)
+++ jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientRepository.java Tue Jan  5 16:18:16 2010
@@ -22,6 +22,7 @@
 import javax.jcr.Repository;
 import javax.jcr.RepositoryException;
 import javax.jcr.Session;
+import javax.jcr.Value;
 
 import org.apache.jackrabbit.rmi.remote.RemoteRepository;
 import org.apache.jackrabbit.rmi.remote.RemoteSession;
@@ -111,4 +112,20 @@
         }
     }
 
+    public Value getDescriptorValue(String key) {
+        throw new RuntimeException("TODO: JCRRMI-26");
+    }
+
+    public Value[] getDescriptorValues(String key) {
+        throw new RuntimeException("TODO: JCRRMI-26");
+    }
+
+    public boolean isSingleValueDescriptor(String key) {
+        throw new RuntimeException("TODO: JCRRMI-26");
+    }
+
+    public boolean isStandardDescriptor(String key) {
+        throw new RuntimeException("TODO: JCRRMI-26");
+    }
+
 }

Modified: jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientRow.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientRow.java?rev=896113&r1=896112&r2=896113&view=diff
==============================================================================
--- jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientRow.java (original)
+++ jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientRow.java Tue Jan  5 16:18:16 2010
@@ -18,7 +18,9 @@
 
 import java.rmi.RemoteException;
 
+import javax.jcr.Node;
 import javax.jcr.RepositoryException;
+import javax.jcr.UnsupportedRepositoryOperationException;
 import javax.jcr.Value;
 import javax.jcr.query.Row;
 
@@ -63,4 +65,29 @@
             throw new RemoteRepositoryException(ex);
         }
     }
+
+    public Node getNode() throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public Node getNode(String selectorName) throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public String getPath() throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public String getPath(String selectorName) throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public double getScore() throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public double getScore(String selectorName) throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
 }

Modified: jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientSession.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientSession.java?rev=896113&r1=896112&r2=896113&view=diff
==============================================================================
--- jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientSession.java (original)
+++ jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientSession.java Tue Jan  5 16:18:16 2010
@@ -27,11 +27,15 @@
 import javax.jcr.Credentials;
 import javax.jcr.Item;
 import javax.jcr.Node;
+import javax.jcr.Property;
 import javax.jcr.Repository;
 import javax.jcr.RepositoryException;
 import javax.jcr.Session;
+import javax.jcr.UnsupportedRepositoryOperationException;
 import javax.jcr.ValueFactory;
 import javax.jcr.Workspace;
+import javax.jcr.retention.RetentionManager;
+import javax.jcr.security.AccessControlManager;
 import javax.xml.transform.Result;
 import javax.xml.transform.Source;
 import javax.xml.transform.Transformer;
@@ -494,4 +498,48 @@
             return false;
         }
     }
+
+    public AccessControlManager getAccessControlManager()
+            throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public Node getNode(String absPath) throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public Node getNodeByIdentifier(String id) throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public Property getProperty(String absPath) throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public RetentionManager getRetentionManager()
+            throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public boolean hasCapability(String methodName, Object target,
+            Object[] arguments) throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public boolean hasPermission(String absPath, String actions)
+            throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public boolean nodeExists(String absPath) throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public boolean propertyExists(String absPath) throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public void removeItem(String absPath) throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
 }

Modified: jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientVersion.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientVersion.java?rev=896113&r1=896112&r2=896113&view=diff
==============================================================================
--- jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientVersion.java (original)
+++ jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientVersion.java Tue Jan  5 16:18:16 2010
@@ -19,8 +19,10 @@
 import java.rmi.RemoteException;
 import java.util.Calendar;
 
+import javax.jcr.Node;
 import javax.jcr.RepositoryException;
 import javax.jcr.Session;
+import javax.jcr.UnsupportedRepositoryOperationException;
 import javax.jcr.version.Version;
 import javax.jcr.version.VersionHistory;
 
@@ -111,4 +113,16 @@
             throw new RemoteRepositoryException(ex);
         }
    }
+
+    public Node getFrozenNode() throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public Version getLinearPredecessor() throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public Version getLinearSuccessor() throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
 }

Modified: jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientVersionHistory.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientVersionHistory.java?rev=896113&r1=896112&r2=896113&view=diff
==============================================================================
--- jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientVersionHistory.java (original)
+++ jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientVersionHistory.java Tue Jan  5 16:18:16 2010
@@ -18,6 +18,7 @@
 
 import java.rmi.RemoteException;
 
+import javax.jcr.NodeIterator;
 import javax.jcr.RepositoryException;
 import javax.jcr.Session;
 import javax.jcr.UnsupportedRepositoryOperationException;
@@ -174,4 +175,20 @@
             throw new RemoteRepositoryException(ex);
         }
     }
+
+    public NodeIterator getAllFrozenNodes() throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public NodeIterator getAllLinearFrozenNodes() throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public VersionIterator getAllLinearVersions() throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public String getVersionableIdentifier() throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
 }

Modified: jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientWorkspace.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientWorkspace.java?rev=896113&r1=896112&r2=896113&view=diff
==============================================================================
--- jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientWorkspace.java (original)
+++ jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/ClientWorkspace.java Tue Jan  5 16:18:16 2010
@@ -26,10 +26,12 @@
 import javax.jcr.Session;
 import javax.jcr.UnsupportedRepositoryOperationException;
 import javax.jcr.Workspace;
+import javax.jcr.lock.LockManager;
 import javax.jcr.nodetype.NodeTypeManager;
 import javax.jcr.observation.ObservationManager;
 import javax.jcr.query.QueryManager;
 import javax.jcr.version.Version;
+import javax.jcr.version.VersionManager;
 
 import org.apache.jackrabbit.commons.xml.DefaultContentHandler;
 import org.apache.jackrabbit.commons.xml.SerializingContentHandler;
@@ -237,4 +239,25 @@
         throw new UnsupportedRepositoryOperationException();
     }
 
+    public void createWorkspace(String name) throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public void createWorkspace(String name, String srcWorkspace)
+            throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public void deleteWorkspace(String name) throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public LockManager getLockManager() throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
+    public VersionManager getVersionManager() throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+    }
+
 }

Modified: jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/SafeClientRepository.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/SafeClientRepository.java?rev=896113&r1=896112&r2=896113&view=diff
==============================================================================
--- jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/SafeClientRepository.java (original)
+++ jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/client/SafeClientRepository.java Tue Jan  5 16:18:16 2010
@@ -22,6 +22,7 @@
 import javax.jcr.Repository;
 import javax.jcr.RepositoryException;
 import javax.jcr.Session;
+import javax.jcr.Value;
 
 import org.apache.jackrabbit.rmi.remote.RemoteRepository;
 import org.apache.jackrabbit.rmi.remote.RemoteSession;
@@ -136,4 +137,20 @@
         return login(null, null);
     }
 
+    public Value getDescriptorValue(String key) {
+        throw new RuntimeException("TODO: JCRRMI-26");
+    }
+
+    public Value[] getDescriptorValues(String key) {
+        throw new RuntimeException("TODO: JCRRMI-26");
+    }
+
+    public boolean isSingleValueDescriptor(String key) {
+        throw new RuntimeException("TODO: JCRRMI-26");
+    }
+
+    public boolean isStandardDescriptor(String key) {
+        throw new RuntimeException("TODO: JCRRMI-26");
+    }
+
 }

Modified: jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/observation/ClientEventPoll.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/observation/ClientEventPoll.java?rev=896113&r1=896112&r2=896113&view=diff
==============================================================================
--- jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/observation/ClientEventPoll.java (original)
+++ jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/observation/ClientEventPoll.java Tue Jan  5 16:18:16 2010
@@ -20,7 +20,9 @@
 import java.util.HashMap;
 import java.util.Map;
 
+import javax.jcr.RepositoryException;
 import javax.jcr.Session;
+import javax.jcr.UnsupportedRepositoryOperationException;
 import javax.jcr.observation.Event;
 import javax.jcr.observation.EventIterator;
 import javax.jcr.observation.EventListener;
@@ -297,5 +299,21 @@
         public String getUserID() {
             return userID;
         }
+
+        public long getDate() throws RepositoryException {
+            throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+        }
+
+        public String getIdentifier() throws RepositoryException {
+            throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+        }
+
+        public Map getInfo() throws RepositoryException {
+            throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+        }
+
+        public String getUserData() throws RepositoryException {
+            throw new UnsupportedRepositoryOperationException("TODO: JCRRMI-26");
+        }
     }
 }

Modified: jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/server/ServerObject.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/server/ServerObject.java?rev=896113&r1=896112&r2=896113&view=diff
==============================================================================
--- jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/server/ServerObject.java (original)
+++ jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/server/ServerObject.java Tue Jan  5 16:18:16 2010
@@ -16,8 +16,11 @@
  */
 package org.apache.jackrabbit.rmi.server;
 
+import java.io.Serializable;
 import java.rmi.RemoteException;
 import java.rmi.server.UnicastRemoteObject;
+import java.util.ArrayList;
+import java.util.List;
 
 import javax.jcr.AccessDeniedException;
 import javax.jcr.InvalidItemStateException;
@@ -35,6 +38,7 @@
 import javax.jcr.ReferentialIntegrityException;
 import javax.jcr.RepositoryException;
 import javax.jcr.UnsupportedRepositoryOperationException;
+import javax.jcr.Value;
 import javax.jcr.ValueFormatException;
 import javax.jcr.lock.LockException;
 import javax.jcr.nodetype.ConstraintViolationException;
@@ -48,6 +52,7 @@
 import org.apache.jackrabbit.rmi.remote.RemoteItem;
 import org.apache.jackrabbit.rmi.remote.RemoteNode;
 import org.apache.jackrabbit.rmi.remote.RemoteNodeType;
+import org.apache.jackrabbit.rmi.value.SerialValueFactory;
 
 /**
  * Base class for remote adapters. The purpose of this class is to
@@ -207,4 +212,47 @@
         }
     }
 
+    /**
+     * Utility method for preparing an array of values for serialization.
+     * The returned array will contain serializable versions of all the
+     * given values.
+     * <p>
+     * If the given array is <code>null</code>, then an empty array is
+     * returned.
+     *
+     * @param values the values to be decorated
+     * @return array of decorated values
+     * @throws RepositoryException if the values can not be serialized
+     */
+    protected Value[] getSerialValues(Value[] values)
+            throws RepositoryException {
+        List<Value> serials = new ArrayList<Value>();
+        if (values != null) {
+            for (Value value : values) {
+                if (value != null) {
+                    serials.add(getSerialValue(value));
+                }
+            }
+        }
+        return serials.toArray(new Value[serials.size()]);
+    }
+
+    /**
+     * Utility method for decorating a value. Note that the contents of the
+     * original values will only be copied when the decorators are serialized.
+     * Null referenced and already serializable values are passed as-is.
+     *
+     * @param value the value to be decorated, or <code>null</code>
+     * @return the decorated value, or <code>null</code>
+     * @throws RepositoryException if the value can not be serialized
+     */
+    protected Value getSerialValue(Value value) throws RepositoryException {
+        // if the value is null or already serializable, just return it
+        if (value == null || value instanceof Serializable) {
+            return value;
+        } else {
+            return SerialValueFactory.makeSerialValue(value);
+        }
+    }
+
 }

Modified: jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/server/ServerProperty.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/server/ServerProperty.java?rev=896113&r1=896112&r2=896113&view=diff
==============================================================================
--- jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/server/ServerProperty.java (original)
+++ jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/server/ServerProperty.java Tue Jan  5 16:18:16 2010
@@ -66,7 +66,7 @@
     /** {@inheritDoc} */
     public Value[] getValues() throws RepositoryException, RemoteException {
         try {
-            return SerialValueFactory.makeSerialValueArray(property.getValues());
+            return getSerialValues(property.getValues());
         } catch (RepositoryException ex) {
             throw getRepositoryException(ex);
         }

Modified: jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/server/ServerPropertyDefinition.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/server/ServerPropertyDefinition.java?rev=896113&r1=896112&r2=896113&view=diff
==============================================================================
--- jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/server/ServerPropertyDefinition.java (original)
+++ jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/server/ServerPropertyDefinition.java Tue Jan  5 16:18:16 2010
@@ -18,6 +18,7 @@
 
 import java.rmi.RemoteException;
 
+import javax.jcr.RepositoryException;
 import javax.jcr.Value;
 import javax.jcr.nodetype.PropertyDefinition;
 
@@ -66,7 +67,11 @@
 
     /** {@inheritDoc} */
     public Value[] getDefaultValues() throws RemoteException {
-        return SerialValueFactory.makeSerialValueArray(def.getDefaultValues());
+        try {
+            return getSerialValues(def.getDefaultValues());
+        } catch (RepositoryException e) {
+            throw new RemoteException("Unable to serialize default values");
+        }
     }
 
     /** {@inheritDoc} */

Modified: jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/server/ServerRow.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/server/ServerRow.java?rev=896113&r1=896112&r2=896113&view=diff
==============================================================================
--- jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/server/ServerRow.java (original)
+++ jackrabbit/commons/jcr-rmi/trunk/src/main/java/org/apache/jackrabbit/rmi/server/ServerRow.java Tue Jan  5 16:18:16 2010
@@ -54,7 +54,7 @@
 
     /** {@inheritDoc} */
     public Value[] getValues() throws RepositoryException, RemoteException {
-        return SerialValueFactory.makeSerialValueArray(row.getValues());
+        return getSerialValues(row.getValues());
     }
 
     /** {@inheritDoc} */



Mime
View raw message