|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines the internal version.
Method Summary | |
Calendar |
getCreated()
Equivalent to Version.getCreated() |
InternalFrozenNode |
getFrozenNode()
Returns the frozen node of this version or null if this is
the root version. |
QName[] |
getLabels()
returns the labels that are assigned to this version |
QName |
getName()
Returns the name of this version. |
InternalVersion[] |
getPredecessors()
Equivalent to Version.getPredecessors() } |
InternalVersion[] |
getSuccessors()
Equivalent to Version.getSuccessors() } |
InternalVersionHistory |
getVersionHistory()
returns the internal version history in wich this version lifes in. |
boolean |
hasLabel(QName label)
Checks, if this version has the given label assosiated |
boolean |
isMoreRecent(InternalVersion v)
Checks if this version is more recent than the given version v . |
boolean |
isRootVersion()
checks if this is the root version. |
Methods inherited from interface org.apache.jackrabbit.core.version.InternalVersionItem |
getId, getParent |
Method Detail |
public QName getName()
public InternalFrozenNode getFrozenNode()
null
if this is
the root version.
public Calendar getCreated()
Version.getCreated()
Version.getCreated()
public InternalVersion[] getSuccessors()
Version.getSuccessors()
}
Version.getSuccessors()
public InternalVersion[] getPredecessors()
Version.getPredecessors()
}
Version.getPredecessors()
public boolean isMoreRecent(InternalVersion v)
v
.
A version is more recent if and only if it is a successor (or a successor
of a successor, etc., to any degree of separation) of the compared one.
v
- the version to check
true
if the version is more recent;
false
otherwise.public InternalVersionHistory getVersionHistory()
public boolean isRootVersion()
true
if this version is the root version;
false
otherwise.public boolean hasLabel(QName label)
label
- the label to check.
true
if the label is assigned to this version;
false
otherwise.public QName[] getLabels()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |