|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
AbstractAccessControlTest
...AbstractJoinTest
provides utility methods for join related
tests.AbstractLockTest
...AbstractMergeTest
is the abstract base class for all merge
related test classes.AbstractObservationTest.setUp()
and AbstractObservationTest.tearDown()
methods for the observation test cases.AbstractOnParentVersionTest
: the abstract base class for
all tests related to OnParentVersion issues.AbstractQOMTest
is a base class for test cases on the JQOM.AbstractAccessControlTest
...AbstractVersionTest
is the abstract base class for all
versioning related test classes.AbstractVersionTest
is the abstract base class for all
simple versioning related test classes.AccessControlDiscoveryTest
...AccessControlEntryTest
...AccessControlPolicyIteratorTest
...AccessControlPolicyTest
...ActivitiesTest
covers methods related to the Activities
feature in Versioning.throwable
is not of type
NotExecutableException
and the test case is not a known issue.
EventListener
for all events.
EventListener
for events of the specified
type(s).
test
is not a known issue.
AddNodeTest
contains the test cases for the method
Node.addNode(String, String)
.AndConstraintTest
contains tests that check AND constraints.Base64
provides Base64 encoding/decoding of strings and streams.BasicTest
checks if simple versioning is correctly set upvalue
to the variable named
var
.
BindVariableValueTest
...NodeType.canAddChildNode(String childNodeName, String nodeTypeName)
returns true if a node of name childNodeName
and of node type
childNodeName
could be added to a node of type NodeType
.NodeType.canAddChildNode(String childNodeName)
returns true if
a node of name childNodeName
could be added to a node of
type NodeType
.NodeType.canRemoveItem(String)
returns true
node or property is removable (same for NodeType.canRemoveNode(String)
and NodeType.canRemoveProperty(String)
).NodeType.canSetProperty(String propertyName, Value
value)
and NodeType.canSetProperty(String propertyName, Value[]
values)
where property is of type Binary.NodeType.canSetProperty(String propertyName, Value
value)
and NodeType.canSetProperty(String propertyName, Value[]
values)
where property is of type Boolean.NodeType.canSetProperty(String propertyName, Value
value)
and NodeType.canSetProperty(String propertyName, Value[]
values)
where property is of type Date.NodeType.canSetProperty(String propertyName, Value
value)
and NodeType.canSetProperty(String propertyName, Value[]
values)
where property is of type Double.NodeType.canSetProperty(String propertyName, Value
value)
and NodeType.canSetProperty(String propertyName, Value[]
values)
where property is of type Long.NodeType.canSetProperty(String propertyName, Value[]
values)
NodeType.canSetProperty(String propertyName, Value
value)
and NodeType.canSetProperty(String propertyName, Value[]
values)
where property is of type Name.NodeType.canSetProperty(String propertyName, Value
value)
and NodeType.canSetProperty(String propertyNa me,
Value[] values)
where property is of type Path.NodeType.canSetProperty(String propertyName, Value
value)
and NodeType.canSetProperty(String propertyName, Value[]
values)
where property is of type String.NodeType.canSetProperty(String propertyName, Value
value)
ImportUUIDBehavior.IMPORT_UUID_CREATE_NEW
i.e.
key
with the
expected
value.
key
with the
expected
value.
CheckinTest
covers tests related to Node.checkin()
.CheckinTest
covers tests related to Node.checkin()
on simple versionable nodes.Events
for paths.
Events
for paths.
Events
for paths.
Events
for paths.
Events
for paths.
CheckoutTest
covers tests related to Node.checkout()
and Node.isCheckedOut()
.SVCheckoutTest
covers tests related to Node.checkout()
and Node.isCheckedOut()
of simple versionable
nodes.Session.checkPermission(String, String)
yields the correct
permissions for a read-only session and a 'superuser' session.Events
for paths.
Events
for paths.
Events
for paths.
nodes
.
nodes
.
result
contains a number of
hits
.
result
contains a number of hits
and properties
.
nodes
.
NotExecutableException
if the repository does
not support the feature identified by the given discriptorKey
.
itr
have a property with name
propertyName
and have the expectedValue
.
ChildNodeJoinConditionTest
contains test cases that cover
ChildNodeJoinCondition
.ChildNodeTest
contains test cases that cover the QOM ChildNode
condition.s
and deletes any nodes
under AbstractJCRTest.testRoot
.
ColumnTest
contains test cases related to QOM column.ConcurrentTestSuite
implements a test suite that runs tests
with a given concurrency level using multiple threads.ConfigurationsTest
covers methods related to the Configurations
feature in Versioning.CopyTest
checks if full versionable nodes are copied correctly:
15.1.4 Copying Versionable Nodes and Version Lineage
Under both simple and full versioning, when an existing versionable node N is
copied to a new location either in the same workspace or another, and the
repository preserves the versionable mixin (see 10.7.4 Dropping Mixins on
Copy):
- A copy of N, call it M, is created, as usual.CopyTest
checks if simple versionable nodes are copied correctly:
15.1.4 Copying Versionable Nodes and Version Lineage
Under both simple and full versioning, when an existing versionable node N is
copied to a new location either in the same workspace or another, and the
repository preserves the versionable mixin (see 10.7.4 Dropping Mixins on
Copy):
- A copy of N, call it M, is created, as usual.Query
for a given Statement
.
Query
for the given statement in the requested
language, treating optional languages gracefully
Query
for the given statement in the requested
language, treating optional languages gracefully
CreateQueryTest
checks if QueryManager.createQuery(String, String)
throws an InvalidQueryException
for an unknown query language.String
with a random sequence of characters
using 'a' - 'z'.
name
.
DeepLockTest
...DescendantNodeJoinConditionTest
contains test cases that cover
DescendantNodeJoinCondition
.DescendantNodeTest
contains test cases related to QOM
DescendantNode constraints.LockException
is thrown when merge is called on a
locked node.
LockException
is thrown when merge is called on a
locked node.
DocumentViewImportTest
Tests importXML and
getImportContentHandler methods of the Workspace and Session class.OutputStream
.
OutputStream
.
OutputStream
.
name
as specified in ISO 9075.
path
as specified in ISO 9075.
NotExecutableException
.
NotExecutableException
.
NotExecutableException
.
NotExecutableException
node
is of the given mixin type.
NotExecutableException
.
EquiJoinConditionTest
contains test cases that cover
EquiJoinCondition
.string
using the
escape
character.
string
using the
escape
character.
string
.
path
.
QueryResult
is ordered according order property in
direction of related argument.
RangeIterator.getSize()
RangeIterator.getPosition()
RangeIterator.skip(long)
EventJournalTest
performs EventJournal tests.Event
retrieval with an
EventListener
.EventResult
.
Event
interface.Query
for the given Statement
Query
for a given Statement in a given
query language
sql
query and checks the results against
the specified nodes
.
xpath
query and checks the results against
the specified nodes
.
ExportDocViewTest
tests the two Session methods :
Session.exportDocumentView(String, ContentHandler, boolean, boolean)
and Session.exportDocumentView(String, java.io.OutputStream, boolean, boolean)
against the required behaviours according the document view xml mapping
defined in the JSR 170 specification in chapter 6.4.2, 6.4.3 and 6.4.4 .ExportSysViewTest
tests the SysView Export of a tree given by a
node path.Calendar
value into an ISO8601-compliant
date/time string.
callable
first with the qom
and
then a JCR_SQL2 query created from Query.getStatement()
.
CheckinTest
covers tests related to Node.checkin()
.SVFrozenNodeTest
covers tests related to frozen nodes in
simple versioningFullTextSearchScoreTest
contains fulltext search score tests.GetContainingHistoryTest
provides test methods covering Version.getContainingHistory()
.GetCreatedTest
provides test methods covering Version.getCreated()
.GetDateTest
checks if the dates returned by events are
monotonically increasing.path
.
eventTypes
and
calls the callable.
IdentifierTest
checks if the identifier of an event is correct.GetInfoTest
checks that the info map is empty for event types:
Event.NODE_ADDED
, Event.NODE_REMOVED
,
Event.PROPERTY_ADDED
, Event.PROPERTY_CHANGED
and
Event.PROPERTY_REMOVED
.RepositryStub
implementation.
Principal
identifiying a known user.
Principal
identifiying a known user (not group)
Query.getLanguage()
.name
.
qname
.
delim
.
Text.getName(String)
but adding the possibility
to pass paths that end with a trailing '/'
qname
.
session
.
node
or an empty string if
node
is null
.
Query.getStoredQueryPath()
.Query.getStoredQueryPath()
.GetPredecessorsTest
provides test methods covering Version.getPredecessors()
, Version.getLinearPredecessor()
and
Version.getLinearSuccessor()
.propName
.
name
.
name
.
name
.
null
).
null
).
null
).
null
).
null
).
null
).
null
).
Boolean.FALSE
.
null
).
null
).
PropertyType.BINARY
.
PropertyType.BOOLEAN
.
PropertyType.DATE
.
PropertyType.DOUBLE
.
PropertyType.LONG
.
PropertyType.NAME
.
PropertyType.PATH
.
PropertyType.REFERENCE
.
PropertyType.STRING
.
GetQueryTest
contains test cases that check
QueryManager.getQuery(Node)
.Credentials
object, that can be used to login
to the Repository
returned by RepositoryStub.getRepository()
.
Session
of the default workspace with read only
access to the workspace.
Session
of the workspace with name
workspaceName
with read only access to the workspace.
Credentials
object, that can be used to login
to the Repository
returned by RepositoryStub.getRepository()
.
Session
of the default workspace with read and
write access to the workspace.
Session
of the workspace with name
workspaceName
with read and write access to the workspace.
GetReferencesNodeTest
contains test to check if references are
returned from versions.ObservationManager.getRegisteredEventListeners()
.Text.getRelativeParent(String, int)
but adding the possibility
to pass paths that end with a trailing '/'
Repository
provided by this
RepositoryStub
.
Repository
provided by this
RepositoryStub
.
RangeIterator
it
.
Query.getStatement()
.Credentials
object, that can be used to login
to the Repository
returned by RepositoryStub.getRepository()
.
Session
of the default workspace.
Session
of the workspace with name
workspaceName
.
QueryManager.getSupportedQueryLanguages()
.Principal
identifiying an unknown user.
Principal
identifiying an unknown user.
GetUserDataTest
performs observation tests with user data set
on the observation manager.PropertyDefinition
GetVersionableUUIDTest
provides test methods covering VersionHistory.getVersionableUUID()
and VersionHistory.getVersionableIdentifier()
.GetWeakReferencesTest
checks implementation of
Node.getWeakReferences()
and Node.getWeakReferences(String)
.Session.hasPermission(String, String)
yields the
correct permissions for a read-only, a read-write and an admin session.HoldEffectTest
...RetentionManagerTest
...Session.impersonate(Credentials)
to a read-only session
respects access controls.descendant
path is hierarchical a
descendant of path
.
descendant
path is hierarchical a
descendant of path
or equal to it.
ISO8601
utility class provides helper methods
to deal with date/time formatting using a specific ISO8601-compliant
format (see ISO 8601).c
is not valid at a certain position in an XML 1.0
NCName it is encoded in the form: '_x' + hexValueOf(c) + '_'.true
if this repository support a certain optional
feature; otherwise false
is returned.
orig
.
RepositoryStub
and uses JNDI
to obtain a javax.jcr.Repository
instance.LengthTest
performs tests with the Query Object Model length
operand.LockManagerTest
...LockTest
contains the test cases for the lock support in
the JCR specification.Writer
or a Logger
.LogPrintWriter
which is based on a
Writer
.
LogPrintWriter
which is based on a
Logger
.
MergeActivityTest
contains tests dealing with merging activitiesMergeCancelMergeTest
contains tests dealing with nodes on which
cancelMerge is called.MergeCheckedoutSubNodeTest
contains tests dealing with
checked-out nodes in the subtree of the node on which merge is called.MergeDoneMergeTest
contains test dealing with nodes on which
doneMerge is called.MergeNodeIteratorTest
tests if Node.merge(String, boolean) if
bestEffort is true returns a NodeIterator over all versionalbe nodes in the
subtree that received a merge result of fail.MergeNodeTest
contains tests dealing with general merge node
calls.MergeNonVersionableSubNodeTest
contains test dealing with
nonversionable nodes in the subtree of the node on which merge is called.MergeShallowTest
contains tests dealing with general shallow
merge calls.MergeSubNodeTest
contains tests dealing with sub nodes in the
subtree of the node on which merge is called.NamespaceRegistryReadMethodsTest
This class tests read method of the
NamespaceRegistry class and also the correct Exception throwing for methods
not supported in level 1.NamespaceRegistryTest
tests whether the repository registers and
unregisters namespaces correctly.Session
.NameTest
...Event.NODE_ADDED
events.NodeAddMixinTest
contains the test cases for the method
Node.AddMixin(String)
.NodeCanAddMixinTest
contains the test cases for the method
Node.canAddMixin(String)
.Item.isModified()
on a node.Item.isNew()
on a node.NodeIterator
implementation.NodeLocalNameTest
checks if conversion of literals is correctly
performed and operators work as specified.Session.move(java.lang.String, java.lang.String)
operations trigger the appropriate
observation events.NodeNameTest
checks if conversion of literals is correctly
performed and operators work as specified.NodeOrderableChildNodesTest
contains all node writing tests (LEVEL 2) that require a node
that allows child node ordering (tests therefore are optional).Node
interface on
a level 1 repository.Event.NODE_REMOVED
events.NodeRemoveMixinTest
contains the test cases for the method
Node.removeMixin(String)
.Node.orderBefore(String, String)
operations trigger
the appropriate observation events.SetPrimaryType
...NodeTest
contains all test cases for the
javax.jcr.Node
that are related to writing, modifing or deleting
nodes (level 2 of the specification).NodeTypeManager
.NodeTypeManager
properly returns primary types an mixin
types.NodeType
.NodeUUIDTest
contains all tests for the
javax.jcr.Node
class that require a UUID (and therefore are
optional).NotConstraintTest
contains tests that check NOT constraints.NotExecutableException
without a message.
NotExecutableException
with a detailed message.
ObservationManager
OnParentVersionAbortTest
tests the OnParentVersion ABORT
behaviour.OnParentVersionComputeTest
tests the OnParentVersion COMPUTE
behaviour.OnParentVersionCopyTest
tests the OnParentVersion COPY
behaviour.OnParentVersionIgnoreTest
tests the OnParentVersion IGNORE
behaviour.OnParentVersionInitializeTest
tests the INITIALIZE
behaviour.OpenScopedLockTest
...OrConstraintTest
contains tests that check OR constraints.OrderByDecimalTest
tests order by queries with decimal properties.OrderByLengthTest
contains test cases for order by queries on
property lengths.OrderByLocalNameTest
contains test cases for order by queries
on local node names.OrderByLowerCaseTest
contains test cases for order by queries
on lower cased property values.OrderByNameTest
contains test cases for order by queries on node
names.OrderByUpperCaseTest
contains test cases for order by queries
on upper cased property values.OrderByURITest
tests order by queries with URI properties.OrderingTest
contains test cases that checkPathTest
...PredefinedNodeTypeTest
tests if the predefined node types are
implemented correctly.Event.PROPERTY_ADDED
events.Event.PROPERTY_CHANGED
events.PropertyExistenceTest
performs a test with
PropertyExistence
.Item.isModified()
on a property.Item.isNew()
on a property.PropertyReadMethodsTest
...Event.PROPERTY_REMOVED
events.PropertyTest
contains all test cases for the
javax.jcr.Property
that are related to writing, modifing or
deleting properties (level 2 of the specification).PropertyValueTest
performs a test with property value
comparision.AbstractJCRTest.superuser
.
AbstractJCRTest.superuser
QueryObjectModelFactoryTest
tests all methods on the
QueryObjectModelFactory
.NodeIterator
returned by
QueryResult.getNodes()
.ReferenceableRootNodesTest
contains tests with referenceable
nodes between different workspaces.ReferencesTest
contains the test cases for the references.EventListener
from the ObservationManager.
RemoveVersionTest
provides test methods covering VersionHistory.removeVersion(String)
.oldString
in text
with newString
.
RepositoryFactoryTest
checks if there is a repository factory
implementation and that is works according to the spec.Session
instances.repositoryStubImpl.properties
file.
RepositoryHelperPool
defines a pool of repository helper instances.RepositoryHelperPoolImpl
implements a pool of repository helper
instances.RepositoryLoginTest
tests the login methods of a repository.RepositoryStub
is the entry point to the JCR Repository
for the TCK Test harness.RestoreTest
covers tests related to the restore methods available
on Node
:
Node.restore(String, boolean)
Node.restore(javax.jcr.version.Version, boolean)
Node.restore(javax.jcr.version.Version, String, boolean)
RestoreTest
covers tests related to the restore methods available
on Node
in simple versioning:
Node.restore(String, boolean)
Node.restore(Version, boolean)
Node.restore(Version, String, boolean)
RetentionPolicyEffectTest
...RetentionPolicyTest
...RowIteratorTest
contains test cases for Row
.RSessionAccessControlDiscoveryTest
: A read-only session must
be able to call 'hasPrivilege' and 'getPrivileges' and 'getSupportedPrivileges'
without access denied exceptionAccessControlPolicyTest
...RSessionAccessControlTest
...testResult
.
SameNodeJoinConditionTest
contains test cases that cover
SameNodeJoinCondition
.SameNodeTest
...Query.storeAsNode(String)
.SelectorTest
...SerializationTest
contains the test cases for the method
Workspace.exportSysView()
and Session.importSysView()
.SessionMoveVersionExceptionTest
contains tests dealing with
moving nodes using Session.move(String, String)
.SessionReadMethodsTest
...SessionRemoveItemTest
...SessionScopedLockTest
...SessionTest
contains all test cases for the
javax.jcr.Session
class that are level 2 (modifing repository
content).SessionUUIDTest
contains all tests for the Session
class that require a UUID (and therefore are optional).SetLimitTest
contains test cases for the method Query.setLimit().Logger
.
SetOffsetTest
contains test cases for the method Query.setOffset().SetPropertyAssumeTypeTest
tests if when setting a property
of type PropertyType.UNDEFINED
the type is assumed correctly.SetPropertyBooleanTest
tests the Node.setProperty(String,
boolean)
methodSetPropertyCalendarTest
tests the Node.setProperty(String,
Calendar)
methodSetPropertyConstraintViolationExceptionTest
tests if
setProperty() throws a ConstraintViolationException either immediately (by
setValue()) or on save, if the change would violate a value constraint.SetPropertyDecmimalTest
tests the Node.setProperty(String,
BigDecimal)
methodSetPropertyDoubleTest
tests the Node.setProperty(String,
double)
methodSetPropertyInputStreamTest
tests the Node.setProperty(String,
InputStream)
methodSetPropertyLongTest
tests the Node.setProperty(String,
long)
methodSetPropertyNodeTest
tests the Node.setProperty(String,
Node)
methodSetPropertyStringTest
tests the methods
Node.setProperty(String, String)
, Node.setProperty(String,
String[])
and Node.setProperty(String, String[], int)
SetPropertyValueTest
tests the methods Node.setProperty(String,
Value)
, Node.setProperty(String, Value[])
and
Node.setProperty(String, Value[], int)
AbstractJCRTest.nodeName1
and AbstractJCRTest.nodeName2
with nodetype AbstractJCRTest.testNodeType
.
AbstractJCRTest.nodeName1
, AbstractJCRTest.nodeName2
and AbstractJCRTest.nodeName3
.
AbstractJCRTest.nodeName1
, AbstractJCRTest.nodeName2
and AbstractJCRTest.nodeName3
.
Property.setValue(Value)
methods.Property.setValue(Value)
methods.SetValueConstraintViolationExceptionTest
tests if setValue()
throws a ConstraintViolationException either immediately (by setValue()) or
on save, if the change would violate a value constraint.Property.setValue(Value)
methods.Property.setValue(Value)
methods.Property.setValue(Value)
methods.SetValueLockExceptionTest
Tests throwing of a LockException for the
Property.setValue() methods in case the parentNode of the given property is locked.Property.setValue(Value)
methods.Property.setValue(Value)
methods.Property.setValue(Value)
methods.SetValueValueFormatExceptionTest
tests if Property.setValue() throws
a ValueFormatException if a best-effort conversion fails.SetValueVersionExceptionTest
...Writer
.
SimpleSelectionTest
...AbstractJCRTest.propertyName1
.StringPropertyTest
tests a String property against the
conversions to other Properties (except Name and Path property).Test
suite that executes all tests inside this
package.
Test
suite that executes all tests inside this
package.
Test
suite that executes all tests inside this
package.
Test
suite that executes all tests inside this
package.
Test
suite that executes all tests inside this
package.
Test
suite that executes all tests inside this
package.
Test
suite that executes all tests inside this
package.
Test
suite that executes all tests inside this
package.
Test
suite that executes all tests inside this
package.
NamespaceRegistryReadMethodsTest.setUp()
.
NodeDiscoveringNodeTypesTest.setUp()
.
NodeReadMethodsTest.setUp()
.
CanAddChildNodeCallWithNodeTypeTest.setUp()
.
CanAddChildNodeCallWithoutNodeTypeTest.setUp()
.
CanRemoveItemTest.setUp()
.
CanSetPropertyBinaryTest.setUp()
.
CanSetPropertyBooleanTest.setUp()
.
CanSetPropertyDateTest.setUp()
.
CanSetPropertyDoubleTest.setUp()
.
CanSetPropertyLongTest.setUp()
.
CanSetPropertyMultipleTest.setUp()
.
CanSetPropertyNameTest.setUp()
.
CanSetPropertyPathTest.setUp()
.
CanSetPropertyStringTest.setUp()
.
CanSetPropertyTest.setUp()
.
NodeDefTest.setUp()
.
NodeTypeCreationTest.setUp()
.
NodeTypeManagerTest.setUp()
.
NodeTypeTest.setUp()
.
PredefinedNodeTypeTest.setUp()
.
PropertyDefTest.setUp()
.
PropertyReadMethodsTest.setUp()
.
ReferenceableRootNodesTest.setUp()
.
RepositoryDescriptorTest.setUp()
.
RootNodeTest.setUp()
.
SessionReadMethodsTest.setUp()
.
SetValueVersionExceptionTest.setUp()
.
ItemVisitor
.
VersionHistory.accept(ItemVisitor)
accepts a
ItemVisitor and if the right Node is provided to that visitor.
Version.accept(ItemVisitor)
accepts a ItemVisitor
and if the right Node is provided to that visitor.
VersionHistory.addMixin(String)
throws a ConstraintViolationException
Version.addMixin(String)
throws a ConstraintViolationException
VersionHistory.addNode(String)
and
VersionHistory.addNode(String, String)
throw a ConstraintViolationException
Version.addNode(String)
and
Version.addNode(String, String)
throw a ConstraintViolationException
Node.addNode(String)
as a
child of a property.
Node.addNode(String)
where
node type can not be determined by parent (nt:base
is used
as parent nodetype).
Node.addNode(String,
String)
at a location where there is already a node with same name and
the parent does not allow same name siblings.
Node.addNode(String,String)
, saves using
Item.save()
on parent node.
Node.addNode(String)
, saves using
Item.save()
on parent node.
Node.addNode(String)
to a non
existing destination node.
Node.addNode(String)
with an
index for the new name.
Node.addNode(String, String)
, then tries
to call Item.save()
on the new node.
Node.addNode(String)
, then tries to call
Item.save()
on the newly node.
Node.addNode(String, String)
, saves using
Session.save()
.
Node.addNode(String)
, saves using
Session.save()
.
Node.addMixin(String mixinName)
throws a
NoSuchNodeTypeException
if mixinName
is not the
name of an existing mixin node type
Node.setPrimaryType(String)
throws a
NoSuchNodeTypeException
if the
name of an existing node type is passed.
Node.addMixin(String mixinName)
adds the requested
mixin and stores it in property jcr:mixinTypes
Session.hasPermission(String, String)
returns
true
for all actions.
javax.jcr.lock
.javax.jcr.nodetype
.TestAll
includes tests that are related to the
QueryObjectModel
.javax.jcr.query
.javax.jcr
.javax.jcr.util
.TestAll
...javax.jcr.version
.QueryObjectModelFactory.and(Constraint, Constraint)
QueryObjectModelFactory.bindVariable(String)
NodeType.canAddChildNode(String childNodeName, String nodeTypeName)
returns false if nodeTypeName
represents an abstract node type.
VersionHistory.canAddMixin(String)
returns
false
Version.canAddMixin(String)
returns
false
NodeType.canAddChildNode(String childNodeName, String nodeTypeName)
returns false if nodeTypeName
represents a mixin.
VersionHistory.cancelMerge(Version)
throws an
UnsupportedRepositoryOperationException
Version.cancelMerge(Version)
throws an UnsupportedRepositoryOperationException
VersionHistory.cancelMerge(Version)
throws an
UnsupportedRepositoryOperationException
Version.cancelMerge(Version)
throws an UnsupportedRepositoryOperationException
Node.addMixin(String mixinName)
throws a
VersionException
if Node
is checked-in.
Node.canAddMixin(String mixinName)
throws a
VersionException
if Node
is checked-in
Node.removeMixin(String mixinName)
throws a
VersionException
if Node
is checked-in
Node.setPrimaryType(String)
throws a
VersionException
if Node
is checked-in.
VersionHistory.checkin()
throws an UnsupportedRepositoryOperationException
Version.checkin()
throws an UnsupportedRepositoryOperationException
VersionHistory.checkin()
throws an UnsupportedRepositoryOperationException
Version.checkin()
throws an UnsupportedRepositoryOperationException
VersionHistory.checkout()
throws an UnsupportedRepositoryOperationException
Version.checkout()
throws an UnsupportedRepositoryOperationException
VersionHistory.checkout()
throws an UnsupportedRepositoryOperationException
Version.checkout()
throws an UnsupportedRepositoryOperationException
Session.checkPermission(String, String)
works
properly: Returns quietly if access is permitted.
Throws an AccessControlException
if access is
denied.
QueryObjectModelFactory.childNode(String, String)
QueryObjectModelFactory.childNodeJoinCondition(String, String)
QueryObjectModelFactory.childNode(String, String)
QueryObjectModelFactory.column(String, String, String)
QueryObjectModelFactory.column(String, String, String)
QueryObjectModelFactory.column(String, String, String)
QueryObjectModelFactory.column(String, String, String)
Node.setProperty(String, Value[])
correctly compacts
the value array by removing all null values
QueryObjectModelFactory.comparison(DynamicOperand, String, StaticOperand)
ConstraintViolationException
is
thrown if a query is stored under a node which does not allow child nodes.
Workspace.copy(String, String)
triggers
the correct events.
Workspace.createWorkspace(String)
and
Workspace.createWorkspace(String, String)
.
NodeType.canAddChildNode(String childNodeName, String nodeTypeName)
returns false if childNodeName
does and nodeTypeName
does not match the NodeDef
.
NodeType.canAddChildNode(String childNodeName, String nodeTypeName)
returns true if childNodeName
and nodeTypeName
match the NodeDef
.
NodeType.canAddChildNode(String childNodeName)
returns
true if NodeType
contains a NodeDef
named
childNodeName
with a default primary type.
NodeType.canAddChildNode(String childNodeName)
returns
true if NodeType
contains a NodeDef
named
childNodeName
without a default primary type.
Workspace.deleteWorkspace(String)
.
QueryObjectModelFactory.descendantNode(String, String)
QueryObjectModelFactory.descendantNodeJoinCondition(String, String)
QueryObjectModelFactory.descendantNode(String, String)
testroot
.
first()
function.
last()
function.
position()
function.
VersionHistory.doneMerge(Version)
throws an UnsupportedRepositoryOperationException
Version.doneMerge(Version)
throws an UnsupportedRepositoryOperationException
VersionHistory.doneMerge(Version)
throws an UnsupportedRepositoryOperationException
Version.doneMerge(Version)
throws an UnsupportedRepositoryOperationException
QueryObjectModelFactory.equiJoinCondition(String, String, String, String)
QueryObjectModelFactory.fullTextSearch(String, String, StaticOperand)
QueryObjectModelFactory.fullTextSearch(String, String, StaticOperand)
QueryObjectModelFactory.fullTextSearchScore(String)
QueryObjectModelFactory.fullTextSearchScore(String)
QueryObjectModelFactory.fullTextSearch(String, String, StaticOperand)
VersionHistory.getAllFrozenNodes()
returns an iterator
containing the frozen nodes of all versions that have been created by
VersionManager.checkpoint(String)
.
VersionHistory.getAllVersions()
returns an iterator
containing the root version and all versions that have been created by
Node.checkin().
VersionHistory.getAllVersions()
returns an iterator
containing the root version and all versions that have been created by
Node.checkin().
VersionHistory.getAncestor(int)
returns the right
ancestor
Version.getAncestor(int)
returns the right
ancestor
Node
, throws an ItemNotFoundException
.
Property
, throws an ItemNotFoundException
.
Item
, returns this Property
itself.
ItemNotFoundException
.
ItemNotFoundException
.
Item
, returns this Node
itself.
VersionHistory.getBaseVersion()
throws an UnsupportedRepositoryOperationException
Version.getBaseVersion()
throws an UnsupportedRepositoryOperationException
VersionHistory.getBaseVersion()
throws an UnsupportedRepositoryOperationException
Version.getBaseVersion()
throws an UnsupportedRepositoryOperationException
Version.getContainingHistory()
returns
the correct VersionHistory instance.
Node.getCorrespondingNodePath(String)
works properly.
VersionHistory.getCorrespondingNodePath(String)
returns the right path
Version.getCorrespondingNodePath(String)
returns
the right path
Node.getCorrespondingNodePath(String)
on a node
that has no corresponding node in second workspace
Node.getCorrespondingNodePath(String )
with a non
existing workspace.
VersionHistory.getDepth()
returns the right depth
Version.getDepth()
returns the right depth
Repository.getDescriptorKeys()
returns all required
descriptors keys.
Repository.getDescriptorValues(String)
returns an
Value[] of size 1 for single valued descriptors.
VersionHistory.getIdentifier()
returns the right UUID
VersionHistory.getIndex()
returns the right index
Version.getIndex()
returns the right index
Query.XPATH
when calling
Query.getLanguage()
.
VersionHistory.getLock()
throws an LockException
Version.getLock()
throws a LockException
VersionHistory.getLock()
throws an LockException
Version.getLock()
throws a LockException
Workspace.getLockManager()
.
Lock.getLockToken()
must
always return null
for session scoped locks.
VersionHistory.getMixinNodeTypes()
does not return
null.
Version.getMixinNodeTypes()
does not return null.
VersionHistory.getName()
returns the right name
Version.getName()
returns the right name
NamespaceRegistry.getPrefixes()
returns the
required namespace prefixes and if they are mapped to the correct URIs.
Session.getNamespacePrefixes()
returns
all prefixes currently set for this session, including all those
registered in the NamespaceRegistry but not over-ridden by a
Session.setNamespacePrefix, plus those currently set locally by
Session.setNamespacePrefix.
NamespaceRegistry.getURIs()
returns the
required namespace URIs and if they are mapped to the correct prefixes.
VersionHistory.getNode(String)
returns the right
child Node
Version.getNode(String)
returns the right child
Node
VersionHistory.getNodes()
and
VersionHistory.getNodes(String)
returns the right child
Node
Version.getNodes()
and Version.getNodes(String)
returns the right child Node
VersionHistory.getParent()
returns the right parent
Node
Version.getParent()
returns the right parent Node
VersionHistory.getPath()
returns the right path
Version.getPath()
returns the right path
Query.getStoredQueryPath()
returns the correct path
where the query had been saved.
RangeIterator.getPosition()
return correct values.
NodeIterator.getPosition()
.
NodeIterator.getPosition()
on an empty
NodeIterator
.
NamespaceException
is thrown when
NamespaceRegistry.getPrefix(String)
is called for an
unknown URI.
VersionHistory.getPrimaryItem()
throws a ItemNotFoundException
Version.getPrimaryItem()
throws a ItemNotFoundException
VersionHistory.getPrimaryNodeType()
returns the
right primary node type nt:versionHistory
Version.getPrimaryNodeType()
returns the right
primary node type nt:version
VersionHistory.getProperties()
and
VersionHistory.getProperties(String)
return the right
property
Version.getProperties()
and
Version.getProperties(String)
return the right property
VersionHistory.getProperty(String)
returns the
right property
Version.getProperty(String)
returns the right
property
VersionHistory.getReferences()
returns the right
reference of the versionable node
Lock.getSecondsRemaining()
Lock.getSecondsRemaining()
VersionHistory.getSession()
returns the right
session
Version.getSession()
returns the right session
RangeIterator.getSize()
returns the correct
size.
RangeIterator.getSize()
returns the correct
size.
Query.getStatement()
is equal
to the one passed in createQuery().
ItemNotFoundException
when Query.getStoredQueryPath()
is called.
Query.JCR_SQL2
with
QueryManager.getSupportedQueryLanguages()
.
NamespaceException
is thrown when
NamespaceRegistry.getURI(String)
is called for an
unknown prefix.
Event.getUserID()
returns the same
value as Session.getUserID()
.
VersionHistory.getUUID()
returns the right UUID
Version.getUUID()
returns the right UUID
Property.getValues()
returns an array that is a copy
of the stored values, so changes to it are not reflected in internal storage.
VersionHistory.getVersionHistory()
throws an UnsupportedRepositoryOperationException
Version.getVersionHistory()
throws an UnsupportedRepositoryOperationException
VersionHistory.getVersionHistory()
throws an UnsupportedRepositoryOperationException
Version.getVersionHistory()
throws an UnsupportedRepositoryOperationException
Session.hasCapability(String, Object, Object[])
works as specified.
VersionHistory.hasNode(String)
returns the right
boolean
value
Version.hasNode(String)
returns the right
boolean
value
VersionHistory.hasNodes()
returns
true
Version.hasNodes()
returns true
Session.hasPendingChanges()
works
properly.
VersionHistory.hasProperties()
returns
true
Version.hasProperties()
returns true
VersionHistory.hasProperty(String)
returns the
right boolean
value
Version.hasProperty(String)
returns the right
boolean
value
VersionHistory.holdsLock()
returns
false
Version.holdsLock()
returns false
VersionHistory.holdsLock()
returns
false
Version.holdsLock()
returns false
nt:base
Session.impersonate(Credentials)
works properly
VersionHistory.getAllLinearVersions()
contains both the root and the base version upon creation of the version history.
VersionHistory.getAllVersions()
contains the root version upon creation of the version history.
VersionHistory.isCheckedOut()
returns
true
Version.isCheckedOut()
returns true
VersionHistory.isCheckedOut()
returns
true
Version.isCheckedOut()
returns true
Lock.isDeep()
.
Event.NODE_ADDED
is created only
for the specified path if isDeep
is false
.
Event.PROPERTY_ADDED
is created only
for the specified path if isDeep
is false
.
Lock.isLive()
.
Session
is usable by
the client and false if it is not usable
VersionHistory.isLocked()
returns
false
Version.isLocked()
returns false
VersionHistory.isLocked()
returns
false
Version.isLocked()
returns false
Lock.isLockOwningSession()
Item.isModified()
works correcty for unmodified and
modified nodes.
VersionHistory.isModified()
returns
false
Version.isModified()
returns false
Item.isNew()
works correctly for new and existing,
unmodified nodes.
VersionHistory.isNew()
returns false
Version.isNew()
returns false
VersionHistory.isNode()
returns true
Version.isNode()
returns true
VersionHistory.isNodeType(String)
returns the right
boolean
value
Version.isNodeType(String)
returns the right
boolean
value
true
for shareable nodes
in the same shared set (6.13.21)
VersionHistory.isSame()
returns the right
boolean
value
Version.isSame()
returns the right
boolean
value
Version.isSame()
returns the right
boolean
value
Item.isSame(Item otherItem)
will return true when
two Node
objects representing the same actual repository
item have been retrieved through two different sessions and one has been
modified.
Item.isSame(Item otherItem)
will return true when
two Property
objects representing the same actual repository
item have been retrieved through two different sessions and one has been
modified.
Lock.isSessionScoped()
ItemExistsException
is thrown when a query
is stored on an existing node and same name siblings are not allowed.
Query.JCR_JQOM
when calling
Query.getLanguage()
.
Query.JCR_SQL2
when calling
Query.getLanguage()
.
QueryObjectModelFactory.join(Source, Source, String, JoinCondition)
QueryObjectModelFactory.length(PropertyValue)
QueryObjectModelFactory.literal(Value)
VersionHistory.lock(boolean, boolean)
throws a
LockException
Version.lock(boolean, boolean)
throws a LockException
Node.addMixin(String mixinName)
throws a
LockException
if Node
is locked
Node.canAddMixin(String mixinName)
throws a
LockException
if Node
is locked
Node.removeMixin(String mixinName)
throws a
LockException
if Node
is locked.
Node.setPrimaryType(String)
throws a
LockException
if Node
is locked.
LockException
is thrown if a query is
stored under a node locked by another Session
.
Lock.getNode()
.
VersionHistory.lock(boolean, boolean)
throws a
LockException
Version.lock(boolean, boolean)
throws a LockException
QueryObjectModelFactory.lowerCase(DynamicOperand)
NodeType.canRemoveItem(String)
and
NodeType.canRemoveNode(String)
return
false if the specified node is a mandatory child node.
NodeType.canRemoveItem(String)
and
NodeType.canRemoveProperty(String)
return false
if the specified property is a mandatory property.
VersionHistory.merge(String)
throws an
ConstraintViolationException
Version.merge(String)
throws an
ConstraintViolationException
Node.setProperty(String,
boolean)
works with parentNode.save()
Node.setProperty(String,
boolean)
works with Session.save()
Node.setProperty(String,
Calendar)
works with parentNode.save()
Node.setProperty(String,
Calendar)
works with Session.save()
Node.setProperty(String,
BigDecimal)
works with Session.save()
Node.setProperty(String,
double)
works with parentNode.save()
Node.setProperty(String,
double)
works with Session.save()
Node.setProperty(String,
InputStream)
works with parentNode.save()
Node.setProperty(String,
InputStream)
works with Session.save()
Node.setProperty(String,
long)
works with parentNode.save()
Node.setProperty(String,
long)
works with Session.save()
Node.setProperty(String,
Node)
works with parentNode.save()
Node.setProperty(String,
Node)
works with Session.save()
Node.setProperty(String,
String[])
works with parentNode.save()
Node.setProperty(String,
String[], int)
works with parentNode.save()
Node.setProperty(String,
String[])
works with Session.save()
Node.setProperty(String,
String[], int)
works with Session.save()
Node.setProperty(String,
String)
works with parentNode.save()
Node.setProperty(String,
String, int)
works with parentNode.save()
Node.setProperty(String,
String)
works with Session.save()
Node.setProperty(String,
String, int)
works with Session.save()
Node.setProperty(String,
Value[])
works with parentNode.save()
Node.setProperty(String,
Value[], int)
works with parentNode.save()
Node.setProperty(String,
Value[])
works with Session.save()
Node.setProperty(String,
Value[], int)
works with Session.save()
Node.setProperty(String,
Value)
works with parentNode.save()
Node.setProperty(String,
Value, int)
works with parentNode.save()
Node.setProperty(String,
Value)
works with Session.save()
Node.setProperty(String,
Value, int)
works with Session.save()
Workspace.move(String, String)
triggers the
correct events.
Session.move(String src, String dest)
,
afterwards it tries to only save the destination parent
node.
Session.move(String src, String dest)
,
afterwards it tries to only save the old parent node.
Session.move(String src, String dest)
to a location where a node already exists with
same name.
Session.move(String src, String dest)
where
the parent node of src is locked.
Session.move(String src, String dest)
works properly.
Session.move(String src, String dest)
with invalid destination path.
Session.move(String src, String dest)
with
invalid source path.
Session.move(String src, String dest)
with a destination path that has an index postfixed.
Event.NODE_REMOVED
events are
triggered when multiple nodes are removed.
Event.NODE_ADDED
is triggered
for multiple nodes on the same level.
Event.NODE_ADDED
is triggered
when nodes are created on multiple levels.
Event.PROPERTY_ADDED
is triggered
when multiple properties are added.
Event.PROPERTY_CHANGED
are
triggered when multiple properties are changed.
Event.PROPERTY_REMOVED
are
triggered when multiple properties are removed.
Node.setProperty(String,
boolean)
works with parentNode.save()
Node.setProperty(String,
boolean)
works with Session.save()
Node.setProperty(String,
Calendar)
works with parentNode.save()
Node.setProperty(String,
Calendar)
works with Session.save()
Node.setProperty(String,
BigDecimal)
works with Session.save()
Node.setProperty(String,
double)
works with parentNode.save()
Node.setProperty(String,
double)
works with Session.save()
Node.setProperty(String,
InputStream)
works with parentNode.save()
Node.setProperty(String,
InputStream)
works with Session.save()
Node.setProperty(String,
long)
works with parentNode.save()
Node.setProperty(String,
long)
works with Session.save()
Node.setProperty(String,
Node)
works with parentNode.save()
Node.setProperty(String,
Node)
works with Session.save()
Node.setProperty(String,
String[])
works with parentNode.save()
Node.setProperty(String, String[],
int)
works with parentNode.save()
Node.setProperty(String,
String[])
works with Session.save()
Node.setProperty(String, String[],
int)
works with Session.save()
Node.setProperty(String,
String)
works with parentNode.save()
Node.setProperty(String,
String, int)
works with parentNode.save()
Node.setProperty(String,
String)
works with Session.save()
Node.setProperty(String,
String, int)
works with Session.save()
Node.setProperty(String,
Value[])
works with parentNode.save()
Node.setProperty(String, Value[],
int)
works with parentNode.save()
Node.setProperty(String,
Value[])
works with Session.save()
Node.setProperty(String, Value[],
int)
works with Session.save()
Node.setProperty(String,
Value)
works with parentNode.save()
Node.setProperty(String,
Value, int)
works with parentNode.save()
Node.setProperty(String,
Value)
works with Session.save()
Node.setProperty(String,
Value, int)
works with Session.save()
Node.setProperty(String, Node)
if the node type of
this node does not indicate a specific property type, then the property
type of the supplied Value object is used and if the property already
exists (has previously been set) it assumes the new property type.
LockManager.holdsLock(String)
and Node.holdsLock()
.
LockManager.isLocked(String)
and Node.isLocked()
.
QueryObjectModelFactory.nodeLocalName(String)
QueryObjectModelFactory.nodeLocalName(String)
QueryObjectModelFactory.nodeName(String)
QueryObjectModelFactory.nodeName(String)
Event.NODE_REMOVED
and a Event.NODE_ADDED
event.
Event.NODE_REMOVED
and a Event.NODE_ADDED
event with same name siblings.
Event.NODE_REMOVED
and a Event.NODE_ADDED
event with same name siblings.
noLocal
is set to true
.
Node.canAddMixin(String mixinName)
throws a
NoSuchNodeTypeException
if mixinName
is not the
name of an existing mixin node type
NoSuchElementException
is thrown when NodeIterator.nextNode()
is called and there are no more nodes
available.
NoSuchElementException
is thrown when NodeIterator.nextNode()
is called and there are no more nodes
available.
Repository.login(Credentials credentials, String workspaceName)
throws a NoSuchWorkspaceException
if no workspace of the requested name is existing.
QueryObjectModelFactory.not(Constraint)
Node.removeMixin(String mixinName)
throws a
NoSuchNodeTypeException Node
does not have assigned the
requested mixin
QueryObjectModelFactory.or(Constraint, Constraint)
VersionHistory.orderBefore(String, String)
throws
an UnsupportedRepositoryOperationException
Version.orderBefore(String, String)
throws an
UnsupportedRepositoryOperationException
Node.orderBefore(String, String)
with an invalid destination reference.
Node.orderBefore(String,
String)
with an invalid source reference.
Item.save()
.
Item.save()
.
Session.save()
.
Node.orderBefore(String, String)
that does not support child reordering.
QueryObjectModelFactory.ascending(DynamicOperand)
QueryObjectModelFactory.descending(DynamicOperand)
PathNotFoundException
is thrown when a query
is stored to a non existent path.
QueryObjectModelFactory.propertyExistence(String, String)
QueryObjectModelFactory.propertyExistence(String, String)
Event.PROPERTY_CHANGED
Event.PROPERTY_REMOVED
and Event.PROPERTY_ADDED
is triggered if a property is transiently removed and set again with
the same name but different type and then saved.
QueryObjectModelFactory.propertyValue(String, String)
QueryObjectModelFactory.propertyValue(String, String)
NodeType.canRemoveItem(String)
and
NodeType.canRemoveNode(String)
return
false if the specified node is a protected child node.
NodeType.canRemoveItem(String)
and
NodeType.canRemoveProperty(String)
return false
if the specified property is a protected property.
Session.hasPermission(String, String)
returns
true
for READ.
false
for all other actions.
Session.hasPermission(String, String)
returns
true
for all actions.
VersionHistory.removeVersion(String)
throws a ReferentialIntegrityException
if the named
version is still referenced by another node.
Lock.refresh()
on a released lock.
VersionHistory.refresh(boolean)
works as expected
(do nothing and return quietly)
Version.refresh(boolean)
works as expected (do
nothing and return quietly)
Item.refresh(boolean refresh)
works properly
with refresh
set to false
.
Session.refresh(boolean refresh)
works
properly with refresh
set to false
.
Item.refresh(boolean refresh)
works properly
with refresh
set to true
.
Session.refresh(boolean refresh)
works
properly with refresh
set to true
.
Item.refresh(boolean)
on a deleted node.
Lock.refresh()
on a released lock.
NodeType.canRemoveItem(String)
and
NodeType.canRemoveNode(String)
return true
if the specified node is not a protected nor a mandatory
child node.
NodeType.canRemoveItem(String)
and
NodeType.canRemoveProperty(String)
return true
if the specified property is not a protected nor a mandatory
property.
VersionHistory.remove()
throws an ConstraintViolationException
Version.remove()
throws an ConstraintViolationException
boolean
property with
Node.setProperty(String, null)
works with
parentNode.save()
boolean
property with
Node.setProperty(String, null)
works with
Session.save()
Calendar
property with
Node.setProperty(String, null)
works with
parentNode.save()
Calendar
property with
Node.setProperty(String, null)
works with
Session.save()
BigDecimal
property with
Node.setProperty(String, null)
works with
Session.save()
double
property with
Node.setProperty(String, null)
works with
parentNode.save()
double
property with
Node.setProperty(String, null)
works with
Session.save()
ObservationManager.getRegisteredEventListeners()
returns the correct listeners after an remove event listener.
InputStream
property with
Node.setProperty(String, null)
works with
parentNode.save()
InputStream
property with
Node.setProperty(String, null)
works with
Session.save()
Item.remove()
with session 1,
afterwards it tries the same with session 2.
long
property with
Node.setProperty(String, null)
works with
parentNode.save()
long
property with
Node.setProperty(String, null)
works with
Session.save()
Node.addNode(String, String)
, saves on parent node then tries to delete
the mandatory child node.
VersionHistory.removeMixin(String)
throws an NoSuchNodeTypeException
Version.removeMixin(String)
throws an ConstraintViolationException
Node.remove()
does not throw a
LockException
if Node
is locked.
Node.remove()
throws a LockException
if the parent node of Node
is locked.
Item.remove()
, then saves with
parent's nodes Item.save()
method.
Node
property with
Node.setProperty(String, null)
works with
parentNode.save()
Node
property with
Node.setProperty(String, null)
works with
Session.save()
Item.remove()
, then saves using
Session.save()
method.
String[]
property with
Node.setProperty(String, null)
works with
parentNode.save()
String[]
property with
Node.setProperty(String, null, int)
works with
parentNode.save()
String[]
property with
Node.setProperty(String, null)
works with
Session.save()
String[]
property with
Node.setProperty(String, null, int)
works with
Session.save()
String
property with
Node.setProperty(String, null)
works with
parentNode.save()
String
property with
Node.setProperty(String, null, int)
works with
parentNode.save()
String
property with
Node.setProperty(String, null)
works with
Session.save()
String
property with
Node.setProperty(String, null, int)
works with
Session.save()
Node.removeMixin(String mixinName)
removes the
requested mixin properly
Value[]
property with
Node.setProperty(String, null)
works with
parentNode.save()
Value[]
property with
Node.setProperty(String, null, int)
works with
parentNode.save()
Value[]
property with
Node.setProperty(String, null)
works with
Session.save()
Value[]
property with
Node.setProperty(String, null, int)
works with
Session.save()
Value
property with
Node.setProperty(String, null)
works with
parentNode.save()
Value
property with
Node.setProperty(String, null, int)
works with
parentNode.save()
Value
property with
Node.setProperty(String, null)
works with
Session.save()
Value
property with
Node.setProperty(String, null, int)
works with
Session.save()
Workspace.move(String, String)
triggers the
correct events.
RepositoryException
is thrown when
an malformed path is passed in Query.storeAsNode(String)
.
NodeType.canAddChildNode(String childNodeName, String nodeTypeName)
returns false if childNodeName
does not match the NodeDef
and nodeTypeName
does not matches the node type of a residual
NodeDef
.
NodeType.canAddChildNode(String childNodeName, String nodeTypeName)
returns true if childNodeName
does not match the NodeDef
but nodeTypeName
matches the node type of a residual NodeDef
.
NodeType.canAddChildNode(String childNodeName)
returns
true if NodeType
contains a residual NodeDef
with a default primary type.
NodeType.canAddChildNode(String childNodeName)
returns
true if NodeType
contains a residual NodeDef
without a default primary type.
VersionHistory.restore(String, boolean)
and
VersionHistory.restore(Version, boolean)
throw an UnsupportedRepositoryOperationException
and VersionHistory.restore(Version,
String, boolean)
throws a ConstraintViolationException
.
Version.restore(String, boolean)
and
Version.restore(Version, boolean)
throw an
UnsupportedRepositoryOperationException
and
Version.restore(Version, String, boolean)
throws a
ConstraintViolationException
.
VersionHistory.restoreByLabel(String, boolean)
throws an UnsupportedRepositoryOperationException
Version.restoreByLabel(String, boolean)
throws an
UnsupportedRepositoryOperationException
VersionHistory.restoreByLabel(String, boolean)
throws an UnsupportedRepositoryOperationException
Version.restoreByLabel(String, boolean)
throws an
UnsupportedRepositoryOperationException
VersionHistory.restore(String, boolean)
and
VersionHistory.restore(Version, boolean)
throw an UnsupportedRepositoryOperationException
and VersionHistory.restore(Version,
String, boolean)
throws a ConstraintViolationException
.
Version.restore(String, boolean)
and
Version.restore(Version, boolean)
throw an
UnsupportedRepositoryOperationException
and
Version.restore(Version, String, boolean)
throws a
ConstraintViolationException
.
Version
of an existing node throws an
ItemExistsException
if removeExisting is set to FALSE.
Version
of an existing node throws an
ItemExistsException
if removeExisting is set to FALSE.
Version
of an existing node throws an
ItemExistsException
if removeExisting is set to FALSE.
Version
of an existing node throws an
ItemExistsException
if removeExisting is set to FALSE.
Version
of an existing node throws an
ItemExistsException
if removeExisting is set to FALSE.
Version
of an existing node throws an
ItemExistsException
if removeExisting is set to FALSE.
Version
of an existing node throws an
ItemExistsException
if removeExisting is set to FALSE.
Version
of an existing node throws an
ItemExistsException
if removeExisting is set to FALSE.
Version
of an existing node throws an
ItemExistsException
if removeExisting is set to FALSE.
Version
of an existing node throws an
ItemExistsException
if removeExisting is set to FALSE.
Node
for testing
QueryObjectModelFactory.sameNode(String, String)
QueryObjectModelFactory.sameNodeJoinCondition(String, String, String)
QueryObjectModelFactory.sameNodeJoinCondition(String, String, String)
QueryObjectModelFactory.sameNode(String, String)
Query.XPATH
query at:
testRoot + "/" + nodeName1
.
Item.save()
with
an mandatory property that is not set on saving time.
Session.save()
with an mandatory property that is not set on saving time.
Item.save()
that was already
deleted by an other session.
Session.save()
that was
already deleted by an other session.
Session.save()
.
Session.move(String,
String)
with one session and saves afterward changes made with a second
session to the moved node using Item.save()
.
Session.move(String, String)
with one session and
saves afterward changes made with a second session to the moved node using Session.save()
.
Session.save()
.
RepositoryException
is thrown when calling
Node.save()
on a newly added node
Item.save()
.ReferentialIntegrityException
upon save.
Session.save()
.ReferentialIntegrityException
upon save.
QueryObjectModelFactory.selector(String, String)
QueryObjectModelFactory.selector(String, String)
Session.move(String, String)
where the destination parent is checked in.
Session.move(String, String)
where the source parent is checked in.
Node.setPrimaryType(String)
throws a
ConstraintViolationException
if the
name of a mixin type is passed
Node.setPrimaryType(String)
must always succeed.
Node.setPrimaryType(String)
to a new node must always succeed.
Node.setProperty(String, Value[])
throws a ValueFormatException
when trying to set a multi-value property
to an array of values with different types
Node.setProperty(String, Value[], int)
throws a
ValueFormatException
when trying to set a multi-value
property to an array of values with different types
Node.setPrimaryType(String)
throws a
ConstraintViolationException
if the
name of a mixin type is passed
Node.setProperty(String, String[])
saves an array
of null values as an empty String[]
Node.setProperty(String, String[], int)
saves an
array of null values as an empty String[]
Node.setProperty(String, Value[])
saves an array of
null values as an empty Value[]
Node.setProperty(String, Value[], int)
saves an
array of null values as an empty Value[]
Node.setPrimaryType(String)
VersionHistory.setProperty(String,
String[])
VersionHistory.setProperty(String,
String[], int)
VersionHistory.setProperty(String,
Value[])
VersionHistory.setProperty(String,
Value[], int)
VersionHistory.setProperty(String,
boolean)
VersionHistory.setProperty(String,
double)
VersionHistory.setProperty(String,
InputStream)
VersionHistory.setProperty(String,
String)
VersionHistory.setProperty(String,
Calendar)
VersionHistory.setProperty(String,
Node)
VersionHistory.setProperty(String,
Value)
VersionHistory.setProperty(String,
long)
all throw a ConstraintViolationException
Version.setProperty(String, String[])
Version.setProperty(String, String[], int)
Version.setProperty(String, Value[])
Version.setProperty(String, Value[], int)
Version.setProperty(String, boolean)
Version.setProperty(String, double)
Version.setProperty(String, InputStream)
Version.setProperty(String, String)
Version.setProperty(String, Calendar)
Version.setProperty(String, Node)
Version.setProperty(String, Value)
Version.setProperty(String, long)
all throw a
ConstraintViolationException
Node.setProperty(String, String[])
throws a ValueFormatException
when trying to set an existing
single-valued property to a multi-value
Node.setProperty(String, String[], int)
throws a
ValueFormatException
when trying to set an existing
single-value property to a multi-value
Node.setProperty(String, Value[])
throws a ValueFormatException
when trying to set an existing
single-valued property to a multi-value
Node.setProperty(String, Value[], int)
throws a
ValueFormatException
when trying to set an existing
single-valued property to a multi-value
Repository.login(Credentials credentials)
does
return a session, i.
Repository.login(Credentials credentials, String workspaceName)
does return a session, i.
Event.NODE_ADDED
is triggerd
when a single node is added.
Event.NODE_REMOVED
is triggered
when a single node is removed.
Event.PROPERTY_ADDED
is triggered
when a single property is added.
Event.PROPERTY_CHANGED
is
triggered when a single property is changed.
Event.PROPERTY_CHANGED
is
triggered only for changed properties and not for new properties.
Event.PROPERTY_REMOVED
is
triggered when a property is removed.
RangeIterator.skip(long)
works correctly.
RangeIterator.skip(long)
works correctly.
Query.SQL
when calling
Query.getLanguage()
.
Node.setProperty(String, String, int)
if the node
type of this node does not indicate a specific property type, then the
type parameter is used.
Node.setProperty(String, String, int)
throws a
ConstraintViolationException if the type parameter and the type of the
property do not match.
Event.PROPERTY_ADDED
is triggered
for system generated property jcr:primaryType.
NodeType.canAddChildNode(String childNodeName, String nodeTypeName)
returns false if childNodeName
does not match the NodeDef
.
NodeType.canAddChildNode(String childNodeName)
returns
true if NodeType
nor does contain a NodeDef
named
childNodeName
nor a residual definition.
VersionHistory.unlock()
throws a LockException
Version.unlock()
throws a LockException
LockManager.unlock(String)
for a session that is not
lock owner.
VersionHistory.unlock()
throws a LockException
Version.unlock()
throws a LockException
Node.update(String)
works properly by
creating the same node in two workspaces one with a child node the other
with a property set.
VersionHistory.update(String)
throws an
ConstraintViolationException
VersionHistory.update(String)
throws an
ConstraintViolationException
Node.update(String)
after node has
changed in first workspace but not been saved yet.
Node.update(String)
for a node that only exists
in current workspace.
Node.update(String)
with an invalid
workspace.
QueryObjectModelFactory.upperCase(DynamicOperand)
Node.setProperty(String, Value, int)
if the node
type of this node does not indicate a specific property type, then the
type parameter is used.
Node.setProperty(String, Value)
if the node type of
this node does not indicate a specific property type, then the property
type of the supplied Value object is used and if the property already
exists (has previously been set) it assumes the new property type.
Node.setProperty(String, Value, int)
throws a
ConstraintViolationException if the type parameter and the type of the
property do not match.
Node.setProperty(String, Value[], int)
if the node
type of this node does not indicate a specific property type, then the
type parameter is used.
Node.setProperty(String, Value[])
if the node type of
this node does not indicate a specific property type, then the property
type of the supplied Value object is used and if the property already
exists (has previously been set) it assumes the new property type.
Node.setProperty(String, Value[], int)
throws a
ConstraintViolationException or ValueFormatException if the type
parameter and the type of the property do not match.
VersionException
is thrown when a
query is stored under a checked in node.
Workspace.move(String, String)
where the destination parent is checked in.
Workspace.move(String, String)
where the source parent is checked in.
Version
of an existing node throws an
ItemExistsException
if removeExisting is set to FALSE.
Version
of an existing node throws an
ItemExistsException
if removeExisting is set to FALSE.
EventListenerIterator
and returns the
EventListener
as an array.
it
as an array of Nodes.
PropertyType.UNDEFINED
.string
using the
escape
character.
string
.
UpperLowerCaseTest
performs tests with upper- and lower-case
operands.escape()
and unescape()
METHODS.
Text.URISave
but also contains the '/'
ValueFactoryTest
tests the different ValueFactory.createValue methods.VersionGraphTest
contains test methods related to version graph
issues.VersionHistoryTest
provides test methods related to version
history methods and general version history issues.VersionLabelTest
covers methods related to version label such as
VersionHistory.addVersionLabel(String, String, boolean)
VersionHistory.removeVersionLabel(String)
Node.restoreByLabel(String, boolean)
VersionHistory.getVersionByLabel(String)
VersionHistory.getVersionLabels()
VersionHistory.hasVersionLabel(javax.jcr.version.Version, String)
VersionHistory.hasVersionLabel(String)
VersionHistory.hasVersionLabel(javax.jcr.version.Version, String)
VersionStorageTest
provides tests regarding VersionHistory.addVersionLabel(String, String, boolean)
VersionTest
covers tests related to the methods of the Version
class.AbstractJCRTest.superuser
.
WorkspaceCloneReferenceableTest
contains tests for cloning
referenceable nodes between workspaces.WorkspaceCloneSameNameSibsTest
contains tests for cloning nodes
as same name siblings between workspace.WorkspaceCloneTest
contains tests for cloning nodes between
workspace.WorkspaceCloneVersionableTest
contains tests for cloning
versionable nodes between workspace.WorkspaceCopyBetweenWorkspacesReferenceableTest
contains tests
for copying referenceable nodes between workspace.WorkspaceCopyBetweenWorkspacesSameNameSibsTest
contains tests
for copying nodes as same name siblings between workspace.WorkspaceCopyBetweenWorkspacesTest
contains tests for copying
nodes between workspace.WorkspaceCopyBetweenWorkspacesVersionableTest
contains tests for
copying versionable nodes between workspace.WorkspaceCopyReferenceableTest
contains tests for copying
referenceable nodes in one workspace.WorkspaceCopySameNameSibsTest
contains tests for copying nodes
as same name siblings in one workspace.WorkspaceCopyTest
contains tests for copying nodes in one
workspace.WorkspaceCopyVersionableTest
contains tests for copying
versionable nodes in one workspace.WorkspaceManagementTest
...WorkspaceMoveReferenceableTest
contains tests for moving
referenceable nodes in one workspace.WorkspaceMoveSameNameSibsTest
contains tests for moving nodes
with same name siblings supported in one workspace.WorkspaceMoveTest
contains tests for copying nodes in one
workspace.WorkspaceMoveVersionableTest
contains tests for moving
versionable nodes in one workspace.WorkspaceMoveVersionExceptionTest
contains tests dealing with
moving nodes using Workspace.move(String, String)
.WorkspaceReadMethodsTest
...WorkspaceRestoreTest
provides test methods for the Workspace.restore(javax.jcr.version.Version[], boolean)
method.WorkspaceTest
...AbstractJCRTest.propertyName1
.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |