Package | Description |
---|---|
org.apache.jackrabbit.core.version |
The versioning framework in jackrabbit consists of 3 layers.
|
Modifier and Type | Method and Description |
---|---|
protected InternalVersionHistory |
VersionHistoryImpl.getInternalVersionHistory()
Returns the internal version history.
|
InternalVersionHistory |
InternalFrozenVersionHistory.getVersionHistory()
Returns the version history that was assigned to the node at
the time it was versioned.
|
InternalVersionHistory |
InternalVersion.getVersionHistory()
returns the internal version history in which this version lives in.
|
InternalVersionHistory |
InternalVersionManager.getVersionHistory(NodeId id)
Returns the version history with the given id
|
protected InternalVersionHistory |
VersionManagerImplBase.getVersionHistory(NodeStateEx state)
Returns the internal version history for the underlying node.
|
InternalVersionHistory |
InternalVersionManager.getVersionHistoryOfNode(NodeId id)
Returns the version history for the versionable node with the given id.
|
Modifier and Type | Method and Description |
---|---|
InternalVersion |
InternalActivity.getLatestVersion(InternalVersionHistory history)
Returns the latest version of the given history that is referenced in this activity.
|
void |
InternalVersionManager.removeVersion(Session session,
InternalVersionHistory history,
Name versionName)
Removes the specified version from the given version history.
|
void |
InternalVersionManagerImpl.removeVersion(Session session,
InternalVersionHistory history,
Name name)
Removes the specified version from the given version history.
|
void |
InternalXAVersionManager.removeVersion(Session session,
InternalVersionHistory history,
Name versionName)
Removes the specified version from the given version history.
|
void |
InternalVersionManager.removeVersionHistory(Session session,
InternalVersionHistory history)
Removes the specified version history from storage.
|
void |
InternalVersionManagerImpl.removeVersionHistory(Session session,
InternalVersionHistory history)
Removes the specified version history from storage.
|
void |
InternalXAVersionManager.removeVersionHistory(Session session,
InternalVersionHistory history)
Removes the specified version history from storage.
|
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
|
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 . |
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.