Package | Description |
---|---|
org.apache.jackrabbit.core.version |
The versioning framework in jackrabbit consists of 3 layers.
|
Modifier and Type | Interface and Description |
---|---|
interface |
InternalBaseline
This interface defines the internal baseline.
|
Modifier and Type | Method and Description |
---|---|
InternalVersion |
InternalVersionManager.checkin(Session session,
NodeStateEx node,
Calendar created)
invokes the checkin() on the persistent version manager and remaps the
newly created version objects.
|
InternalVersion |
InternalVersionManagerImpl.checkin(Session session,
NodeStateEx node,
Calendar created)
invokes the checkin() on the persistent version manager and remaps the
newly created version objects.
|
InternalVersion |
InternalXAVersionManager.checkin(Session session,
NodeStateEx node,
Calendar created)
invokes the checkin() on the persistent version manager and remaps the
newly created version objects.
|
InternalVersion |
InternalFrozenVersionHistory.getBaseVersion()
Returns the base version that was assigned to the node at
the time it was versioned.
|
protected InternalVersion |
VersionManagerImplBase.getBaseVersion(NodeStateEx state)
Returns the internal base version for the underlying node.
|
InternalVersion |
InternalFrozenVersionHistory.getBaseVesion()
Deprecated.
use
InternalFrozenVersionHistory.getBaseVersion() instead |
InternalVersion |
InternalVersionManager.getHeadVersionOfNode(NodeId id)
Returns the head version of the node with the given id.
|
protected InternalVersion |
VersionImpl.getInternalVersion()
Returns the internal version.
|
InternalVersion |
InternalActivity.getLatestVersion(InternalVersionHistory history)
Returns the latest version of the given history that is referenced in this activity.
|
InternalVersion |
InternalVersion.getLinearPredecessor()
Equivalent to
Version.getLinearPredecessor() |
InternalVersion |
InternalVersion.getLinearSuccessor(InternalVersion baseVersion)
Equivalent to
Version.getLinearSuccessor() . |
InternalVersion[] |
InternalVersion.getPredecessors()
Equivalent to
Version.getPredecessors() } |
InternalVersion |
InternalVersionHistory.getRootVersion()
Equivalent to
VersionHistory.getRootVersion() . |
InternalVersion |
InternalVersionHistory.getVersion(Name versionName)
Equivalent to
VersionHistory.getVersion(java.lang.String) . |
InternalVersion |
InternalVersionHistory.getVersion(NodeId id)
Returns the version with the given uuid or
null if the
respective version does not exist. |
InternalVersion |
InternalVersionManager.getVersion(NodeId id)
Returns the version with the given id
|
protected InternalVersion |
VersionManagerImplBase.getVersion(Version v)
helper class that returns the internal version for a JCR one.
|
InternalVersion |
InternalVersionHistory.getVersionByLabel(Name label)
Equivalent to
VersionHistory.getVersionByLabel(java.lang.String)
but returns null if the version does not exists. |
protected InternalVersion |
InternalXAVersionManager.internalCheckin(org.apache.jackrabbit.core.version.InternalVersionHistoryImpl history,
NodeStateEx node,
boolean simple,
Calendar created)
Checks in a node
|
InternalVersion |
DateVersionSelector.select(InternalVersionHistory versionHistory)
Selects a version of the given version history.
|
InternalVersion |
LabelVersionSelector.select(InternalVersionHistory versionHistory)
Selects a version of the given version history.
|
InternalVersion |
VersionSelector.select(InternalVersionHistory versionHistory)
Selects a version of the given version history.
|
InternalVersion |
VersionSet.select(InternalVersionHistory versionHistory)
Selects a version of the given version history.
|
static InternalVersion |
DateVersionSelector.selectByDate(InternalVersionHistory history,
Calendar date)
Selects a version by date.
|
static InternalVersion |
LabelVersionSelector.selectByLabel(InternalVersionHistory history,
Name label)
Selects a version by label
|
protected InternalVersion |
InternalXAVersionManager.setVersionLabel(org.apache.jackrabbit.core.version.InternalVersionHistoryImpl history,
Name version,
Name label,
boolean move)
Set version label on the specified version.
|
InternalVersion |
InternalVersionManager.setVersionLabel(Session session,
InternalVersionHistory history,
Name version,
Name label,
boolean move)
Sets the version
label to the given version . |
InternalVersion |
InternalVersionManagerImpl.setVersionLabel(Session session,
InternalVersionHistory history,
Name version,
Name label,
boolean move)
Sets the version
label to the given version . |
InternalVersion |
InternalXAVersionManager.setVersionLabel(Session session,
InternalVersionHistory history,
Name version,
Name label,
boolean move)
Sets the version
label to the given version . |
Modifier and Type | Method and Description |
---|---|
List<InternalVersion> |
InternalVersion.getSuccessors()
Equivalent to
Version.getSuccessors() } |
protected Set<InternalVersion> |
VersionManagerImplRestore.internalRestore(NodeStateEx state,
InternalVersion version,
VersionSelector vsel,
boolean removeExisting)
Internal method to restore a version.
|
Map<NodeId,InternalVersion> |
VersionSet.versions()
Returns the (modifiable) changeset of this selector.
|
Modifier and Type | Method and Description |
---|---|
InternalVersion |
InternalVersion.getLinearSuccessor(InternalVersion baseVersion)
Equivalent to
Version.getLinearSuccessor() . |
protected Set<InternalVersion> |
VersionManagerImplRestore.internalRestore(NodeStateEx state,
InternalVersion version,
VersionSelector vsel,
boolean removeExisting)
Internal method to restore a version.
|
boolean |
InternalVersion.isMoreRecent(InternalVersion v)
Checks if this version is more recent than the given version
v . |
protected void |
VersionManagerImplRestore.restore(NodeStateEx state,
InternalVersion v,
boolean removeExisting) |
protected void |
VersionManagerImplRestore.restore(NodeStateEx parent,
Name name,
InternalVersion v,
boolean removeExisting)
Restores the
version below the parent node
using the indicated name |
protected void |
InternalXAVersionManager.versionCreated(InternalVersion version)
Invoked when a new internal item has been created.
|
protected void |
InternalXAVersionManager.versionDestroyed(InternalVersion version)
Invoked when a new internal item has been destroyed.
|
Modifier and Type | Method and Description |
---|---|
protected void |
VersionManagerImplRestore.internalRestoreFrozen(NodeStateEx state,
InternalFrozenNode freeze,
VersionSelector vsel,
Set<InternalVersion> restored,
boolean removeExisting,
boolean copy)
Restores the properties and child nodes from the frozen state.
|
Constructor and Description |
---|
VersionSet(Map<NodeId,InternalVersion> versions)
Creates a
ChangeSetVersionSelector that will try to select a
version within the given set of versions. |
VersionSet(Map<NodeId,InternalVersion> versions,
boolean dateFallback)
Creates a
ChangeSetVersionSelector that will try to select a
version in the given set. |
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.