|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
NodeIterator
interface.NodeTypeIterator
interface.PropertyIterator
interface.visitor.visit(this)
.
visitor.visit(this)
.
addNode(relPath).setProperty(prefix + ":primaryType", primaryNodeTypeName)
and returning the created node.
false
.
copy(getName(), srcAbsPath, destAbsPath).
- copy(String, String, String) -
Method in class org.apache.jackrabbit.base.BaseWorkspace
- Not implemented.
- copy(String, String) -
Method in class org.apache.jackrabbit.decorator.WorkspaceDecorator
- Forwards the method call to the underlying workspace.
- copy(String, String, String) -
Method in class org.apache.jackrabbit.decorator.WorkspaceDecorator
- Forwards the method call to the underlying workspace.
exportDocView(absPath, handler, binaryAsLink, noRecurse)
with a content handler instance handler
created on
top fo the given output stream using the Xerces
XMLSerializer
class.
exportSysView(absPath, handler, binaryAsLink, noRecurse)
with a content handler instance handler
created on
top fo the given output stream using the Xerces
XMLSerializer
class.
getDepth()
and returning either
this item, getSession().getRootNode()
, or
getParent().getAncestor()
, or throwing an
ItemNotFoundException
depending on the
given depth.
getValue().getBoolean()
.
getDeclaredChildNodeDefinitions()
on this node type and all supertypes returned by
getSupertypes()
.
getValue().getDate()
.
null
.
getParent().getDepth() + 1
and
returning 0
if an
ItemNotFoundException
is thrown by
getParent()
(indicating that this is the root node).
getValue().getDouble()
.
1
.
getRootNode()
or
getRootNode().getNode(absPath.substring(1))
depending
on the given absolute path.
getType()
and returning
-1
if type is binary or getString().length()
otherwise.
getValue().getLong()
.
getAllNodeTypes()
and iterating
through the returned node types to select all mixin node types.
getNamespacePrefixes()
and calling
getNamespaceURI(prefix)
repeatedly until a match
is found for the given namespace URI.
Path.resolve(this, relPath)
from
the Path
utility class.
getSession().getNodeByUUID(getString())
.
getAllNodeTypes()
and iterating
through the returned node types to find the named node type.
OnParentVersionAction.IGNORE
.
getParent().getPath()
and
appending getName()
to the returned parent path.
super.getPath()
(see BaseItem.getPath()
and appending
"[" + getIndex() + "]"
if
getDefinition().allowsSameNameSiblings()
returns
true
.
getPrefixes()
and iterating
over the returned prefixes to find the prefix for which
getURI(prefix)
returns the given namespace URI.
getAllNodeTypes()
and iterating
through the returned node types to select all primary node types.
Path.resolve(this, relPath)
from
the Path
utility class.
getDeclaredPropertyDefinitions()
this node type and all supertypes returned by
getSupertypes()
.
PropertyType.UNDEFINED
.
getRepository()
method to avoid
breaking the decorator layer.
The following example code illustrates how this method should be used to implement the repository login methods.
DecoratorFactory factory = ...; // The decorator factory Session session = ...; // The underlying session instance return factory.getSessionDecorator(this, session);
getValue().getStream()
.
getValue().getString()
.
getDeclaredSupertypes()
and
recursively collecting all supertypes.
getValue().getType()
.
getPrefixes()
and
mapping all returned prefixes into namespace URIs using
getURI(prefix)
.
null
.
getNode(relPath)
and returning
true
unless a
PathNotFoundException
is thrown.
getNodes().hasNext()
.
false
.
getProperties().hasNext()
.
getProperty(relPath)
and returning
true
unless a
PathNotFoundException
is thrown.
getRepository().login(credentials, getWorkspace().getName())
.
transformer.transform(new StreamSource(in), new SAXResult(handler))
with an identity Transformer
and a
ContentHandler
instance created by calling
getImportContentHandler(parentAbsPath)
.
transformer.transform(new StreamSource(in), new SAXResult(handler))
with an identity Transformer
and a
ContentHandler
instance created by calling
getImportContentHandler(parentAbsPath, uuidBehaviour)
.
false
.
true
.
false
.
false
.
false
.
false
.
true
.
false
.
type.isNodeType(nodeTypeName)
for the primary type and all mixin types of this node.
getName()
and comparing the
result to the given node type name.
false
.
getItem(absPath)
and returning
true
unless a
PathNotFoundException
is thrown.
login(credentials, null)
as suggested by the JCR specification.
login(null, workspaceName)
as suggested by the JCR specification.
login(null, null)
as suggested by the JCR specification.
login(credentials, null)
.
login(null, workspaceName)
.
login(null, null)
.
Repository
decorator.getProperty(name).setValue(value)
and returning the retrieved property.
setProperty(name, value)
after converting the given
value to the given type.
getProperty(name).setValue(values)
and returning the retrieved property.
setProperty(name, convertedValues)
with an array of values that were converted from the given values to
the given type.
setProperty(name, stringValues)
with an array of values that were created from the given strings by
getSession().getValueFactory().createValue(values[i]))
.
setProperty(name, stringValues, type)
with an array of Values that were created from the given strings by
getSession().getValueFactory().createValue(values[i]))
.
setProperty(name, getSession().getValueFactory().createValue(value)
.
setProperty(name, getSession().getValueFactory().createValue(value, type)
.
setProperty(name, getSession().getValueFactory().createValue(value)
.
setProperty(name, getSession().getValueFactory().createValue(value)
.
setProperty(name, getSession().getValueFactory().createValue(value)
.
setProperty(name, getSession().getValueFactory().createValue(value)
.
setProperty(name, getSession().getValueFactory().createValue(value)
.
setProperty(name, getSession().getValueFactory().createValue(value)
.
setValue(getSession().getValueFactory().createValue(value))
.
setValue(stringValues)
with
an array of Values that were created from the given strings by
getSession().getValueFactory().createValue(values[i]))
.
setValue(getSession().getValueFactory().createValue(value))
.
setValue(getSession().getValueFactory().createValue(value))
.
setValue(getSession().getValueFactory().createValue(value))
.
setValue(getSession().getValueFactory().createValue(value))
.
setValue(getSession().getValueFactory().createValue(value))
.
setValue(getSession().getValueFactory().createValue(value))
.
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |