|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
AbstractValueConstraint.permit(Value[], SessionContext)
method on the top of the other
taking a single value.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.
SessionNodeType.getDeclaredSessionNodeDefinitions()
method.
SessionNodeType.getDeclaredSessionPropertyDefinitions()
method.
SessionNodeDef.getRequiredPrimaryTypes()
method.
SessionNodeType.getDeclaredSessionSupertypes()
method.
Value
object which can be converted
into a stream value.Value
object which can be converted
into a boolean value.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.
SessionNodeType.canRemoveItem(java.lang.String)
.
SessionNodeType.canSetProperty(java.lang.String, javax.jcr.Value)
except that a
property definition which also allows multiple values must exist.
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
.
RepositoryException
.
Session
has permission to perform the specified actions
at the specified absPath
.
InvalidItemStateException
(cf. 7.1.2.3
Invalid Items).
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.
SessionNode
and initializes it
appropriately with the attributes of this builder.
SessionProperty
and initializes it
appropriately with the attributes of this builder.
statement
itself and the
language
in which the query is stated.
SessionValue
object of PropertyType.BOOLEAN
type with the specified value.
SessionValue
object of PropertyType.BINARY
type
with stream created from the specified byte array value.
SessionValue
object of PropertyType.DATE
type
with the specified value.
SessionValue
object of PropertyType.DOUBLE
type
with the specified value.
SessionValue
object of PropertyType.BINARY
type
with the specified value.
SessionValue
object of PropertyType.LONG
type
with the specified value.
SessionValue
object of PropertyType.NAME
type
with the specified value.
SessionValue
object of PropertyType.REFERENCE
type with the specified value.
SessionValue
object of PropertyType.PATH
type
with the specified value.
SessionValue
object of PropertyType.REFERENCE
type with the specified value.
SessionValue
object of PropertyType.STRING
type
with the specified value.
SessionValue
object of the specified type with the
specified value.
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
.
PathElement.DOT
path element.
PathElement.DOUBLE_DOT
path element.
Value
object which can be converted
into a date valueValue
object which can be
converted into a double valueWorkspaceEvent
instance to the
registered observation managers.
WorkspaceEvent
instances to the
registered observation managers.
version
.
SessionObservationManager
class.Event
s
with nextEvent
as well as a skip
method inherited from
RangeIterator
.Event
instances.
EventListener
s
with nextEventListener
as well as a skip
method inherited from
RangeIterator
.FilteringEventListener
instances.
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.
ValueConstraints
object.
VersionHistory
that contains this Version
.
this
node.
Calendar
representation of the value of this
property.
Calendar
representation of this value.
SessionNodeDef
objects
SessionPropertyDef
objects
SessionNodeType
objects
ItemDefinition
.
DefName
object.
SessionNodeType
object.
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.
SessionNodeType
objects.
Name
representation of this value.
Item
.
Workspace
object.
NamespaceRegistry
interface.
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.
NodeTypeName
object.
SessionNode
objects or an empty list if this node has no children.
NodeIterator
over all child Node
s of
this Node
.
namePattern
.
Path
instance representing the normalized form
of this path.
ObservationManager
object;
otherwise it throws an UnsupportedRepositoryOperationException
.
WorkspaceEvent
or empty list if there are none.
Item
.
Path
representation of this value.
PersistenceFactory
interface.
PersistentNodeTypeManager
interface.
PersistentNodeTypeManager
interface working on the repository with the specified name.
PersistentWorkspace
interface.
Path
object representing a prefix of the
specified length of this path.
SessionProperty
objects or an empty list if this node has
no properties.
namePattern
.
relPath
relative to this
node.
QueryManager
.
Reference
representation of this value.
REFERENCE
properties that refer to this node.
Repository
interface working on
the repository with the specified name.
Repository
object through which this session was
acquired.
SessionPropertyDef
objects.
Row
s of the query result table.
Session
through which this Item
was acquired.
Session
object through which this Workspace
object was acquired.
null
.
SessionNodeType
object.
SessionNodeType
object.
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)
.ValueConstraint
interface.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
.NodeDefInfo
and PropertyDefInfo
.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.
Value
object which can be converted
into a long valueProperty
is visited.
Node
is visited.
credentials
.
login(credentials, null)
.
login(null, workspaceName)
.
login(null, null)
.
Session
.
null
if there is
no such node.
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
.
Value
object representing an item name.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.NodeType
objects.
type
,
as used in serialization.
action
,
as used in serialization.
PropertyType
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.
NullPointerException
with a warning text including the specified argument
name.
AssertionError
with a warning text including the specified field name.
onParentVersion
attribute
in a property definition within a node type definition.SessionEvent
objects and passes
those that pass the filter to the wrapped event listener.
srcChildRelPath
before its sibling, the child node at destChildRelPath
,
in the child node list.
Value
object representing a
path.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.Path
object representing the absolute path
specified by the absPath
argument.
DefName
object.
IndexedName
object from the specified
fully-qualified form.
ItemName
object.
Name
object.
ItemName
object.
Path
object representing the specified (either
relative or absolute) path in internal form.
DefName
object.
IndexedName
object.
ItemName
object.
Name
object.
ItemName
object.
Path
object representing the specified (either
relative or absolute) path.
Path
object representing the relative path
specified by the relPath
argument.
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.Value
object representing a node
reference (UUID).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.ItemDefinition
interface providing
additional methods for internal use.NodeDefinition
interface providing
additional methods for internal use.NodeType
interface providing additional
methods for internal use.NodeTypeManager
interface providing
additional methods for internal use in a session context.ItemDefinition
interface providing
additional methods for internal use.SimpleCredentials
implements the Credentials
interface and represents simple user ID/password credentials.SimpleCredentials
object, given a user ID
and password.
Value
object having a
String representation.Session
that apply to this Item
or any of its descendants (that is, the subtree rooted at this Item).
Session
.
SessionItemDef.isAutoCreated()
method.
SessionNodeDef.getDefaultPrimaryType()
method.
PropertyState.CREATED
.
SessionItemDef.isMandatory()
method.
SessionItemDef.getOnParentVersion()
method.
SessionNodeType.hasOrderableChildNodes()
method.
PersistenceFactory
interface.
SessionNodeType.getPrimaryItemName()
method.
value
.
REFERENCE
)property
to refer to the specified Node
.
SessionItemDef.isProtected()
method.
SessionNodeDef.allowsSameNameSiblings()
method.
PropertyState.SAVED
.
Node.orderBefore(String, String)
on the parent node.
value
.
values
array.
value
.
values
array.
value
.
value
.
value
.
value
.
value
.
Query
in content.
ItemVisitor
.TraversingItemVisitor
.Node
proxies representing the
specified session nodes.
Node
proxies representing the
specified session nodes.
Property
proxies representing the
specified session properties.
Property
proxies representing the
specified session properties.
SessionNode
class.
SessionProperty
class.
null
as its
detail message.
encodeWhitespaces
method.
srcWorkspaceName
,
then this replaces this node and its subtree with a clone of the corresponding node and its
subtree.
Property
value against a value constraint which is defined
in the Property
's
PropertyDefinition
.ValueConstraint.permit(Value, SessionContext)
of any implementation
of the ValueConstraint
interface.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 |