org.apache.wvcm.store
Interface VersionAccessor

All Superinterfaces:
Accessor, ResourceAccessor
All Known Subinterfaces:
BaselineAccessor, FolderVersionAccessor
All Known Implementing Classes:
BaselineWebdavAccessor, FolderVersionWebdavAccessor, VersionWebdavAccessor

public interface VersionAccessor
extends ResourceAccessor

Persistent version state accessor.

Version:
$Revision: 1.1.1.1.2.3 $

Method Summary
 void doAddLabel(java.lang.String label)
          Add the specified label to this Version.
 void doRemoveLabel(java.lang.String label)
          Removes the specified label from this Version.
 void doSetLabel(java.lang.String label)
          Set the specified label on this Version.
 
Methods inherited from interface org.apache.wvcm.store.ResourceAccessor
doCheckExists, doCopy, doDelete, doLock, doMove, doReadAccessControlList, doReadContent, doReadProperties, doSearch, doUnlock, doWriteAccessControlList, doWriteContent, doWriteProperties, resource
 
Methods inherited from interface org.apache.wvcm.store.Accessor
serverWorkspaceFolderList
 

Method Detail

doSetLabel

void doSetLabel(java.lang.String label)
                throws WvcmException
Set the specified label on this Version. If the label is already on another version in the same version history, the label is removed from that other version.

Parameters:
label - The label to set.
Throws:
WvcmException

doAddLabel

void doAddLabel(java.lang.String label)
                throws WvcmException
Add the specified label to this Version.

Parameters:
label - The label to add.
Throws:
WvcmException

doRemoveLabel

void doRemoveLabel(java.lang.String label)
                   throws WvcmException
Removes the specified label from this Version.

Parameters:
label - The label to remove.
Throws:
WvcmException


Copyright (c) 2003 - Apache Software Foundation