|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.File.WebCacheWorkSpaceSync
public static final class File.WebCacheWorkSpaceSync
A serializable implementation of WorkspaceSync that can be used to calculate status through the WebCache Interfaces. In this model, the client application (applet?) runs in the context of a browser and connects to a web server or web service via http. The web server in turn holds a shared cache connection to the StarTeam server. This model supports entire file operations (checkin, checkout etc) via a browser.
FileBasedStatusManager,
Serialized Form| Constructor Summary | |
|---|---|
File.WebCacheWorkSpaceSync(File.Revision r,
File.Digest d)
Create a WebCache Workspace Sync from a Revision and a Digest |
|
File.WebCacheWorkSpaceSync(File.WorkspaceSync wss)
Create a WebCacheWorkspaceSync from a workspace sync |
|
File.WebCacheWorkSpaceSync(GUID guid)
create a new, empty WebCacheWorkspaceSync |
|
| Method Summary | |
|---|---|
int |
getContentRevision()
returns the content revision for this file |
DotNotation |
getDotNotation()
returns the dot notation of this file |
File.Digest |
getFileDigest()
returns the digest |
MD5 |
getFileMD5()
returns the md5 of this file |
long |
getFileSize()
returns the size of this file |
DateTime |
getFileTime()
returns the file time of this file |
int |
getObjectID()
returns the object id of this file |
GUID |
getRepositoryID()
returns the repository the file is in |
File.Revision |
getRevisionIdentifier()
returns the revision |
int |
getRevisionNumber()
returns the revision number of this file |
int |
getRootObjectID()
returns the root object id of the file |
void |
setContentRevision(int rev)
set the content revision for this sync |
void |
setDotNotation(DotNotation dot)
set the dot notation for this sync |
void |
setFileMD5(MD5 md5)
sets the MD5 for this sync |
void |
setFileSize(long val)
sets the file size of the sync |
void |
setFileTime(DateTime val)
set the file time for this sync |
void |
setObjectID(int id)
set the object id for this sync |
void |
setRevisionNumber(int id)
set the revision number for this sync |
void |
setRootObjectID(int id)
set the root object id for this sync |
java.lang.String |
toString()
returns a string representation of this sync for debug purposes |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public File.WebCacheWorkSpaceSync(File.Revision r,
File.Digest d)
r - the revisiond - the digestpublic File.WebCacheWorkSpaceSync(GUID guid)
serverID - the server GUIDpublic File.WebCacheWorkSpaceSync(File.WorkspaceSync wss)
wss - the workspace sync| Method Detail |
|---|
public File.Revision getRevisionIdentifier()
getRevisionIdentifier in interface File.WorkspaceSyncpublic File.Digest getFileDigest()
getFileDigest in interface File.WorkspaceSyncpublic GUID getRepositoryID()
getRepositoryID in interface File.Revisionpublic int getRootObjectID()
getRootObjectID in interface File.Revisionpublic void setRootObjectID(int id)
setRootObjectID in interface File.Revisionid - the root object d of ths syncpublic int getObjectID()
getObjectID in interface File.Revisionpublic void setObjectID(int id)
setObjectID in interface File.Revisionid - the object id for this syncpublic int getRevisionNumber()
getRevisionNumber in interface File.RevisionVersionedObject.getRevisionNumber()public void setRevisionNumber(int id)
setRevisionNumber in interface File.Revisionid - the revision number for this syncpublic DotNotation getDotNotation()
getDotNotation in interface File.Revisionpublic void setDotNotation(DotNotation dot)
setDotNotation in interface File.Revisiondot - the dot notation for this syncpublic int getContentRevision()
getContentRevision in interface File.Revisionpublic void setContentRevision(int rev)
setContentRevision in interface File.Revisionrev - the content revision for this syncpublic long getFileSize()
getFileSize in interface File.Digestpublic void setFileSize(long val)
setFileSize in interface File.Digestval - the file size of this syncpublic DateTime getFileTime()
getFileTime in interface File.Digestpublic void setFileTime(DateTime val)
setFileTime in interface File.Digestval - the file time for this syncpublic MD5 getFileMD5()
getFileMD5 in interface File.Digestpublic void setFileMD5(MD5 md5)
setFileMD5 in interface File.Digestmd5 - the md5 for this syncpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||