|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
null
as its
detail message.
ItemVistor
.
eventTypes
(a combination of one or more
event types encoded as a bit mask value).
relPath
.
relPath
of the specified node type.
null
as its
detail message.
Repository.login(Credentials credentials, String workspaceName)
method.true
if this node type allows the addition of a
child node called childNodeName
without specific node type
information (that is, given the definition of this parent node type, the
child node name is sufficient to determine the intended child node type).
true
if this node type allows the addition of a
child node called childNodeName
of node type
nodeTypeName
.
true
if the specified mixin node type, mixinName
,
can be added to this node.
itemName
is allowed by this node type.
true
if setting propertyName
to
value
is allowed by this node type.
true
if setting propertyName
to
values
is allowed by this node type.
version
.
Session
has permission to perform the specified actions
at the specified absPath
.
jcr:isCheckedOut
property to true and adds to the
jcr:predecessors
(multi-value) property a reference to the current
base version (the same value as held in jcr:baseVersion
).
srcAbsPath
in srcWorkspace
to the new location at
destAbsPath
in this
workspace.
srcAbsPath
to the new location at
destAbsPath
.
srcAbsPath
in srcWorkspace
to destAbsPath
in this
workspace.
statement
itself and the
language
in which the query is stated.
Value
object of PropertyType.STRING
with the specified value
.
Value
object of the PropertyType
specified by type
with the specified value
.
Value
object of PropertyType.LONG
with the specified value
.
Value
object of PropertyType.DOUBLE
with the specified value
.
Value
object of PropertyType.BOOLEAN
with the specified value
.
Value
object of PropertyType.DATE
with the specified value
.
Value
object of PropertyType.BINARY
with a value consisting of the content of the specified InputStream
.
Value
object of PropertyType.REFERENCE
that holds the UUID of the specified Node
.
version
.
Event
s
with nextEvent
as well as a skip
method inherited from
RangeIterator
.EventListener
s
with nextEventListener
as well as a skip
method inherited from
RangeIterator
.Property
is visited.
Node
is visited.
QueryResult
.
noRecurse
is false
,
the whole subtree) at absPath
into a series of SAX events by
calling the methods of the supplied org.xml.sax.ContentHandler
.
noRecurse
is false
,
the whole subtree) at absPath
as an XML stream and outputs it to
the supplied OutputStream
.
noRecurse
is false
,
the whole subtree) at absPath
into a series of SAX events by
calling the methods of the supplied org.xml.sax.ContentHandler
.
noRecurse
is false
,
the whole subtree) at absPath
as an XML stream and outputs it to
the supplied OutputStream
.
Credentials
that were used to get the Session
tied to this Workspace
.
Object
, or null
if no attribute of the
given name exists.
Object
,
or null
if no attribute of the given name exists.
Credentials
that were
used to acquire it.
boolean
representation of the value of this
property.
Boolean
representation of this value.
null
if the
cause is nonexistent or unknown.
VersionHistory
that contains this Version
.
this
node.
Calendar
representation of the value of this
property.
Calendar
representation of this value.
ItemDefinition
.
Item
in the workspace tree.
double
representation of the value of this
property.
double
representation of this value.
org.xml.sax.ContentHandler
which can be used to
push SAX events into the repository.
org.xml.sax.ContentHandler
which can be used to push SAX events into the repository.
PropertyType.BINARY
, otherwise it returns the number of
characters needed to display the value in its string form.
Lock
object that applies to this node.
long
representation of the value of this
property.
long
representation of this value.
Item
.
Workspace
object.
NamespaceRegistry
object, which is used to access information
and (in level 2) set the mapping between namespace prefixes and URIs.
Session
.
relPath
relative to this node.
REFERENCE
this method returns the node to which this property refers.
NodeTypeManager
through which node type
information can be queried.
NodeIterator
over all child Node
s of
this Node
.
namePattern
.
ObservationManager
object;
otherwise it throws an UnsupportedRepositoryOperationException
.
Item
.
namePattern
.
relPath
relative to this
node.
QueryManager
.
REFERENCE
properties that refer to this node.
Repository
object through which this session was
acquired.
Row
s of the query result table.
Session
through which this Item
was acquired.
Session
object through which this Workspace
object was acquired.
Query
object that has been stored using
Query.storeAsNode(java.lang.String)
(regardless of whether it has been save
d yet)
or retrieved using QueryManager.getQuery(javax.jcr.Node)
), then this method
returns the path of the nt:query
node that stores the query.
InputStream
representation of the value of this
property.
InputStream
representation of this value.
String
representation of the value of this
property.
String
representation of this value.
Property
.
type
of this Value
.
jcr:uuid
property.
Value
object.
Row
.
ValueFactory
that is used to create Value
objects
for use when setting repository properties.
QueryResult.getColumnNames()
.
VersionHistory
object of this node.
version
- empty array if none.
Workspace
attached to this Session
.
relPath
Returns true
if a node exists at relPath
and
false
otherwise.
true
if nodes of this type must support orderable child nodes; returns false
otherwise.
true
if this session holds pending (that is, unsaved) changes;
otherwise returns false
.
relPath
Returns true
if a property exists at relPath
and
false
otherwise.
true
if any version in the history has the given label
.
label
.
true
if this node holds a lock; otherwise returns false
.
uuidBehavior
parameter in Workspace.importXML(java.lang.String, java.io.InputStream, int)
, Session.importXML(java.lang.String, java.io.InputStream, int)
,
Workspace.getImportContentHandler(java.lang.String, int)
and Session.getImportContentHandler(java.lang.String, int)
.Node
and Property
and by save and refresh if an attempted change would conflict with a
change to the persistent workspace made through another
Session
.null
as its
detail message.
Query
.null
as its
detail message.
Session
if the serialized data being input has an invalid format.null
as its
detail message.
Item
is the base interface of Node
and Property
.NodeDefinition
and PropertyDefinition
.null
as its
detail message.
Item
, Node
and Workspace
when an item is not found.null
as its
detail message.
visit
method; one taking a Node
, the other a
Property
.parentAbsPath
.
true
if this is a deep lock; false
otherwise.
true
if this Session
object is usable
by the client.
Lock
object represents a lock that is currently in effect.
true
if this node is locked either as a result of a lock held by this node or by a deep
lock on a node above this node; otherwise returns false
.
true
if this node type is a mixin node type.
true
if this Item
has been saved but has subsequently
been modified through the current session and therefore the state of this item as recorded
in the session differs from the state of this item as saved.
true
if this is a new item, meaning that it exists only in transient
storage on the Session
and has not yet been saved.
Item
is a Node
or a
Property
.
nodeTypeName
or a subtype of nodeTypeName
, otherwise returns
false
.
true
if this Item
object
(the Java object instance) represents the same actual repository item as the
object otherItem
.
true
if this is a session-scoped lock.
true
if an item exists at absPath
; otherwise returns false
.
Item.save()
and Session.save()
when
persisting a change would conflict with a lock.null
as its
detail message.
Repository.login(Credentials, String)
and Session.impersonate(Credentials)
if the specified
credentials are invalid.null
as its
detail message.
Property
is visited.
Node
is visited.
credentials
.
login(credentials, null)
.
login(null, workspaceName)
.
login(null, null)
.
Session
.
Node.merge(String srcWorkspace, boolean isDeep)
.null
as its
detail message.
srcAbsPath
(and its entire subtree) to the new location
at destAbsPath
.
srcAbsPath
(and its entire subtree) to the
new location at destAbsPath
.
Session.setNamespacePrefix(String prefix, String uri)
if the specified uri
is not registered in the NamespaceRegistry
null
as its
detail message.
NamespaceRegistry
represents the global persistent namespace
registry of the JCR Repository.null
as its
detail message.
Repository.login(Credentials, String)
when a specific workspace is not found.null
as its
detail message.
Node
interface represents a node in the hierarchy that
makes up the repository.Node
s
with nextNode
as well as a skip
method inherited from
RangeIterator
.NodeType
objects.type
,
as used in serialization.
action
,
as used in serialization.
Event
in the iteration.
EventListener
in the iteration.
Node
in the iteration.
NodeType
in the iteration.
Property
in the iteration.
Row
in the iteration.
Version
in the iteration.
onParentVersion
attribute
in a property definition within a node type definition.srcChildRelPath
before its sibling, the child node at destChildRelPath
,
in the child node list.
Item
exists at the specified path
or when the specified path implies intermediary Node
s that do
not exist.null
as its
detail message.
Property
object represents the smallest granularity of content
storage.Property
s
with nextProperty
as well as a skip
method.RepositoryException
and its backtrace to the
standard error stream.
RepositoryException
and its backtrace to the
specified print stream.
RepositoryException
and its backtrace to
the specified print writer.
Query
object.Iterator
with the skip
, getSize
and getPosition
methods.null
as its
detail message.
null
as its
detail message.
keepChanges
is false
, this method discards all pending changes
currently recorded in this Session
that apply to this Item or any of its descendants
(that is, the subtree rooted at this Item)and returns all items to reflect the current
saved state.
keepChanges
is false
, this method discards all pending changes
currently recorded in this Session
and returns all items to reflect the current
saved state.
this
item (and its subtree).
this
node to the state defined by the
version with the specified versionName
.
this
node to the state defined by the specified
version
.
relPath
, relative to this node.
Session
object provides read and (in level 2) write access to the content of a
particular workspace in the repository.SimpleCredentials
implements the Credentials
interface and represents simple user ID/password credentials.SimpleCredentials
object, given a user ID
and password.
Session
that apply to this Item
or any of its descendants (that is, the subtree rooted at this Item).
Session
.
value
.
REFERENCE
)property
to refer to the specified Node
.
value
.
values
array.
value
.
values
array.
value
.
value
.
value
.
value
.
value
.
Query
in content.
ItemVisitor
.TraversingItemVisitor
.null
as its
detail message.
srcWorkspaceName
,
then this replaces this node and its subtree with a clone of the corresponding node and its
subtree.
ValueFactory
object provides methods for the creation Value objects that can then
be used to set properties.null
as its
detail message.
Version
object wraps an nt:version
node.null
as its
detail message.
VersionHistory
object wraps an nt:versionHistory
node.Version
s objects
with nextVersion
as well as a skip
method inherited from
RangeIterator
.ItemVisitor
is
passed to the accept
method of a Property
.
ItemVisitor
is
passed to the accept
method of a Node
.
Property
.
Node
.
Workspace
object represents a "view" of an actual repository workspace
entity as seen through the authorization settings of its associated Session
.
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |