|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.microsoft.tfs.core.clients.versioncontrol.InitiallyDeletedLocalVersionUpdate
public class InitiallyDeletedLocalVersionUpdate
| Constructor Summary | |
|---|---|
InitiallyDeletedLocalVersionUpdate(java.lang.String sourceServerItem,
int itemID,
int versionLocal,
java.util.Calendar versionLocalDate,
int encoding,
java.lang.String pendingChangeTargetServerItem)
|
|
| Method Summary | |
|---|---|
void |
close()
|
void |
generateNewBaselineFileGuid()
|
byte[] |
getBaselineFileGUID()
The baseline file GUID for the baseline for this update |
long |
getBaselineFileLength()
|
byte[] |
getBaselineHashValue()
The MD5 hash value of the baseline for this update |
java.lang.String |
getDownloadURL()
The URL where the baseline for this local version entry can be retrieved |
int |
getEncoding()
|
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 |
getPendingChangeTargetServerItem()
If non-null, EnsureUpdatesFullyPopulated may use QueryPendingChanges as a preferred data source for populating missing baseline information. |
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. |
long |
getVersionLocalDate()
|
boolean |
isCommitted()
Shorthand property for VersionLocal != 0 |
boolean |
isFullyPopulated(boolean requireVersionLocalDate)
Indicates whether this IPopulatableLocalVersionUpdate has all the fields populated that are necessary to call UpdateLocalVersion for a local workspace. |
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. |
void |
setDownloadURL(java.lang.String value)
|
void |
updateFrom(Item item)
Updates the populatable fields of this IPopulatableLocalVersionUpdate from the data in the provided Item object. |
void |
updateFrom(PendingChange pendingChange)
Updates the populatable fields of this IPopulatableLocalVersionUpdate from the data in the provided PendingChange object. |
void |
updateFrom(com.microsoft.tfs.core.clients.versioncontrol.internal.localworkspace.WorkspaceLocalItem lvExisting)
Updates the populatable fields of this IPopulatableLocalVersionUpdate from the data in the provided WorkspaceLocalItem object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InitiallyDeletedLocalVersionUpdate(java.lang.String sourceServerItem,
int itemID,
int versionLocal,
java.util.Calendar versionLocalDate,
int encoding,
java.lang.String pendingChangeTargetServerItem)
| Method Detail |
|---|
public boolean isSendToServer()
ILocalVersionUpdate
isSendToServer in interface ILocalVersionUpdatepublic boolean isCommitted()
ILocalVersionUpdate
isCommitted in interface ILocalVersionUpdatepublic java.lang.String getSourceServerItem()
ILocalVersionUpdate
getSourceServerItem in interface ILocalVersionUpdatepublic int getItemID()
ILocalVersionUpdate
getItemID in interface ILocalVersionUpdatepublic java.lang.String getTargetLocalItem()
ILocalVersionUpdate
getTargetLocalItem in interface ILocalVersionUpdatepublic int getVersionLocal()
ILocalVersionUpdate
getVersionLocal in interface ILocalVersionUpdatepublic int getEncoding()
public long getVersionLocalDate()
public byte[] getBaselineHashValue()
IPopulatableLocalVersionUpdate
getBaselineHashValue in interface IPopulatableLocalVersionUpdatepublic long getBaselineFileLength()
public byte[] getBaselineFileGUID()
IPopulatableLocalVersionUpdate
getBaselineFileGUID in interface IPopulatableLocalVersionUpdatepublic java.lang.String getDownloadURL()
IPopulatableLocalVersionUpdate
getDownloadURL in interface IPopulatableLocalVersionUpdatepublic void setDownloadURL(java.lang.String value)
setDownloadURL in interface IPopulatableLocalVersionUpdatepublic java.lang.String getPendingChangeTargetServerItem()
IPopulatableLocalVersionUpdate
getPendingChangeTargetServerItem in interface IPopulatableLocalVersionUpdatepublic void close()
close in interface com.microsoft.tfs.util.Closablepublic boolean isFullyPopulated(boolean requireVersionLocalDate)
IPopulatableLocalVersionUpdate
isFullyPopulated in interface IPopulatableLocalVersionUpdatepublic void updateFrom(Item item)
IPopulatableLocalVersionUpdate
updateFrom in interface IPopulatableLocalVersionUpdateitem - Data source to update frompublic void updateFrom(com.microsoft.tfs.core.clients.versioncontrol.internal.localworkspace.WorkspaceLocalItem lvExisting)
IPopulatableLocalVersionUpdate
updateFrom in interface IPopulatableLocalVersionUpdatelvExisting - Data source to update frompublic void updateFrom(PendingChange pendingChange)
IPopulatableLocalVersionUpdate
updateFrom in interface IPopulatableLocalVersionUpdatependingChange - Data source to update frompublic void generateNewBaselineFileGuid()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||