|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wvcm.ResourceImpl
org.apache.wvcm.VersionHistoryImpl
public class VersionHistoryImpl
Implementation of VersionHistory.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.wvcm.ResourceImpl |
---|
ResourceImpl.LoadedProperties, ResourceImpl.XmlPropertyValue |
Nested classes/interfaces inherited from interface javax.wvcm.Folder |
---|
Folder.Binding |
Nested classes/interfaces inherited from interface javax.wvcm.Resource |
---|
Resource.GenericResourceImpl |
Field Summary |
---|
Fields inherited from class org.apache.wvcm.ResourceImpl |
---|
dnsp, MISSING_PROPERTY_VALUE |
Constructor Summary | |
---|---|
VersionHistoryImpl(Location location)
Constructor |
Method Summary | |
---|---|
Version |
doLatestActivityVersionReport(Activity activity,
PropertyNameList wantedPropertyList)
Return latest version in this VersionHistory
that is a product of the specified activity. |
java.util.Iterator |
doReadMemberList(PropertyNameList wantedPropertyList,
boolean deep)
Return an iterator of Resource objects that contain properties of
the resources that are bound members of this Folder . |
java.util.List |
getBindingList()
Return a list of Binding objects that identify the bound members of this Folder . |
Version |
getRootVersion()
Return the root version of this VersionHistory . |
Folder |
getVersionByLabelFolder()
Return the Folder that contains a bound member for each label that selects a version of this VersionHistory, where the label is the binding name of the member, and the labelled version is the bound resource. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VersionHistoryImpl(Location location)
Method Detail |
---|
public Version getRootVersion() throws WvcmException
VersionHistory
.
The root version has no predecessors, and each other versions in this VersionHistory
is a descendant of the root version.
getRootVersion
in interface VersionHistory
WvcmException
- if this VersionHistory
was not created with
PropertyName.ROOT_VERSION
as a wanted property.public Version doLatestActivityVersionReport(Activity activity, PropertyNameList wantedPropertyList) throws WvcmException
VersionHistory
that is a product of the specified activity.
doLatestActivityVersionReport
in interface VersionHistory
activity
- The activity whose latest product is to be returned.wantedPropertyList
- The properties available in the returned proxies.
WvcmException
public java.util.Iterator doReadMemberList(PropertyNameList wantedPropertyList, boolean deep) throws WvcmException
Resource
objects that contain properties of
the resources that are bound members of this Folder
.
If deep
is true
, then
all members of the folder (including this Folder
) are included.
doReadMemberList
in interface Folder
wantedPropertyList
- The list of properties to be retrieved.deep
- Whether to retrieve properties for
all members of this Folder
.
WvcmException
- Postconditions:
public java.util.List getBindingList() throws WvcmException
Folder
.
getBindingList
in interface Folder
WvcmException
- if this Folder
was not created with
PropertyNameList.PropertyName.BINDING_LIST
as a wanted property.public Folder getVersionByLabelFolder() throws WvcmException
getVersionByLabelFolder
in interface VersionHistory
WvcmException
- if this VersionHistory
was not created with
PropertyNameList.PropertyName.VERSION_BY_LABEL_FOLDER
as a wanted property.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |