|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.core.ItemImpl
org.apache.jackrabbit.core.NodeImpl
org.apache.jackrabbit.core.version.VersionImpl
This Class implements a Version that extends the node interface
Field Summary | |
protected InternalVersion |
version
the internal version |
Fields inherited from class org.apache.jackrabbit.core.NodeImpl |
CREATED, definition, primaryTypeName |
Fields inherited from class org.apache.jackrabbit.core.ItemImpl |
id, itemMgr, listeners, rep, session, state, stateMgr, status, STATUS_DESTROYED, STATUS_INVALIDATED, STATUS_MODIFIED, STATUS_NORMAL |
Constructor Summary | |
VersionImpl(ItemManager itemMgr,
SessionImpl session,
NodeId id,
NodeState state,
NodeDefinition definition,
ItemLifeCycleListener[] listeners,
InternalVersion version)
creates a new version node |
Method Summary | |
VersionHistory |
getContainingHistory()
|
Calendar |
getCreated()
|
InternalFrozenNode |
getFrozenNode()
Returns the frozen node of this version |
InternalVersion |
getInternalVersion()
Returns the internal version |
Version[] |
getPredecessors()
|
Version[] |
getSuccessors()
|
String |
getUUID()
|
boolean |
isSame(Item otherItem)
|
NodeIterator |
merge(String srcWorkspace,
boolean bestEffort)
Always throws a ConstraintViolationException since this node
is protected. |
void |
update(String srcWorkspaceName)
Always throws a ConstraintViolationException since this node
is protected. |
Methods inherited from class org.apache.jackrabbit.core.ItemImpl |
getAncestor, getDepth, getId, getOrCreateNodeReferences, getPath, getPrimaryPath, getSession, internalRemove, isModified, isNew, isTransactionalNew, isTransient, notifyDestroyed, notifyInvalidated, refresh, remove, safeGetJCRPath, sanityCheck, save, setRemoved, stateCreated, stateDestroyed, stateDiscarded, stateModified |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.jcr.Node |
addMixin, addNode, addNode, canAddMixin, cancelMerge, checkin, checkout, doneMerge, getBaseVersion, getCorrespondingNodePath, getDefinition, getIndex, getLock, getMixinNodeTypes, getNode, getNodes, getNodes, getPrimaryItem, getPrimaryNodeType, getProperties, getProperties, getProperty, getReferences, getVersionHistory, hasNode, hasNodes, hasProperties, hasProperty, holdsLock, isCheckedOut, isLocked, isNodeType, lock, orderBefore, removeMixin, restore, restore, restore, restoreByLabel, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, unlock |
Methods inherited from interface javax.jcr.Item |
accept, getAncestor, getDepth, getName, getParent, getPath, getSession, isModified, isNew, isNode, refresh, remove, save |
Field Detail |
protected final InternalVersion version
Constructor Detail |
public VersionImpl(ItemManager itemMgr, SessionImpl session, NodeId id, NodeState state, NodeDefinition definition, ItemLifeCycleListener[] listeners, InternalVersion version)
itemMgr
- session
- id
- state
- definition
- listeners
- version
- Method Detail |
public Calendar getCreated() throws RepositoryException
getCreated
in interface Version
RepositoryException
public Version[] getSuccessors() throws RepositoryException
getSuccessors
in interface Version
RepositoryException
public Version[] getPredecessors() throws RepositoryException
getPredecessors
in interface Version
RepositoryException
public String getUUID() throws UnsupportedRepositoryOperationException, RepositoryException
getUUID
in interface Node
getUUID
in class NodeImpl
UnsupportedRepositoryOperationException
RepositoryException
public VersionHistory getContainingHistory() throws RepositoryException
getContainingHistory
in interface Version
RepositoryException
public InternalVersion getInternalVersion()
public InternalFrozenNode getFrozenNode() throws RepositoryException
RepositoryException
public boolean isSame(Item otherItem)
isSame
in interface Item
isSame
in class ItemImpl
public void update(String srcWorkspaceName) throws ConstraintViolationException
ConstraintViolationException
since this node
is protected.
update
in interface Node
update
in class NodeImpl
ConstraintViolationException
public NodeIterator merge(String srcWorkspace, boolean bestEffort) throws ConstraintViolationException
ConstraintViolationException
since this node
is protected.
merge
in interface Node
merge
in class NodeImpl
ConstraintViolationException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |