public interface HippoNode
extends javax.jcr.Node
Node
instance returned by any method of a Hippo Repostitory may be cast to the HippoNode interface to expose additional functionality.Modifier and Type | Method and Description |
---|---|
javax.jcr.Node |
getCanonicalNode()
Get the most accurate and complete version available of the information
represented in the current node.
|
String |
getLocalizedName()
Get a localized name of this node if available.
|
String |
getLocalizedName(Localized localized)
Get a localized name of this node if available.
|
Map<Localized,String> |
getLocalizedNames()
Gets all localized names of this node, including the 'default' one
(i.e.
|
boolean |
isVirtual()
Whether this is a virtual node or not.
|
javax.jcr.NodeIterator |
pendingChanges()
Conveniance method for
pendingChanges("nt:base", false) |
javax.jcr.NodeIterator |
pendingChanges(String nodeType)
Conveniance method for
pendingChanges(nodeType,false) |
javax.jcr.NodeIterator |
pendingChanges(String nodeType,
boolean prune)
Obtains an iterator over the set of nodes that potentially contain
changes, starting (and not including) this node.
|
boolean |
recomputeDerivedData()
Some operations may leave some nodes' derived data stale.
|
addMixin, addNode, addNode, canAddMixin, cancelMerge, checkin, checkout, doneMerge, followLifecycleTransition, getAllowedLifecycleTransistions, getBaseVersion, getCorrespondingNodePath, getDefinition, getIdentifier, getIndex, getLock, getMixinNodeTypes, getNode, getNodes, getNodes, getNodes, getPrimaryItem, getPrimaryNodeType, getProperties, getProperties, getProperties, getProperty, getReferences, getReferences, getSharedSet, getUUID, getVersionHistory, getWeakReferences, getWeakReferences, hasNode, hasNodes, hasProperties, hasProperty, holdsLock, isCheckedOut, isLocked, isNodeType, lock, merge, orderBefore, removeMixin, removeShare, removeSharedSet, restore, restore, restore, restoreByLabel, setPrimaryType, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, unlock, update
String getLocalizedName() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
String getLocalizedName(Localized localized) throws javax.jcr.RepositoryException
localized
- the locale or other determining specification (like
country without a language specification or live/preview site).javax.jcr.RepositoryException
Map<Localized,String> getLocalizedNames() throws javax.jcr.RepositoryException
Localized.getInstance()
) if available.javax.jcr.RepositoryException
javax.jcr.Node getCanonicalNode() throws javax.jcr.ItemNotFoundException, javax.jcr.RepositoryException
javax.jcr.ItemNotFoundException
- indicates the canonical node is no longer availablejavax.jcr.RepositoryException
- indicates a generic unspecified repository errorjavax.jcr.NodeIterator pendingChanges(String nodeType, boolean prune) throws javax.jcr.NamespaceException, javax.jcr.nodetype.NoSuchNodeTypeException, javax.jcr.RepositoryException
Node.isNodeType(nodeType)
returns
true are included in the resulting set. If the prune boolean value is
true, then the nodes matching in the hierarchy first are returned. If
matching modified node exists beneath the nodes, these are not
included.nodeType
- Only nodes that are (derived) of this nodeType are
included in the resultprune
- Whether only to return the first matching modified node in
a subtree (true), or provide a depth search for all modified
nodes (false)javax.jcr.NamespaceException
- indicates an invalid nodeType parameterjavax.jcr.nodetype.NoSuchNodeTypeException
- indicates an invalid nodeType parameterjavax.jcr.RepositoryException
- indicates a generic unspecified repository errorHippoSession.pendingChanges(Node,String,boolean)
javax.jcr.NodeIterator pendingChanges(String nodeType) throws javax.jcr.NamespaceException, javax.jcr.nodetype.NoSuchNodeTypeException, javax.jcr.RepositoryException
pendingChanges(nodeType,false)
nodeType
- Only nodes that are (derived) of this nodeType are
included in the resultjavax.jcr.NamespaceException
- indicates an invalid nodeType parameterjavax.jcr.RepositoryException
- indicates a generic unspecified repository errorjavax.jcr.nodetype.NoSuchNodeTypeException
- indicates an invalid nodeType parameterpendingChanges(String,boolean)
javax.jcr.NodeIterator pendingChanges() throws javax.jcr.RepositoryException
pendingChanges("nt:base", false)
javax.jcr.RepositoryException
- indicates a generic unspecified repository errorpendingChanges(String,boolean)
boolean isVirtual() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
boolean recomputeDerivedData() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
Copyright © 2007–2015 Hippo B.V. (http://www.onehippo.com). All rights reserved.