|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.jcr2spi.ItemImpl
org.apache.jackrabbit.jcr2spi.NodeImpl
org.apache.jackrabbit.jcr2spi.version.VersionImpl
public class VersionImpl
VersionImpl...
| Field Summary |
|---|
| Fields inherited from class org.apache.jackrabbit.jcr2spi.ItemImpl |
|---|
listeners, session |
| Constructor Summary | |
|---|---|
VersionImpl(SessionImpl session,
NodeState state,
ItemLifeCycleListener[] listeners)
|
|
| Method Summary | |
|---|---|
protected void |
checkIsWritable()
Always throws ConstraintViolationException since the version storage is protected. |
javax.jcr.version.VersionHistory |
getContainingHistory()
|
java.util.Calendar |
getCreated()
|
javax.jcr.version.Version[] |
getPredecessors()
|
javax.jcr.version.Version[] |
getSuccessors()
|
boolean |
isSame(javax.jcr.Item otherItem)
|
protected boolean |
isWritable()
Always returns false |
| Methods inherited from class org.apache.jackrabbit.jcr2spi.NodeImpl |
|---|
accept, addMixin, addNode, addNode, canAddMixin, cancelMerge, checkin, checkout, doneMerge, getBaseVersion, getCorrespondingNodePath, getDefinition, getIndex, getLock, getMixinNodeTypes, getName, getNode, getNodes, getNodes, getPrimaryItem, getPrimaryNodeType, getProperties, getProperties, getProperty, getProperty, getReferences, getUUID, getVersionHistory, hasNode, hasNodes, hasProperties, hasProperty, holdsLock, isCheckedOut, isLocked, isNode, isNodeType, lock, merge, orderBefore, removeMixin, restore, restore, restore, restoreByLabel, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, unlock, update |
| Methods inherited from class org.apache.jackrabbit.jcr2spi.ItemImpl |
|---|
checkStatus, getAncestor, getDepth, getItemManager, getItemState, getParent, getPath, getSession, isModified, isNew, refresh, remove, save, statusChanged |
| 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, getUUID, getVersionHistory, hasNode, hasNodes, hasProperties, hasProperty, holdsLock, isCheckedOut, isLocked, isNodeType, lock, merge, orderBefore, removeMixin, restore, restore, restore, restoreByLabel, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, unlock, update |
| Methods inherited from interface javax.jcr.Item |
|---|
accept, getAncestor, getDepth, getName, getParent, getPath, getSession, isModified, isNew, isNode, refresh, remove, save |
| Constructor Detail |
|---|
public VersionImpl(SessionImpl session,
NodeState state,
ItemLifeCycleListener[] listeners)
| Method Detail |
|---|
public javax.jcr.version.VersionHistory getContainingHistory()
throws javax.jcr.RepositoryException
getContainingHistory in interface javax.jcr.version.Versionjavax.jcr.RepositoryExceptionVersion.getContainingHistory()
public java.util.Calendar getCreated()
throws javax.jcr.RepositoryException
getCreated in interface javax.jcr.version.Versionjavax.jcr.RepositoryExceptionVersion.getCreated()
public javax.jcr.version.Version[] getSuccessors()
throws javax.jcr.RepositoryException
getSuccessors in interface javax.jcr.version.Versionjavax.jcr.RepositoryExceptionVersion.getSuccessors()
public javax.jcr.version.Version[] getPredecessors()
throws javax.jcr.RepositoryException
getPredecessors in interface javax.jcr.version.Versionjavax.jcr.RepositoryExceptionVersion.getPredecessors()
public boolean isSame(javax.jcr.Item otherItem)
throws javax.jcr.RepositoryException
isSame in interface javax.jcr.ItemisSame in class ItemImplotherItem -
javax.jcr.RepositoryExceptionItem.isSame(Item)
protected void checkIsWritable()
throws javax.jcr.UnsupportedRepositoryOperationException,
javax.jcr.nodetype.ConstraintViolationException,
javax.jcr.RepositoryException
checkIsWritable in class ItemImpljavax.jcr.UnsupportedRepositoryOperationException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryExceptionItemStateValidator
protected boolean isWritable()
throws javax.jcr.RepositoryException
isWritable in class ItemImpljavax.jcr.RepositoryException
javax.jcr.UnsupportedRepositoryOperationExceptionItemImpl.isWritable()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||