com.microsoft.tfs.core.clients.versioncontrol
Interface ILocalVersionUpdate

All Known Subinterfaces:
IPopulatableLocalVersionUpdate
All Known Implementing Classes:
ClientLocalVersionUpdate, InitiallyDeletedLocalVersionUpdate, MoveUncommittedLocalVersionUpdate

public interface ILocalVersionUpdate


Method Summary
 int getItemID()
          Item ID corresponding to SourceServerItem (optional; but your calls to UpdateLocalVersion on a pre-Dev11 server will fail if this is not provided).
 java.lang.String getSourceServerItem()
          Committed server item of the item whose local version row should be updated, or the target server item if the item is uncommitted (VersionLocal == 0)
 java.lang.String getTargetLocalItem()
          The path on the local disk where this item is currently located, or null to remove it from the workspace (delete the local version row).
 int getVersionLocal()
          The version of the item in the workspace.
 boolean isCommitted()
          Shorthand property for VersionLocal != 0
 boolean isSendToServer()
          Indicates whether or not this ILocalVersionUpdate is eligible to be transformed into a LocalVersionUpdate/ServerItemLocalVersionUpdate object for use in a webmethod call to UpdateLocalVersion.
 

Method Detail

isSendToServer

boolean isSendToServer()
Indicates whether or not this ILocalVersionUpdate is eligible to be transformed into a LocalVersionUpdate/ServerItemLocalVersionUpdate object for use in a webmethod call to UpdateLocalVersion. If false, the object is intended to be consumed only by the local workspaces implementation of UpdateLocalVersion.


getSourceServerItem

java.lang.String getSourceServerItem()
Committed server item of the item whose local version row should be updated, or the target server item if the item is uncommitted (VersionLocal == 0)


getItemID

int getItemID()
Item ID corresponding to SourceServerItem (optional; but your calls to UpdateLocalVersion on a pre-Dev11 server will fail if this is not provided).


getTargetLocalItem

java.lang.String getTargetLocalItem()
The path on the local disk where this item is currently located, or null to remove it from the workspace (delete the local version row).


getVersionLocal

int getVersionLocal()
The version of the item in the workspace. If zero, the item is uncommitted (a pending add or branch).


isCommitted

boolean isCommitted()
Shorthand property for VersionLocal != 0



© 2015 Microsoft. All rights reserved.