org.apache.wvcm
Class BaselineImpl

java.lang.Object
  extended by org.apache.wvcm.ResourceImpl
      extended by org.apache.wvcm.VersionImpl
          extended by org.apache.wvcm.BaselineImpl
All Implemented Interfaces:
Baseline, Resource, Version

public class BaselineImpl
extends VersionImpl
implements Baseline

Implementation of Baseline.

Version:
$Revision: 1.1.1.1.2.3 $

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.Baseline
Baseline.AddedVersion, Baseline.ChangedVersion, Baseline.CompareBaselineReport, Baseline.DeletedVersion
 
Nested classes/interfaces inherited from interface javax.wvcm.Version
Version.Fork
 
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
BaselineImpl(Location location)
          Constructor
 
Method Summary
 java.util.Iterator doCompareBaselineReport(Baseline baseline)
          Return an iterator of AddedVersion, DeletedVersion, and ChangedVersion objects, that enumerate the differences between the versions selected by this Baseline and the baseline argument.
 ControllableFolder getBaselineFolder()
          Return a folder containing a read-only copy of the version-controlled state of the baseline-controlled folder at the time the baseline identified by this Baseline was created.
 java.util.List getSubbaselineList()
          Return a list of Baseline objects that identify the subbaselines of the baseline identified by this Baseline.
 
Methods inherited from class org.apache.wvcm.VersionImpl
doAddLabel, doRemoveLabel, doSetLabel, getActivityList, getCheckinFork, getCheckoutFork, getCheckoutList, getLabelNameList, getPredecessorList, getSuccessorList, getVersionHistory, getVersionName, setActivityList, setCheckinFork, setCheckoutFork
 
Methods inherited from class org.apache.wvcm.ResourceImpl
accessor, addLockToken, commit, doBind, doCopy, doLock, doLock, doReadAccessControlList, doReadContent, doReadProperties, doRebind, doSearch, doUnbind, doUnlock, doUnlock, doWriteAccessControlList, doWriteContent, doWriteProperties, equals, folderAccessor, folderAccessor, getActiveLockTokens, getAttribute, getClientHttpMethod, getComment, getContentCharacterSet, getContentIdentifier, getContentLanguage, getContentLength, getContentType, getCreationDate, getCreationUser, getCreatorDisplayName, getDisplayName, getHttpMethod, getLastModified, getLockTokens, getModificationDate, getModificationUser, getOwner, getParentBindingList, getPrincipalFolderList, getPrivilegeFolderList, getProperty, getPropertyContainer, getPropertyNameList, getProviderList, getResourceIdentifier, getSupportedPrivilegeList, getUpdatedPropertyList, getWorkspaceFolderList, hashCode, listOfRemovedAttributes, listOfSetProperties, loadedProperties, location, removeAttribute, removeLockToken, setAttribute, setComment, setContentCharacterSet, setContentLanguage, setContentType, setCreatorDisplayName, setDisplayName, setHttpMethod, setHttpMethod, setProperty, setPropertyContainer, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.wvcm.Version
getActivityList, getCheckinFork, getCheckoutFork, getCheckoutList, getLabelNameList, getPredecessorList, getSuccessorList, getVersionHistory, getVersionName, setActivityList, setCheckinFork, setCheckoutFork
 
Methods inherited from interface javax.wvcm.Resource
doBind, doCopy, doLock, doLock, doReadAccessControlList, doReadContent, doReadProperties, doRebind, doSearch, doUnbind, doUnlock, doUnlock, doWriteAccessControlList, doWriteContent, doWriteProperties, getAttribute, getComment, getContentCharacterSet, getContentIdentifier, getContentLanguage, getContentLength, getContentType, getCreationDate, getCreationUser, getCreatorDisplayName, getDisplayName, getLastModified, getLockTokens, getModificationDate, getModificationUser, getOwner, getParentBindingList, getPrincipalFolderList, getPrivilegeFolderList, getProperty, getPropertyNameList, getProviderList, getResourceIdentifier, getSupportedPrivilegeList, getUpdatedPropertyList, getWorkspaceFolderList, location, removeAttribute, setAttribute, setComment, setContentCharacterSet, setContentLanguage, setContentType, setCreatorDisplayName, setDisplayName, setProperty
 

Constructor Detail

BaselineImpl

public BaselineImpl(Location location)
Constructor

Method Detail

getSubbaselineList

public java.util.List getSubbaselineList()
                                  throws WvcmException
Return a list of Baseline objects that identify the subbaselines of the baseline identified by this Baseline. created when this Configuration

Specified by:
getSubbaselineList in interface Baseline
Throws:
WvcmException - if this Baseline was not created with PropertyName.SUBBASELINE_LIST as a wanted property.

doCompareBaselineReport

public java.util.Iterator doCompareBaselineReport(Baseline baseline)
                                           throws WvcmException
Return an iterator of AddedVersion, DeletedVersion, and ChangedVersion objects, that enumerate the differences between the versions selected by this Baseline and the baseline argument.

Specified by:
doCompareBaselineReport in interface Baseline
Parameters:
baseline - The baseline being compared to this Baseline.
Throws:
WvcmException - Preconditions:
(baselines-from-same-history): A server MAY require that the baselines being compared be from the same baseline history.

getBaselineFolder

public ControllableFolder getBaselineFolder()
                                     throws WvcmException
Return a folder containing a read-only copy of the version-controlled state of the baseline-controlled folder at the time the baseline identified by this Baseline was created.

Specified by:
getBaselineFolder in interface Baseline
Throws:
WvcmException - if this Baseline was not created with PropertyName.BASELINE_FOLDER as a wanted property.


Copyright (c) 2003 - Apache Software Foundation